Advanced Web Development Final Exam Review
What makes XML well-formed?
-Beginning and ending root tags -Closed tags throughout -Attributes enclosed in quotes
What does the model do in MVC?
-Controls how to store data -Controls how to process data
What is a hybrid development approach?
It combines Programmatic and Template-based coding methods.
What does the controller do in MVC?
It handles user interactions
What does the File() function do?
It returns a file whose path is specified as an argument
What makes a URI a URL?
It tell where the source is and how to get to it.
In C#, are simple types value or reference types?
Value
In C#, are struct types value or reference types?
Value
How do you test if a variable has value in C#?
a.hasValue
How to declare a nullable type in C#
int? a;
Explain the URL pattern: arbitrary/{parameters}
-arbitrary is the name of an action being called -{parameters} allows for 0 or more parameters
What tag allows for embedded video or movie in HTML5?
<video></video>
What does RedirectToAction() do?
Calls another actionmethod
What does the view do in MVC?
Deals with data presentation
T/F Each URL must map to a file in MVC4
False
In C#, are array types value or reference types?
Reference
In C#, are class types value or reference types?
Reference
Why use an MVC framework?
Saves time and money by reducing the amount of code in need of development.
What are single quotes used for in C#?
Single characters
What are double quotes used for in C#?
String of characters
What does extensible refer to in XML?
The capability of creating as many tags of your own.
What happens when the submit button on a form is clicked?
The client's machine sends a request to the server, which in turns retrieves the desired data from request and sends it back to the client.
What is the difference between XML and HTML?
XML: Deals with data transportion HTML: Data presentation
What does a 2D array look like in C#?
int[,] a
What does an array of arrays look like in C#?
int[][] a;
How is a route mapping formatted?
routes.MapRoute( name: "", url: "", defaults: new{controller = "", action = "", <parameters here>} );