| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. In JUnit4, to explicitly specify a Spring-specific test runner for running your test.

Correct Answer is : SpringJUnit4ClassRunner

2. Annotation for SpringJUnit4ClassRunner:-

Correct Answer is : @RunWith

3. This class implements the ApplicationContextAware interface, so you can get access to the managed application context:-

Correct Answer is : AbstractJUnit38SpringContextTests

4. AbstractJUnit38SpringContext class also implements the ApplicationContextAware interface.

Correct Answer is : FALSE

5. Spring JUnit 3 legacy support in releases prior to 2.5, your test class can extend the:-

Correct Answer is : AbstractDependencyInjectionSpringContextTests

6. AbstractDependencyInjectionSpringContextTests supports dependency injection.

Correct Answer is : none of the mentioned

7. Test fixtures injected from the managed application context by annotating:-

Correct Answer is : All of the mentioned

8. TestContext support class AbstractJUnit4SpringContextTests, you can also have test fixtures injected from the managed application context.

Correct Answer is : TRUE

9. Starting from Spring 2.5, the TestContext framework provides a test execution listener related to transaction management:-

Correct Answer is : TransactionalTestExecutionListener

10. Annotation for TransactionalTestExecutionListener:-

Correct Answer is : @Transactional

11. Grails applications are equipped to support internationalization.

Correct Answer is : TRUE

12. Where can you find series of *.properties files.

Correct Answer is : /grails-app/i18n/

13. *.properties files allow Grails applications to display messages.

Correct Answer is : TRUE

14. Which locale (i.e., from an internationalization properties file) to use for a user is based on?

Correct Answer is : all of the mentioned

15. There is no default configuration present in an application resource.groovy file.

Correct Answer is : TRUE

16. If you want to coerce users into using a specific language locale.

Correct Answer is : /grails-app/conf/spring/resource.groovy file

17. JSP Tag which declares statements using the Groovy.

Correct Answer is : g:message

18. Tag can also be used in GSP pages views.

Correct Answer is : g:message

19. Grails uses RDBMS as a permanent storage system.

Correct Answer is : TRUE

20. Grails comes preconfigured to use:-

Correct Answer is : HSQLDB