Spring/Spring Mcq Set 8 Sample Test,Sample questions

adplus-dvertising

Question:
 .gsp extension stands for:-

1. Groovy Server Pages

2.Groovy Service Pages

3. All of the mentioned

4.None of the mentioned

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


Question:
 A directory containing the core of an application.

1.application.properties

2. ivysettings.xml

3. court.iws

4. grails-app

Posted Date:-2022-01-03 23:33:17


Question:
 An Apache Ant script with a series of predefined tasks designed to create a Grails application.

1.application.properties

2.build.xml

3.manifest.xml

4.court.iml

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


Question:
 An XML file containing configuration parameters for an application’s deployment.

1. application.properties

2. build.xml

3. court.iws

4.court.iml

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


Question:
 Classes used to describe an application’s primary elements.

1.Domain Classes

2.Application

3.Context

4. View

Posted Date:-2022-01-03 23:34:53


Question:
 Grails generates a series of files and directories which includes.

1.Apache Ant file(build.xml)

2.Apache Ivy file(ivy.xml)

3.All of the mentioned

4. none of the mentioned

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


Question:
 Grails is a self-contained framework that comes with various scripts to automate the creation of Java applications.

1.True

2.False

3.none

4.all the mentoined

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


Question:
 Grails uses RDBMS as a permanent storage system.

1. True

2. False

3.none

4.all the mentoined

Posted Date:-2022-01-03 23:53:03


Question:
 Indicates whether to enable SQL logging.

1.driverClassName

2.dataSource properties

3.logSql

4.None of the mentioned

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


Question:
 Method, which is called after the component’s been configured by Spring

1. setupItems

2. setUp

3.setupFakeItems

4.all of the mentioned

Posted Date:-2022-01-03 03:13:42


Question:
 Tag can also be used in GSP pages views.

1. g:message

2. g:string

3.g:msg

4. none of the mentioned

Posted Date:-2022-01-03 23:52:46


Question:
 To use a different channel they’d like to use when communicating with the server.

1.flex:remoting-destination

2.flex:remote

3.flex:destination

4.flex:default-channels

Posted Date:-2022-01-03 03:15:29


Question:
 Used to define an application’s properties.

1.application.properties

2. build.xml

3.manifest.xml

4.court.iml

Posted Date:-2022-01-03 23:30:25


Question:
 Views corresponding to a controller class’s CRUD operations.

1.create.gsp

2.edit.gsp

3. list.gsp

4.all of the mentioned

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


Question:
*.properties files allow Grails applications to display messages.

1.True

2. False

3.none

4.all the mentoined

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


Question:
A variety of constraints can be used to enforce a domain class’s structure.

1.True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-03 23:40:45


Question:
A variety of constraints can be used to enforce a domain class’s structure.

1.True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-03 23:40:45


Question:
An Apache Ivy configuration file used for defining repositories.

1.application.properties

2.ivysettings.xml

3.court.iws

4. court.launch

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


Question:
An XML file containing configuration parameters for an application.

1.application.properties

2.build.xml

3.manifest.xml

4.court.iml

Posted Date:-2022-01-03 23:31:16


Question:
An XML file containing configuration parameters for an application’s launch.

1. application.properties

2.build.xml

3.court.iws

4. court.launch

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


Question:
Command to generate the corresponding CRUD controller and views for an application’s domain class.

1.grails create-domain-class domain class name

2.grails create-domain-class

3.grails generate-all domain class name

4. none of the mentioned

Posted Date:-2022-01-03 23:41:24


Question:
Command to start the Grails application:-

1. grails run

2. grails start-app

3. grails run-app

4.none of the mentioned

Posted Date:-2022-01-03 23:49:34


Question:
Configure Grails to use another RDBMS by modifying:-

1.Data.groovy

2.DataSource.groovy

3. All of the mentioned

4.None of the mentioned

Posted Date:-2022-01-03 23:54:10


Question:
Corresponding unit tests files are also generated for each domain class while creating domain classes.

1. True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-03 23:38:13


Question:
DataSource properties, Class name for the JDBC driver.

1.driverClassName

2.dataSource properties

3.all of the mentioned

4.None of the mentioned

Posted Date:-2022-01-03 23:54:38


Question:
Declaration name which indicates that object’s name field can’t be blank.

1. blank:false

2.blank:true

3.all of the mentioned

4.None of the mentioned

Posted Date:-2022-01-03 23:39:12


Question:
flex:message-service element had an attribute.

1.default-channels

2.default-channel

3.default

4.default-types

Posted Date:-2022-01-03 03:15:03


Question:
Grails applications are equipped to support internationalization.

1.True

2. False

3.none

4.all the mentoined

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


Question:
Grails comes preconfigured to use:-

1.MySql

2. PostgreSQL

3. Access

4.HSQLDB

Posted Date:-2022-01-03 23:53:29


Question:
Grails is capable of inspecting an application’s domain classes and generating the corresponding controllers and views.

1.True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-03 23:41:45


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

1. /grails-app/conf/spring/resource.groovy file

2./grails-app/resource.groovy file

3. /grails-app/spring/resource.groovy file

4.None of the mentioned

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


Question:
In Grails, domain classes are placed under:-

1./grails-app/WEB-INF/

2. /grails-app/domain/

3./grails-app/domain/WEB-APP

4. /grails-app/

Posted Date:-2022-01-03 23:36:11


Question:
In Spring context XML for the message broker, we have.

1.flex

2. flex:message-broker

3.all of the mentioned

4.none of the mentioned

Posted Date:-2022-01-03 03:14:42


Question:
In web applications, domain classes are generally the first things to be defined.

1.True

2.False

3.none

4.all the mentoined

Posted Date:-2022-01-03 23:35:45


Question:
JSP Tag which declares statements using the Groovy.

1. g:message

2.g:string

3.g:msg

4.none of the mentioned

Posted Date:-2022-01-03 23:52:23


Question:
Method which takes parameters required to describe a bid and creates it.

1.bid

2.acceptBid

3.all of the mentioned

4.none of the mentioned

Posted Date:-2022-01-03 03:12:38


Question:
Some of the more popular Grails plugins follow:

1.App Engine

2.Quartz

3.Spring WS

4.All of the mentioned

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


Question:
Static field which defines constraints on the domain class.

1.static{}

2.static field{}

3.static constraint{}

4.static constraints{}

Posted Date:-2022-01-03 23:38:41


Question:
The command domain class name in creation of domain classes generates a file named domain class name.groovy.

1.True

2.False

3.none

4.all the mentoined

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


Question:
The creation of domain classes by executing a simple command which is:-

1. grails create-domain-class

2.grails create-domain-class domain class name

3.domain class name

4. none of the mentioned

Posted Date:-2022-01-03 23:37:08


Question:
To configure the standard Spring bean.

1.context:component-scan

2. context:scan

3.context:component

4. none of the mentioned

Posted Date:-2022-01-03 03:14:17


Question:
To create a Grails application, command:-

1.grails create-app

2. grails create-app grailsappname

3.grails create-app default

4. none of the mentioned

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


Question:
To invoke Grails operations from anywhere on your workstation.

1.GRAILS HOME

2. PATH

3. All of the mentioned

4.None of the mentioned

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


Question:
To keep the code simpler.

1.Hibernate

2. Backing datastore

3.ConcurrentSkipListSet

4. None of the mentioned

Posted Date:-2022-01-03 03:12:12


Question:
To notify other viewers of any new items posted.

1.javax.jms.Topic

2.jms

3.all of the mentioned

4. none of the mentioned

Posted Date:-2022-01-03 03:13:10


Question:
To see Grails numerous commands.

1.grails help

2. grails -help

3. grails -h

4.help grails

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


Question:
Views are placed under which directory:-

1.app/views/

2.app/

3.grails-app/views/WEB-INF

4.grails-app/views/domain class

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


Question:
Where can you find series of *.properties files.

1./grails-app/

2. /grails-app/i18n/

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

4./grails-app/i18n/WEB-APP

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


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

1./grails-app/conf/spring/resource.groovy file

2.user’s browser language preferences

3.all of the mentioned

4.none of the mentioned

Posted Date:-2022-01-03 23:51:31


Question:
Working directories and files are placed under which directory.

1. User’s home directory under the name.grails/grails version/.

2. WEB-APP

3.WEB-INF

4.None of the mentioned

Posted Date:-2022-01-03 23:29:26


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!