Spring Aptitude

Spring MCQ Aptitude

Spring MCQ 1

  1. Which of the following is the default scope in Spring? 

    A.

    B.

    C.

    D.

  2. Which of the following are spring modules?

    1. Core module

    2. Web module

    3. Spring jar module

    4. Test module

    5. Spring Lightweight module

    6. Data access module

    A.

    B.

    C.

    D.

  3. The Spring container gets its instructions on what objects to instantiate, configure, and assemble by reading the

    A.

    B.

    C.

    D.

  4. The objects that form the backbone of your application and that are managed by the Spring container are called

    A.

    B.

    C.

    D.

  5. Which of the following statement is correct:

    1. Spring is an open source framework.

    2. Spring is heavyweight.

    3. Spring supports tight coupling.

    4. Spring helps in reducing boiler-plate code.

    A.

    B.

    C.

    D.

  6. Spring Dependency Injection is useful because it makes your code:

    A.

    B.

    C.

    D.

  7. The act of creating associations between different componenet of application is known as:

    A.

    B.

    C.

    D.

  8. Which of the following is correct:

    1. With Dependency Injection, objects are expected to acquire their dependencies on their own.

    2. With Dependency Injection, objects are given their dependency by some third-party that co-ordinates each object in the system.

    A.

    B.

    C.

    D.

  9. This loads bean definitions and wire them together_________

    A.

    B.

    C.

    D.

  10. Which of the following is not part of Spring core module:

    1. Beans

    2. Web

    3. Context

    4. ORM

    5. JDBC

    6. Expression

    A.

    B.

    C.

    D.


Please Share this page
Like every other website we use cookies. By using our site you acknowledge that you have read and understand our Cookie Policy, Privacy Policy, and our Terms of Service. Learn more Got it!