HOTSPOT - (Topic 2)
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Solution:
Does this meet the goal?
Correct Answer:
A
- (Topic 2)
In the life cycle of an ASP. NET Web page, which phase follows the SaveStateComplete phase?
Correct Answer:
B
The SaveStateComplete event is raised after the view state and control state of the page and controls on the page are saved to the persistence medium.
This is the last event raised before the page is rendered to the requesting browser.
- (Topic 1)
You execute the following code.
What will the variable result be?
Correct Answer:
C
- (Topic 1)
You have a website that includes a form for usemame and password.
You need to ensure that users enter their username and password. The validation must work in all browsers.
Where should you put the validation control?
Correct Answer:
A
From version 2.0 on, ASP.NET recognized the JavaScript capabilities of these browsers, so client-side validation is now available to all modern browsers, including Opera, Firefox, and others. Support is even better now in ASP.NET 4.0. That said, it??s important not to forget that JavaScript can be disabled in any browser, so client-side validation cannot be relied upon??we must always validate any submitted data on the server.
- (Topic 1)
A table named Student has columns named ID, Name, and Age. An index has been created on the ID column. What advantage does this index provide?
Correct Answer:
B
Faster to access an index table.