Multiple Choice Questions - Model View Controller basics

Multiple Choice Questions - Model View Controller basics


1. MVC is composed of three components:

A) Member Vertical Controller
B) Model View Control
C) Model View Controller
D) Model Variable Centered

2. In MVC, the model is responsible for managing the data of the application.

A) True
B) False

3. The view is made with . . . . . . .

A) HTML
B) JavaScript
C) CSS
D) All of above

4. The MVC architecture creates the benefits of . . . . . . . of the system.

A) request/response
B) modularity
C) flexibility
D) visualisation
E) reusability

5. Controller directly refers the view or manipulates it.

A) True
B) False

6. MVC framework is defined in . . . . . Assembly.

A) System.CSS.Mvc
B) System.Net.Mvc
C) System.View.Mvc
D) System.Web.Mvc

7. In MVC . . . . . . helps you to execute logic while MVC action is executed or its executing.

A) beforeFilter()
B) afterFilter()
C) ActionFilters
D) ControlFilter()

8. . . . . . helps you to maintain data when you move from controller to view.

A) View Bag
B) View Data
C) Temp Data
D) None of above

9. You can use . . . . . class to send the result back in JSON format in MVC.

A) JSONRESULT
B) JSONBACKRESULT
C) JSONRETURNRESULT
D) JSONRETURN

10. For controller action method . . . . . returns nothing as the result.

A) ResultEmpty
B) EmptyResult
C) ReturnEmpty
D) EmptyReturn

Answers