Search Header Logo

Full Stack Quiz -26

Authored by Gnaneshwar Reddy

Other

University

Used 1+ times

Full Stack Quiz -26
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Spring MVC?

a) A programming language for web development.

b) A lightweight Java framework for building web applications.

c) A database management system for web applications.

d) A library for handling server-side rendering.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which annotation is used to create a Spring MVC controller class?

a) @ControllerBean

b) @SpringController

c) @WebController

d) @Controller

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following handles the HTTP request in Spring MVC?

a) DispatcherServlet

b) HandlerInterceptor

c) HttpListener

d) RequestHandler

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the ModelAndView object in Spring MVC?

a) To store and pass data between the controller and the view.

b) To define the layout and styling of the web application.

c) To handle user authentication and authorization.

d) To manage the application's data access layer.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Spring MVC, what is the role of the ViewResolver?

a) Resolving bean dependencies

b) Handling exceptions

c) Resolving views to specific URLs

d) Handling request parameters

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which annotation indicates a method should handle HTTP GET requests?

a) @HttpPost

b) @PostHandler

c) @RequestMapping(method = RequestMethod.POST)

d) @GettMapping

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following components decides which controller method is to be called for a request?

a) DispatcherServlet

b) Controller

c) HandlerMapping

d) ViewResolver

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?