Live Help (Start Chat)
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 11
Is ASP.NET MVC an alternative for ASP.NET Web Forms? 
Options:
  1. Yes
  2. No
View Answer/Explanation:
a
Explanation:
because it is also supports only for webapplications and also supports Test Driven Development.

Question No: 2 of 11
Which of the following cannot be used passing data from Controller to View. 
Options:
  1. ViewBag
  2. ViewData
  3. TempData
  4. Cookies
  5. Sessions
  6. Query String
  7. All the above
View Answer/Explanation:
g
Explanation:
We can store and pass the Data by using viewdata,viewbag,Tempdata,Cookies,Sessions.But in case of Querystring we can pass like parameter.We don't give mention like id or name.If we pass like parameter then it will take directly.

Question No: 3 of 11
In ASP.NET MVC, View is a_____? 
Options:
  1. CSHTML page without having code behind file.
  2. Server side code cannot be written.
  3. Request to view can be directly submitted by client.
  4. One can use inline code to develop dynamic page.
View Answer/Explanation:
a
Explanation:
It conatins logic for rendering Graphical Representation /HTML output.Typically it creates UI with data from Model.

Question No: 4 of 11
Which of the following are advantages of ASP.NET MVC? 
Options:
  1. It makes use of server forms and server controls
  2. it provides clean html and easy Integrated Javascript and jquery
  3. The URL's are restfull and user friendly and enables search in the optimization.
  4. It uses viewstate to manage controle states in roundtrip.
  5. It doesn't support HTTP Sessions
View Answer/Explanation:
b c
Explanation:
Mvc will provide progressive Enhancement Techniques for Javascript and Jquery.we can deal with alot of Javascript and Html.

Question No: 5 of 11
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: 6 of 11
Which of the following are true about Controllers? 
Options:
  1. Controller interaction Model & View
  2. Controller Handles Businness logic
  3. Controller manages HTML input elements
  4. Controller commands to Model to update the state
View Answer/Explanation:
a d
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 11
ASP.NET MVC is used for developing _____? 
Options:
  1. WindowsForms
  2. Console
  3. Web Forms
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: 8 of 11
Which of the following can be responsibilities of Model Object? 
Options:
  1. To manage State of the Application
  2. Validation Logic
  3. Business and Data Access Logic
  4. Provide HTML for Browser
View Answer/Explanation:
a b c
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: 9 of 11
Which of the following is true about Views in ASP.NET Applicatio 
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 along with Source code are included in DLL.
  4. View files can have either VBHTML or CSHTML.
View Answer/Explanation:
a b d
Explanation:

Question No: 10 of 11
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.

  1