

MCQOPTIONS
Saved Bookmarks
This section includes 20 Mcqs, each offering curated multiple-choice questions to sharpen your Spring knowledge and support exam preparation. Choose a topic below to get started.
1. |
Maven Directory which is used to hold the rest of a web application’s structure. |
A. | src/main/java |
B. | src/main/resources |
C. | src/main/webapp |
D. | src/test/java |
Answer» D. src/test/java | |
2. |
Maven Directory which holds classpath resources that aren’t Java class files. |
A. | src/main/java |
B. | src/main/resources |
C. | src/main/webapp |
D. | src/test/java |
Answer» C. src/main/webapp | |
3. |
Maven Directory to hold the non–unit-test Java files for your application. |
A. | src/main/java |
B. | src/main/resources |
C. | src/main/webapp |
D. | src/test/java |
Answer» B. src/main/resources | |
4. |
To run the script:- |
A. | roo.sh script –file ~/Desktop/myapp.roo |
B. | roo.sh –file ~/Desktop/myapp.roo |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» B. roo.sh –file ~/Desktop/myapp.roo | |
5. |
Spring Roo file extension is:- |
A. | .xml |
B. | .xhtml |
C. | .roo |
D. | .groovy |
Answer» D. .groovy | |
6. |
TO_RUN_THE_SCRIPT:-?$ |
A. | roo.sh script –file ~/Desktop/myapp.roo |
B. | roo.sh –file ~/Desktop/myapp.roo |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» B. roo.sh ‚Äö√Ñ√∂‚àö√ë‚àö¬®file ~/Desktop/myapp.roo | |
7. |
Maven Directory which holds classpath resources that aren’t Java class files.$# |
A. | src/main/java |
B. | src/main/resources |
C. | src/main/webapp |
D. | src/test/java |
Answer» C. src/main/webapp | |
8. |
Maven_Directory_to_hold_the_non–unit-test_Java_files_for_your_application.$# |
A. | src/main/java |
B. | src/main/resources |
C. | src/main/webapp |
D. | src/test/java |
Answer» B. src/main/resources | |
9. |
To package the project using the Roo shell. |
A. | perform package |
B. | roo.sh |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
10. |
This directory holds resources needed by your test classes at test time. |
A. | src/test/java |
B. | src/test/resources |
C. | src/main/webapp |
D. | src/test/java |
Answer» C. src/main/webapp | |
11. |
This directory holds artifacts intended to test the Java classes under the src/main/java folder. |
A. | src/test/java |
B. | src/main/resources |
C. | src/main/webapp |
D. | src/test/java |
Answer» B. src/main/resources | |
12. |
Maven_Directory_which_is_used_to_hold_the_rest_of_a_web_application’s_structure.$ |
A. | src/main/java |
B. | src/main/resources |
C. | src/main/webapp |
D. | src/test/java |
Answer» D. src/test/java | |
13. |
Spring Roo file extension is:? |
A. | .xml |
B. | .xhtml |
C. | .roo |
D. | .groovy |
Answer» D. .groovy | |
14. |
You can ask Roo questions using:- |
A. | tab |
B. | hint |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» C. all of the mentioned | |
15. |
Spring Roo supports tab completion. |
A. | True |
B. | False |
Answer» B. False | |
16. |
The Spring Roo shell is a blank slate. It represents the ultimate user interface for Spring Roo to facilitate development. |
A. | True |
B. | False |
Answer» B. False | |
17. |
To confirm Roo version. |
A. | roo.sh |
B. | roo |
C. | roo quit |
D. | roo.sh quit |
Answer» E. | |
18. |
To check version of Maven. |
A. | mvn –v |
B. | mvn -v |
C. | mvn –version |
D. | all of the mentioned |
Answer» D. all of the mentioned | |
19. |
Library which helps Spring Roo in using of the command line shell. |
A. | JTag |
B. | JLine |
C. | JHib |
D. | None of the mentioned |
Answer» C. JHib | |
20. |
The main mission of Spring Roo is fundamentally and sustainably improve Java developer productivity without compromising engineering integrity or flexibility. |
A. | True |
B. | False |
Answer» B. False | |