Tinfo 431 Chapter 1-6 Quiz

55 Questions | Attempts: 36
Share
Please wait...
Question 1 / 55
0 %
0/100
Score 0/100
1. To override the behavior described above, if you wanted to return the View, /Views/Home/NotIndex.cshtml youwould code:
Submit
Please wait...
About This Quiz
Computer Quizzes & Trivia

55 questions 55 minutes.

Personalize your quiz and earn a certificate with your name on it!
2. Models are implemented in:
Submit
3. The EF uses a special table to help keep updated on changes between the code-first models and the database schema. In current MVC 5 this is:
Submit
4. The default project generated by Visual Studio gives you 2 Controllers by default:
Submit
5. The generated Visual Studio default web site gives you the functionality of all the following pages:
Submit
6. Multiple Validation Annotations can be applied to a C# property by simply listing them above the property one on top of the next. For example:
Submit
7. The default behavior of the HomeController is to take requests for index, about, or contact pages and return a:
Submit
8. The MVC framework can use a Controller to put text in the browser as a response to a request, without using either a Model or a View.
Submit
9. Many helpers, such as the TextArea Helper output values that are HTML encoded. This is to help mitigate what kind of attacks?
Submit
10. MVC Views are part of a templating system which can dynamically replace tags in front end html code withvalues from the application.
Submit
11. If you type: '@Html.' and after typing the dot, the IntelliSense popup window shows a method name with a small down arrow to the left of the name, it means that the method is what kind?
Submit
12. HTML helpers address all of the following web site code challenges except:
Submit
13. An MVC View will render its data to the user:
Submit
14. Strongly typed Views have all of the following benefits except:
Submit
15. The validation support in MVC includes which of the following (select all that apply):
Submit
16. Not as robust as strongly typed View(s), but often used to pass smaller amounts of data from the Controller to a View to be rendered.
Submit
17. In the following code fragment from a View cshtml file, the "@" symbol is:
Submit
18. The entire internet world of online commerce would crumble tomorrow if the form tag went away (according to one author of the book) because without it you would not be able to search for anything or execute a transaction on a server.
Submit
19. Which MVC component represents a set of classes that describe the business logic of the application?
Submit
20. Models in an MVC application are the objects you want to (choose all that apply):
Submit
21. Many MVC validation annotations include an option for a custom error message to be displayed.
Submit
22. If the built-in validation annotations do not fit your scenario, you can custom code your own validations. To do this you would extend the class:
Submit
23. Self-validating models can be created by implementing which interface?
Submit
24. This line of code is an example of using Routes.GetVirtualPath(), which will pull in all the routes you application has registered. These are located in which file?
Submit
25. Which MVC component represents a set of classes that describe the business logic of the application?
Submit
26. So far in this course, we have focused on the scaffolding for which:
Submit
27. MVC Views have Helpers for more than just the HTML property. There are Helpers for which of the following View properties?
Submit
28. The HttpUtility.HtmlEncode utility method (select all that apply):
Submit
29. From the standpoint of ASP.NET MVC, validation is all of the following except:
Submit
30. MVC framework gives you access to the following helpers except:
Submit
31. Validation in the MVC design pattern context deals mostly with validating against:
Submit
32. Model classes are typical C# data object classes with (select all that apply):
Submit
33. In a strongly typed view, setting a model type for a view, you can use which C# using statement in place of thefully qualified type name @ model IEnumerable<MvcMusicStore.Models.Album>?
Submit
34. When you create a View from the dialog, you can choose from some scaffold templates. MVC has which of the following?
Submit
35. Which MVC component group receives the request from the application's user and deals with event handling?
Submit
36. The de facto standard wizard setting selections for creating an ASP.NET MVC web application include all the following except:
Submit
37. The default Views in an MVC project will supply you with 3 subdirectories of cshtml files, named:
Submit
38. What advantages are there to Model binding? (select all that apply)
Submit
39. When a controller action has the code "return View();" this is taking advantage of an implicit convention in the MVC framework that:
Submit
40. Scaffolding can do all of the following (select all that applies):
Submit
41. Why is it important for MVC programmers to cover the HTML Form tag in such depth (select all that apply):
Submit
42. The Entity Framework supports the following approaches (select all that apply):
Submit
43. Make the best matches between the kind of method request with the following descriptions:
Submit
44. Describe the following Razor syntax fragments:
Submit
45. Outline the basic differences between GET and POST by matching the following
Submit
46. Outline the basic differences between GET and POST by matching the following (cont.)
Submit
47. Match more of the example validation annotations with their intended uses:
Submit
48. Match up the EF loading strategies below:
Submit
49. You can use Database initializers in to keep your database in sync in the following ways:
Submit
50. Match up the standard MVC directory structure with the logical contents:
Submit
51. Match the following matches based on sad path and happy path:
Submit
52. Put the following events in order from the standpoint of an MVC Controller:
Submit
53. An HTML form is the basic container for input elements to create a GET request. Match up the following terms and descriptions:
Submit
54. For passing information from the Controller to the View, it is critical to understand the following relationships:
Submit
55. Some of the common attributes that cover most common validation scenarios are:
Submit
View My Results

Quiz Review Timeline (Updated): Mar 22, 2022 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2022
    Quiz Edited by
    ProProfs Editorial Team
  • Jan 21, 2017
    Quiz Created by
    Dsurge13
Cancel
  • All
    All (55)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
To override the behavior described above, if you wanted to return the...
Models are implemented in:
The EF uses a special table to help keep updated on changes between...
The default project generated by Visual Studio gives you 2 Controllers...
The generated Visual Studio default web site gives you the...
Multiple Validation Annotations can be applied to a C# property by...
The default behavior of the HomeController is to take requests for...
The MVC framework can use a Controller to put text in the browser as a...
Many helpers, such as the TextArea Helper output values that are HTML...
MVC Views are part of a templating system which can dynamically...
If you type: '@Html.' and after typing the dot, the...
HTML helpers address all of the following web site code challenges...
An MVC View will render its data to the user:
Strongly typed Views have all of the following benefits except:
The validation support in MVC includes which of the following (select...
Not as robust as strongly typed View(s), but often used to pass...
In the following code fragment from a View cshtml file, the...
The entire internet world of online commerce would crumble tomorrow if...
Which MVC component represents a set of classes that describe the...
Models in an MVC application are the objects you want to (choose all...
Many MVC validation annotations include an option for a custom error...
If the built-in validation annotations do not fit your scenario, you...
Self-validating models can be created by implementing which interface?
This line of code is an example of using Routes.GetVirtualPath(),...
Which MVC component represents a set of classes that describe the...
So far in this course, we have focused on the scaffolding for which:
MVC Views have Helpers for more than just the HTML property. There are...
The HttpUtility.HtmlEncode utility method (select all that apply):
From the standpoint of ASP.NET MVC, validation is all of the following...
MVC framework gives you access to the following helpers except:
Validation in the MVC design pattern context deals mostly with...
Model classes are typical C# data object classes with (select all that...
In a strongly typed view, setting a model type for a view, you can use...
When you create a View from the dialog, you can choose from some...
Which MVC component group receives the request from the...
The de facto standard wizard setting selections for creating an...
The default Views in an MVC project will supply you with 3...
What advantages are there to Model binding? (select all that apply)
When a controller action has the code "return View();" this...
Scaffolding can do all of the following (select all that applies):
Why is it important for MVC programmers to cover the HTML Form tag in...
The Entity Framework supports the following approaches (select all...
Make the best matches between the kind of method request with the...
Describe the following Razor syntax fragments:
Outline the basic differences between GET and POST by matching the...
Outline the basic differences between GET and POST by matching the...
Match more of the example validation annotations with their intended...
Match up the EF loading strategies below:
You can use Database initializers in to keep your database in sync in...
Match up the standard MVC directory structure with the logical...
Match the following matches based on sad path and happy path:
Put the following events in order from the standpoint of an MVC...
An HTML form is the basic container for input elements to create a GET...
For passing information from the Controller to the View, it is...
Some of the common attributes that cover most common validation...
Alert!

Advertisement