You are developing an online bookstore application in Visual C# .NET. Your
application needs to store the most recent book viewed by the user and show the recently
viewed books details in the lower part of the Web pages whenever the user accesses the
Web site. You do not want to use server-side resources to store the book ISBN. Which of
the following state-management techniques will help you accomplish this?
A -
Hidden fields
B -
View state
C -
Cookies
D -
Sessions
2-
You can use a compare validator to perform all but one of the following
validations. Which one is it?
A -
Compare the value of a control with an expression that refers to the value of another control.
B -
Compare the value of a control with the value of another control
C -
Compare the value of a control with a constant value
D -
Check for a specific data type
3-
You have developed a timeheet entry application that will be used by all
employees in your company. You have used ASP.NET to develop this application and
have deployed it on the companys Web server. What should all the employees of the
company install on therir computers before accessing the timesheet entry application.
A -
Visual Studio .NET
B -
.NET Framework SDK
C -
.NET Famework Redistributable
D -
A Web browser
4-
You have created a Web page that users will use register with the Web site.
Inside the event handler for the Load event of the Page, you want to access the data
entered by the users on the Web page. Which of the following properties of the Page
class can give you access to this data?
A -
ClientTarget
B -
Response
C -
Request
D -
Trace
5-
You need to dynamically change the master page of a content page. In which
page event should you implement the dynamic changing? (Choose the best answer.)
A -
Page_PreRender
B -
Page_Render
C -
Page_Load
D -
Page_PreInit
6-
Your ASP.NET Web form displays ordering information for 50 products in
DataGrid and other controls. Your company is unable to accept Web orders, so there are
no controls on the page to post the data back to the server.
What can you do to optimize the delivery of this page?
A -
Set the EnableViewState attribure to false for the Page directive.
B -
Set the EnableViewState attribure to true for the DataGrid control.
C -
Set the EnableViewState attribure to false for the Page directive.
D -
Set the EnableViewState attribure to false for the DataGrid control.
7-
After capturing the SelectedIndexChanged event for a ListBox control, you find
that the event handler doesnt execute.
A -
The ListBox must be defined WithEvents
B -
The AutoEventWireuo attribute is set to False
C -
The AutomaicPostBack attribute is set to False
D -
The codebehind module is not property compiled
8-
Which of the following is true?
A -
IsPostBack is a readonly property of System.Web.UI.Page.PostBack class
B -
IsPostBack is a readonly property of System.Web.UI.Page class
C -
IsPostBack is a method of System.UI.Web.Page class
D -
IsPostBack is a method of System.Web.UI.Page class
9-
Where is the default Session data is stored in ASP.Net?
A -
InProcess
B -
StateServer
C -
Seesion Object
D -
All of the others
10-
The features that Visual Studio provides for working with tables include
A -
adding rows, columns, and cells to an existing table