100% found this document useful (2 votes)
5K views4 pages

MVC MCQ Quiz

This document contains a 20 question multiple choice quiz about MVC (Model-View-Controller). The quiz tests basic knowledge of MVC concepts like the components of MVC, view extensions, ViewStart page location, advantages and disadvantages of MVC, and more. Each question has 4 possible answers to choose from and the correct answer can be viewed by clicking a link after submitting answers.

Uploaded by

Aiman Warraich
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
5K views4 pages

MVC MCQ Quiz

This document contains a 20 question multiple choice quiz about MVC (Model-View-Controller). The quiz tests basic knowledge of MVC concepts like the components of MVC, view extensions, ViewStart page location, advantages and disadvantages of MVC, and more. Each question has 4 possible answers to choose from and the correct answer can be viewed by clicking a link after submitting answers.

Uploaded by

Aiman Warraich
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

By OnlineInterviewQuestions.

com
MVC MCQ Quiz

Take MVC Quiz To test your Knowledge


Below are few MVC MCQ test that checks your basic knowledge of MVC. This MVC Test contains around 20
questions of multiple choice with 4 options. You have to select the right answer to a question. You can see the
correct answer by clicking view answer link.

Q1. Model View Controller is the full form of MVC .

A. True
B. False

Q2. which of the following is the extension of MVC view when using vb.net?

A. cshtml
B. vbhtml
C. Both A & B
D. None

Q3. MVC is composed of three components These are ?

A. Member Vertical Controller


B. Model Variable Centered
C. Model View Controller
D. Member Vertical Controller

Q4. we can use view state in MVC ?

A. yes
B. No

Q5. Does Razor Engine supports for TDD ?


A. Yes
B. No

Q6. ______________namespace is used for ASPX View Engine.

A. System.Web.Razor
B. System.Web.Mvc.WebFormViewEngine
C. Both A & B
D. None of the above

Q7. MVC 6 was introduced new JSON project-based structure?

A. Yes
B. No
C. Both A & B
D. None

Q8. What is the extension of MVC view when using C#?

A. cshtml
B. vbhtml
C. None
D. All of the above

Q9. Viewstart comes under which folder name ?

A. Views
B. Account
C. Shared
D. Home

Q10. ______________is the name of default Viewstart Page in ASP.Net MVC.

A. _ViewStart.cshtml
B. _Login.cshtml
C. _Layout.cshtml
D. None
Q11. Is ViewBag slower than ViewData in MVC?

A. yes
B. No

Q12. ViewData is faster than ViewBag in MVC.

A. True
B. False

Q13. Which of following is the best approach to assign a session in MVC?

A. System.Web.HttpContext.Current.Session["LoginID"] =7;
B. Current.Session["LoginID"] =7;
C. Session["LoginID"] =7;
D. None

Q14. In model-view-controller (MVC) architecture, model defines the _____________.

A. Data-access laye
B. Business-logic layer
C. Presentation layer
D. Interface layer

Q15. What is the advantages of MVC?

A. MVC segregates your project into a different segment, and it becomes easy for developers to work on
B. It is easy to edit or change some part of your project that makes project less development and
maintenance cost
C. MVC makes your project more systematic
D. All of the mentioned

Q16. what is the disadvantages of MVC model?

A. The model pattern is little complex


B. Multiple technologies knowledge is required
C. You need multiple programmers for parallel development
D. All of the mentioned above

Q17. In MVC, Ajax can be implemented in _____________ ways

A. Ajax libraries
B. Jquery
C. both 1 & 2
D. None of the above

Q18. For razor views the file extensions are ______________ .

A. .cshtml: If C# is the programming language


B. .vbhtml: If VB is the programming language
C. both 1 & 2
D. None

Q19. Howmany types of result in MVC?

A. 11
B. 12
C. 13
D. 10

Q20. ______________Request Processing technique follows ASP.Net?

A. Top-Down
B. Down-Up
C. Pipeline
D. Waterfall

Please Visit OnlineInterviewquestions.com to download more pdfs

You might also like