Asp. Net Web API Trivia Quiz

10 Questions | Total Attempts: 3342

SettingsSettingsSettings
Asp. Net Web API Trivia Quiz - Quiz

ASP. NET is a framework which makes the building of HTTP based services less stressful. APIs that exposes services and data are built by HTTP. This quiz contains detailed and standard questions to test your knowledge on ASP. NET Web API. Good Luck!


Questions and Answers
  • 1. 
    Web API, an object that handles HTTP requests is known as a
    • A. 

      Model

    • B. 

      Controller

    • C. 

      Properties

    • D. 

      Web server

  • 2. 
    A special instruction on how ASP.NET should process the page is a 
    • A. 

      Format

    • B. 

      Technique

    • C. 

      Directive

    • D. 

      Direction

  • 3. 
    The file extension of an ASP. NET file is
    • A. 

      .aspx

    • B. 

      .cshtml

    • C. 

      .vbhtml

    • D. 

      All of the above

  • 4. 
    ASP.NET applications hosted by a Web Server and are accessed using
    • A. 

      TCP

    • B. 

      UDP

    • C. 

      POP

    • D. 

      HTTP

  • 5. 
    Application state variables are accessed using the 
    • A. 

      Applications collection

    • B. 

      Session collection

    • C. 

      Application_OnStart collection

    • D. 

      Session_OnStart collection

  • 6. 
    The features of MVC pattern include:
    • A. 

      Originally it was named Thing-Model-View-Editor in 1979, and then it was later simplified to Model- View-Controller

    • B. 

      It is a powerful and elegant means of separating concerns within an application (for example, separating data access logic from display logic) and applies itself extremely well to web applications

    • C. 

      Its explicit separation of concerns does add a small amount of extra complexity to an application’s design, but the extraordinary benefits outweigh the extra effort

    • D. 

      All the above

  • 7. 
    Which of these is an attribute that you can apply to a controller action or an entire controller that modifies the way in which the action is executed?
    • A. 

      Action filter

    • B. 

      Result filter

    • C. 

      Exception filter

    • D. 

      Authorization filter

  • 8. 
    A built-in attribute, which indicates that a public method of a Controller is 
    • A. 

      ActionName

    • B. 

      NonAction

    • C. 

      ActionVerbs

    • D. 

      None of above

  • 9. 
    With the latest release of ASP. NET, the following user identities can be managed:
    • A. 

      Cloud

    • B. 

      SQL Database

    • C. 

      Local Windows active directory

    • D. 

      All of the above

  • 10. 
    ASP. NET uses:
    • A. 

      HTML

    • B. 

      CSS

    • C. 

      JAVASCRIPT

    • D. 

      All of the above

Related Topics
Back to Top Back to top