Sematec Asp .Net Mvc 5 Quiz

10 Questions | Total Attempts: 511

SettingsSettingsSettings
Please wait...
Sematec Asp .Net Mvc 5 Quiz

These 10 questions will test the most important parts of the lesson, and you will get a lower score of 70, you need to study this lesson.


Questions and Answers
  • 1. 
    ASP.NET MVC Display layer is represented by:
    • A. 

      Model

    • B. 

      View

    • C. 

      Controller

    • D. 

      Partial View

  • 2. 
    Assembly that defines ASP.NET MVC framework:
    • A. 

      System.Web.http

    • B. 

      System.Web.mvcframework

    • C. 

      System.Web.mvc

    • D. 

      System.Web.mvc.helpers

  • 3. 
    In order to plug ASP.NET MVC into ASP.NET Web Form application, which assemblies we need to add [Choose three]:
    • A. 

      System.Web.Routing

    • B. 

      System.Web.http

    • C. 

      System.Web.Abstraction

    • D. 

      System.Web.Mvc

  • 4. 
    ViewBag is an object of type:
    • A. 

      Dictionary

    • B. 

      Dynamic Property

    • C. 

      List

    • D. 

      None of above

  • 5. 
    In an MVC application, request received from client hits first:
    • A. 

      Model

    • B. 

      View

    • C. 

      Controller

    • D. 

      Partial View

  • 6. 
    Routing in ASP.NET MVC is basically [Choose One]?
    • A. 

      It rewrites one new URL to another old URL.

    • B. 

      It maps a URL to a resource.

    • C. 

      It maps one URL to another URL.

  • 7. 
    Role of Model in MVC is to hold ?
    • A. 

      Input and UI logic.

    • B. 

      Application business logic.

    • C. 

      No logic at all.

    • D. 

      Holds both UI and application business logic.

  • 8. 
    Action filters are used to ?
    • A. 

      Filter request to controller.

    • B. 

      Filter data from controller to view.

    • C. 

      Apply specific logic before or after action methods.

    • D. 

      Pass data from controller to view.

  • 9. 
    Which of the following statements are true for ASP.NET MVC [Choose two]?
    • A. 

      ASP.NET MVC uses Front Controller approach.

    • B. 

      ASP.NET MVC is stateful.

    • C. 

      Automated testing is simple.

    • D. 

      Has limited control over HTML, JavaScript and CSS.

  • 10. 
    What are the advantages of ASP.NET MVC Partial View [Choose two]?
    • A. 

      Imporves reusability.

    • B. 

      Improves security.

    • C. 

      Easy to maintain.

    • D. 

      Support interoperability