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.

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

  • True
  • False

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

  • cshtml
  • vbhtml
  • Both A & B
  • None
View Answer

3. MVC is composed of three components These are ?

  • Member Vertical Controller
  • Model Variable Centered
  • Model View Controller
  • Member Vertical Controller
View Answer

4. we can use view state in MVC ?

  • yes
  • No
View Answer

5. Does Razor Engine supports for TDD ?

  • Yes
  • No
View Answer

6. ______________namespace is used for ASPX View Engine.

  • System.Web.Razor
  • System.Web.Mvc.WebFormViewEngine
  • Both A & B
  • None of the above
View Answer

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

  • Yes
  • No
  • Both A & B
  • None
View Answer

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

  • cshtml
  • vbhtml
  • None
  • All of the above
View Answer

9. Viewstart comes under which folder name ?

  • Views
  • Account
  • Shared
  • Home
View Answer

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

  • _ViewStart.cshtml
  • _Login.cshtml
  • _Layout.cshtml
  • None
View Answer

11. Is ViewBag slower than ViewData in MVC?

  • yes
  • No
View Answer

12. ViewData is faster than ViewBag in MVC.

  • True
  • False

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

  • System.Web.HttpContext.Current.Session["LoginID"] =7;
  • Current.Session["LoginID"] =7;
  • Session["LoginID"] =7;
  • None
View Answer

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

  • Data-access laye
  • Business-logic layer
  • Presentation layer
  • Interface layer
View Answer

15. What is the advantages of MVC?

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

16. what is the disadvantages of MVC model?

  • The model pattern is little complex
  • Multiple technologies knowledge is required
  • You need multiple programmers for parallel development
  • All of the mentioned above
View Answer

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

  • Ajax libraries
  • Jquery
  • both 1 & 2
  • None of the above
View Answer

18. For razor views the file extensions are ______________ .

  • .cshtml: If C# is the programming language
  • .vbhtml: If VB is the programming language
  • both 1 & 2
  • None
View Answer

19. Howmany types of result in MVC?

  • 11
  • 12
  • 13
  • 10
View Answer

20. ______________Request Processing technique follows ASP.Net?

  • Top-Down
  • Down-Up
  • Pipeline
  • Waterfall
View Answer

Write For Us.

Contribute the Community.