View Count: 0
Duration: 42 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Sorry!For this module there is no Sample Code.
Sorry!For this module there is no Assignments.
Question No: 1 of 9
ASP.NET MVC is used for developing__________? 
Options:
  1. Windows based application
  2. Console based application
  3. Web based application
  4. Mobile based application
View Answer/Explanation:
c
Explanation:
By using ASP.NET MVC we can develop only only web applicatons so it is used for develop only webforms.

Question No: 2 of 9
Can we use ASP.NET MVC for developing windows applications? 
Options:
  1. Yes
  2. No
View Answer/Explanation:
b
Explanation:
Because it is purely for developing web applications.

Question No: 3 of 9
Can we gradually upgrade an existing ASP.NET WebForm Application to  MVC Application. 
Options:
  1. Yes
  2. No
View Answer/Explanation:
a
Explanation:
Both ASP.NET MVC and ASP.NET WebForm are used for development of Web Application. Both of them use the common ASP.NET Framework.

Question No: 4 of 9
Which of the following can be responsibilities of Model Object? 
Options:
  1. To manage State of the Application
  2. Validation Logic
  3. Business Logic
  4. Data Access Logic
View Answer/Explanation:
a b c d
Explanation:
It manages data basically state of application in memory. There is no fixed size or shape of model objects since what we intent to hold in memory in one application may not be the same as that in other application. It includes all of an application’s validation logic, business logic and data access logic.

Question No: 5 of 9
Which of the following is true about Views in ASP.NET Application? 
Options:
  1. It is used to generate HTML o/p of an application
  2. In View we can write C# code.
  3. When project is compiled Views are included in DLL.
  4. View files can have either VBHTML or CSHTML
View Answer/Explanation:
a b d
Explanation:
It contains logic for rendering Graphical Representation / HTML output. Typically it creates UI with data from Model.

Question No: 6 of 9
Which of the following are true about Controllers? 
Options:
  1. Controller passed Model to View
  2. Controller Handles logic required for creating and validating model
  3. Controller manages HTML input elements.
  4. Controller is used for creating of HTML elements.
View Answer/Explanation:
a b
Explanation:
It contains control flow logic.It is the one which interacts with both models and views to control the flow of application execution.

Question No: 7 of 9
Can a Controller choose a view from available list of views? 
Options:
  1. Yes
  2. No
View Answer/Explanation:
a
Explanation:
It contains control flow logic.It is the one which interacts with both models and views to control the flow of application execution.

Question No: 8 of 9
Which of the following is a valid statement? 
Options:
  1. View object refers to the model and controller objects.
  2. Controller has a reference to model and view.
  3. Model refers the controller and view.
  4. All 3 objects are independent and do not have reference of each other.
View Answer/Explanation:
b
Explanation:
Views get reference to Model from Controller Model is instantiated by Controller and thus Controller has reference to Model but Model doesn't have reference to Controller.

Question No: 9 of 9
Which of the following are advantages of MVC? 
Options:
  1. It makes use of server forms and server controls
  2. It provides clean html and its to integrated Javascript and jQuery code
  3. The URL's are restfull and user friendly and enables search engine optimization
  4. It uses ViewState to manage controls states in roundtrip.
  5. It doesn't support HTTP Sessions
View Answer/Explanation:
b c
Explanation:
Unlike ASP.NET WebForms, MVC doesn't have any server controls for forms. It instead uses HTMLHelper class for achieving the same. As it doesn't have any controls, it doesn't depend on the HiddenField ViewState unlike WebForms.

  1