55 questions 55 minutes.
Home page
Contact page
Account login
Account logout
Site map page
Unhandled error page
About page
Account registration
Response object
Redirect URL
View
Model
True. Controllers can do this on their own.
False. Behind the scenes, a Model and a View are being invoked. Controllers don't do anything by themselves.
True. Views are fed data from the interaction with the Model and the Controller.
False. Views are a traditional user interface component.
Simply by pointing a browser at the View's address.
When instructed to do so by a Controller, and (usually) after getting data to display from a Model.
Allow you to set a Model class type for a View
IntelliSense help from Visual Studio
Allows ViewBag to efficiently deal with large quantities of data
Compiler is checking the syntax of your code
GridBag
ViewBag
ViewData
MVC
Telling the user that what follows is an email domain name.
Telling the Razor view engine that what follows is code, not HTML text.
Telling the browser that what follows is a return to normal HTML
Telling the browser to interpret what follows as JavaScript.
Return View("/Home/NotIndex.cshtml");
Return View("NotIndex");
Return "/Home/NotIndex.cshtml";
Return new View("NotIndex");
Cshtml files (as partial classes)
JavaScript files (as JavaScript classes)
C# (.cs) files (as C# classes)
XAML files
EdmMetaData table
__MigrationHistory
EntityFramework
Model-Controller sync tool
Methods you can invoke on the Html property in a View
Make sure that URLs point to the correct locations
Inject data values into your HTML using the Razor tags
HTML form elements have the correct names and values for model binding
SQL injection
Phishing
Cross-site scripting
Buffer overflow
DHCP starvation attack
Regular instance method
Expansion method
One of the HtmlHelper built-in extension methods
Public override method
Client side validation
Server side validation
Handling of user interface issues associated with display of error messages
Providing some mechanism for users to recover from validation failures
Database normalization
True
False
Model
View
Controller
CLR
Provide the correct URL link from a friendly search string
Prevents users from injecting JavaScript code or HTML markup into the view for malicious reasons.
Can only be used with a GET, not a POST
Works only on HTML, not on the JavaScript, there is a separate scrubber for JS.
Model
View
Controller
CLR
Display (send to a view)
Save
Create
Update
Delete
Perform business calculations
MVC 5 Controller with read/write Actions
MVC 5 Controller with Views, Using Entity Framework
Web API 2 API Controller Scaffolders
MVC 5 Controller - Empty
URL helpers (via the Url property)
Ajax helpers (via the Ajax property)
URL helper from within the controller
JSon helper from the data store
True
False
Startup.cs
Global.asax
Bootstrap.css
RouteConfig.cs
HTML
JavaScript
Ajax
URL
C# auto-implemented property
Client validation on a web site that can give a user instant feedback on the information they enter into a form
A feature that is more or less expected in today's web applications
Server validation logic is in place because your application should never trust information arriving from the network.
Validation of what is already in the database
Models
Views
Controller logic
All of the above
True
False
AttributeValidate
ValidateAttribute
ValidationAttribute
PleaseCheckMyValue
IModelValidation
IValidateObject
IValidatableObject
ICheckEmForErrors
Public properties
Get operations
Set operations
Instance variable storage
Auto-implemented properties
Utility methods such as print, ToString, etc.
Model
View
Controller
CLR
A separate project for unit testing.
Individual user accounts for authentication.
Hosting the application in a Windows Azure cloud account.
Integration of Web Forms and Web API code along with MVC.
File
Account
About
Home
Contact
Shared
Doesn't have to specify the View's folder because each action method has a folder and is called through the MVC routing mechanism.
Doesn't have to specify the View's filename because each controller folder contains a view file named for each action method.
It is returning View because these simple examples are handling everything within the controller, there is no View.
It is returning a new View object that is empty.
@using MvcMusicStore.Models.Album
@using MvcMusicStore.Models.*;
@using MvcMusicStore.Models
@using IEnumerable
Create
Delete
Search
Details
Edit
Empty (with or without a Model)
List
Makes it easier to pull all fields from a model based on various different data types of the properties in the model
Can search through the query string, route data, or the form collection to find values that need binding.
Can automatically detect a security concern of an over-posting attack by not binding an unexpected value
Examine the Model definition and generate a Controller
Generate the generated Controller's associated Views
Generate boilerplate for CRUD operations in the app
Generate the business rule logic that your application addresses, such as selling flowers, etc.
Without the Form tag, the internet would be a read-only repos of documentation (Web 1.0)
MVC uses the form tag to create an HTTP GET request.
Using the form tag keeps web developers in sync with the intended utilization of GET and POST.
ASP.NET supports the form tag in the use of Web Forms, but developers coming from that background will have additional support mechanisms to learn for MVC.
MVC uses the form tag to create an HTTP POST request.
Database-first
Model-first
View-first
Code-first
Controller-first
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.
Do You Know About Silicon Cowboys?
Welcome to the Silicon Cowboys Quiz! Do you consider yourself a tech enthusiast fascinated by the early days of the computer industry? This quiz will put your knowledge to the...
Questions:
10 |
Attempts:
202 |
Last updated:
Nov 16, 2023
|
FTP - File Transfer Protocol Quiz
Do you know about standard communication protocols? What is FTP (File Transfer Protocol), and how it works? The quiz below will check your knowledge of FTP and make you learn more...
Questions:
10 |
Attempts:
461 |
Last updated:
Dec 14, 2022
|
Do You Have A Brain Of A Programmer?
Do you want to be able to program? With the help of this quiz, find out now the answer to the question "Do I have the brain of a programmer?" The questions are...
Questions:
10 |
Attempts:
1061 |
Last updated:
Nov 16, 2023
|
Computer Processor And Motherboard Quiz
A motherboard is the main printed circuit board in general-purpose computers and other expandable systems. A central processing unit, also called a central processor, main...
Questions:
12 |
Attempts:
399 |
Last updated:
Mar 22, 2023
|
Grade 5 Computer Quiz: Mastering Basic Computer Concepts
Test your tech knowledge with our computer quiz for grade 5! This engaging quiz is designed specifically for young learners, making it an exciting way to learn about computers....
Questions:
40 |
Attempts:
12130 |
Last updated:
Jun 12, 2025
|
System Engineer ATSI Quiz
This quiz tests knowledge in network engineering, focusing on VoIP, IP management, and network devices essential for system engineers.
Questions:
45 |
Attempts:
331 |
Last updated:
Apr 06, 2023
|
|
Wait!
Here's an interesting quiz for you.