Spring/Spring Mcq Set 9 Sample Test,Sample questions

adplus-dvertising

Question:
 A location where logging information is sent.

1.appender

2.logger

3.all of the mentioned

4. none of the mentioned

Posted Date:-2022-01-03 23:59:55


Question:
 An appender that logs to a JDBC connection.

1.jdbc

2. console

3. file

4.rollingFile

Posted Date:-2022-01-04 00:01:02


Question:
 Library which helps Spring Roo in using of the command line shell.

1. JTag

2.JLine

3.JHib

4.None of the mentioned

Posted Date:-2022-01-04 00:11:08


Question:
 Log4J configuration parameters are specified inside:-

1.Config.groovy

2.Conf.groovy

3.Log.groovy

4.None of the mentioned

Posted Date:-2022-01-03 23:56:50


Question:
 Spring Roo supports tab completion.

1.True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-04 00:12:28


Question:
 To confirm Roo version.

1. roo.sh

2.roo

3.roo quit

4. roo.sh quit

Posted Date:-2022-01-04 00:11:54


Question:
A database and some sort of persistence mechanism using command:-

1.persistence setup –database HYPERSONIC_IN_MEMORY –provider HIBERNATE

2. persistence setup –database HYPERSONIC_IN_MEMORY –provider

3. persistence setup –database HYPERSONIC_IN_MEMORY

4.persistence –database HYPERSONIC_IN_MEMORY –provider HIBERNATE

Posted Date:-2022-01-04 00:17:42


Question:
A Grails view can contain:-

1.HTML Tags

2.GSP or JSTL Tags

3.Groovy or Java code

4.All of the mentioned

Posted Date:-2022-01-04 00:03:03


Question:
A location where logging information is generated.

1.appender

2. logger

3.all of the mentioned

4. none of the mentioned

Posted Date:-2022-01-04 00:00:23


Question:
A view can require a unique combination of display elements and business logic.

1.True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-04 00:03:24


Question:
A view’s body content is inside the:-

1.g:javascript library=”application”

2.g:layoutHead

3.g:layoutBody

4.g:layoutMeta

Posted Date:-2022-01-04 00:08:25


Question:
Any logging operation occurring at any of the cited packages will be logged.

1.True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-03 23:57:42


Question:
By default, all logging message are sent to the stacktrace.groovy file.

1.True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-03 23:58:44


Question:
By default, Grails applies a global layout to display an application’s content.

1.True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-04 00:05:41


Question:
By default, Grails assigns custom tags to:-

1. g: namespace

2. f: namespace

3. j: namespace

4.All of the mentioned

Posted Date:-2022-01-04 00:05:19


Question:
Command for running tests in Grails.

1.grails test-app

2.grails test

3.grails test-app domain class

4. none of the mentioned

Posted Date:-2022-01-04 00:01:29


Question:
Custom tags can also rely on input parameters.

1. True

2. False

3.none

4.all the mentoined

Posted Date:-2022-01-04 00:04:52


Question:
GORM dynamic finder comparators:-

1.InList

2.LessThan

3.LessThanEquals

4.All of the mentioned

Posted Date:-2022-01-04 00:08:49


Question:
Grails application logging can be configured using:-

1.creating custom appenders

2.logging levels

3.console output

4.All of the mentioned

Posted Date:-2022-01-03 23:57:22


Question:
grails create-tag-lib tag-lib-name command creates a custom tag library under:-

1. /grails-app/tag/

2./grails-app/

3. /grails-app/tag-lib/

4.none of the mentioned

Posted Date:-2022-01-04 00:04:18


Question:
Grails doesn’t supports the concept of templates.

1.True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-04 00:06:02


Question:
In Log4J parlance, each package is known as:-

1.parlance

2.logger

3.all of the mentioned

4.None of the mentioned

Posted Date:-2022-01-03 23:58:07


Question:
In order for this custom tag to function properly in JSP, it’s necessary to add it to the corresponding Tag Library Definition (TLD) grails.tld.

1. True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-04 00:04:35


Question:
Log4J also has the following logging level:-

1.fatal

2.error

3. warning

4. all of the mentioned

Posted Date:-2022-01-03 23:58:28


Question:
Maven Directory to hold the non–unit-test Java files for your application.

1.src/main/java

2.src/main/resources

3.src/main/webapp

4.src/test/java

Posted Date:-2022-01-04 00:14:01


Question:
Maven Directory which holds classpath resources that aren’t Java class files.

1.src/main/java

2.src/main/resources

3.src/main/webapp

4.src/test/java

Posted Date:-2022-01-04 00:14:23


Question:
Maven Directory which is used to hold the rest of a web application’s structure.

1.src/main/java

2. src/main/resources

3. src/main/webapp

4.src/test/java

Posted Date:-2022-01-04 00:14:46


Question:
Method creates a mock object from a domain class.

1.mockForConstraintsTests

2.mockForConstraints

3.all of the mentioned

4.None of the mentioned

Posted Date:-2022-01-04 00:02:29


Question:
persistence setup –database HYPERSONIC_IN_MEMORY –provider HIBERNATE command creates files:-

1.src/main/resources/META-INF/persistence.xml

2.src/main/resources/META-INF/spring/database.properties

3.all of the mentioned

4.None of the mentioned

Posted Date:-2022-01-04 00:18:10


Question:
Spring Roo file extension is:-

1. .xml

2..xhtml

3. .roo

4..groovy

Posted Date:-2022-01-04 00:13:12


Question:
Spring Roo provides very powerful support to bootstrap most solutions.

1.True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-04 00:17:19


Question:
Tag allows any view inheriting this layout automatic access to JavaScript libraries.

1.g:javascript library=”application”

2.g:javascript library=”application”

3. g:layoutBody

4.g:layoutMeta

Posted Date:-2022-01-04 00:07:57


Question:
Tag is used to define the contents of a layout’s head section.

1.g:layoutTitle

2.g:layoutHead

3.g:layoutBody

4.g:layoutMeta

Posted Date:-2022-01-04 00:07:33


Question:
Tag is used to define the contents of a layout’s title section.

1.g:layoutTitle

2. g:layoutHead

3.g:layoutBody

4.g:layoutMeta

Posted Date:-2022-01-04 00:07:10


Question:
The default Log4J logger can be customized in a Grails application.

1. True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-04 00:00:41


Question:
The file which contains useful configuration for Hypersonic in-memory database.

1.src/main/resources/META-INF/spring/database.properties

2.src/main/resources/META-INF/persistence.xml

3. src/main/resources/META-INF/pom.xml

4.None of the mentioned

Posted Date:-2022-01-04 00:18:40


Question:
The main mission of Spring Roo is fundamentally and sustainably improve Java developer productivity without compromising engineering integrity or flexibility.

1.True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-04 00:09:58


Question:
The plugin, which provides Maven support to Eclipse

1.m2eclipse

2.m2plugin

3.plugin

4.None of the mentioned

Posted Date:-2022-01-04 00:16:59


Question:
The Spring Roo shell is a blank slate. It represents the ultimate user interface for Spring Roo to facilitate development.

1. True

2. False

3.none

4.all the mentoined

Posted Date:-2022-01-04 00:12:11


Question:
This directory holds artifacts intended to test the Java classes under the src/main/java folder.

1.src/test/java

2.src/main/resources

3.src/main/webapp

4.src/test/java

Posted Date:-2022-01-04 00:15:11


Question:
This directory holds resources needed by your test classes at test time.

1.src/test/java

2.src/test/resources

3. src/main/webapp

4.src/test/java

Posted Date:-2022-01-04 00:15:31


Question:
To check version of Maven.

1.mvn –v

2.mvn -v

3.mvn –version

4.All of the mentioned

Posted Date:-2022-01-04 00:11:31


Question:
To create custom tags.

1. grails create tag

2.grails create-tag-lib tag-lib-name

3. all of the mentioned

4.None of the mentioned

Posted Date:-2022-01-04 00:03:51


Question:
To offer versatile logging functionality:-

1.loggers

2.appenders

3.all of the mentioned

4. none of the mentioned

Posted Date:-2022-01-03 23:59:32


Question:
To package the project using the Roo shell.

1. perform package

2.roo.sh

3.all of the mentioned

4.none of the mentioned

Posted Date:-2022-01-04 00:15:58


Question:
To perform its logging operations.

1. Log4J

2.LogingJ

3.JLog

4.None of the mentioned

Posted Date:-2022-01-03 23:56:27


Question:
To run the script:-

1.roo.sh script –file ~/Desktop/myapp.roo

2.roo.sh –file ~/Desktop/myapp.roo

3.all of the mentioned

4.None of the mentioned

Posted Date:-2022-01-04 00:13:35


Question:
Unit tests are designed to validate the logic contained in a single domain class.

1.True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-04 00:01:54


Question:
Where is subdirectory called layouts located, containing the layouts available to an application?

1./grails-app/view/

2. /grails-app/

3. /grails-app/view/WEB-INF

4.None of the mentioned

Posted Date:-2022-01-04 00:06:42


Question:
You can ask Roo questions using:-

1.tab

2.hint

3.all of the mentioned

4.none of the mentioned

Posted Date:-2022-01-04 00:12:49


More MCQS

  1. Spring Mcq Set 1
  2. Spring Mcq Set 2
  3. Spring Mcq Set 3
  4. Spring Mcq Set 4
  5. Spring Mcq Set 5
  6. Spring Mcq Set 6
  7. Spring Mcq Set 7
  8. Spring Mcq Set 8
  9. Spring Mcq Set 9
  10. Spring Mcq Set 10
  11. Spring Mcq Set 11
  12. Spring Mcq Set 12
  13. Spring Mcq Set 13
  14. Spring Mcq Set 14
  15. Spring Mcq Set 15
  16. Spring Mcq Set 16
  17. Spring Mcq Set 17
  18. Spring Mcq Set 18
  19. Spring Mcq Set 19
  20. Spring Mcq Questions
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!