Sail E0 Webinar

MCQs

Total Questions : 25 | Page 2 of 3 pages
Question 11. In which format data can be return from XML into table?
  1.    DataSet
  2.    Datatable
  3.    A and B
  4.    None
 Discuss Question
Answer: Option A. -> DataSet




Question 12. MVC is composed of three components:
  1.    Member Vertical Controller
  2.    Model View Control
  3.    Model View Controller
  4.    Model Variable Centered
 Discuss Question
Answer: Option C. -> Model View Controller




Question 13. What is the extension of MVC view when using vb.net?
  1.    cshtml
  2.    vbhtml
  3.    None
  4.    Both A & B
 Discuss Question
Answer: Option B. -> vbhtml




Question 14. How to check all errors of Model using ASP.Net MVC?
  1.    var errors = Model.Values.SelectMany(v => v.Errors)
  2.    var errors = ModelState.SelectMany(v => v.Errors)
  3.    var errors = ModelState.Values.SelectMany(v => v.Errors)
  4.    None
 Discuss Question
Answer: Option C. -> var errors = ModelState.Values.SelectMany(v => v.Errors)




Question 15. Which of the following methods are used to render partial view?
  1.    Html.Partial()
  2.    Html.RenderPartial()
  3.    Html.RenderAction()
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above




Question 16. Which filter will be execute at last using ASP.Net MVC?
  1.    Action filters
  2.    Authorization filters
  3.    Exception filters
  4.    Response filters
 Discuss Question
Answer: Option C. -> Exception filters




Question 17. RedirectToAction() Method for which Status code represents?
  1.    304
  2.    302
  3.    301
  4.    300
 Discuss Question
Answer: Option B. -> 302




Question 18. What are the various types of filters in an ASP.NET MVC application?
  1.    Authorization filters
  2.    Action filters
  3.    Result filters
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Question 19. Which of the following is TRUE?
  1.    Action method can be static method in a controller class
  2.    Action method can be private method in a controller class
  3.    Action method can be protected method in a controller class
  4.    Action method must be public method in a controller class
 Discuss Question
Answer: Option D. -> Action method must be public method in a controller class




Question 20. Which of the following view file types are supported in MVC?
  1.    .cshtml
  2.    .vbhtml
  3.    .aspx
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above




Latest Videos

Latest Test Papers