Ques 1 :
We have defined one page_load event in aspx page and same page_load event in code behind who will run first?
(A) page_laod event in aspx page
(B) page_load event in code-behind
(C) both will run simultaneously
Ques 2 :
Session_End fires in which of these Session State modes?
Ques 3 :
Which connection method requires a connection object?
(C) Both A and B
Ques 4 :
What is the best way to store the connection strings?
(A) Config files
(C) text file
Ques 5 :
If I'm developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users?
(A) Maintain the login state security through a database.
(B) Maintain the login state security through a Session.
(C) Maintain the login state security through a View State.
(D) All of the Above
Ques 6 :
An ASP.NET page uses a Datagrid displays employee information.The Web application supports a large number of concurrent users, who will be saving data from the grid back to the database. It is important that the Web application doesn't overwhelm the Web Server.
(A) Disable View State and don't use session state
(B) Use View State
(C) Use URL munging
(D) Disable ViewState and use Session State
Ques 7 :
What namespace does the Web page belong in the .NET Framework class hierarchy?
Ques 8 :
While developing ASP.NET 2.0 web application you have a Data Set containing a Customer Data Table and an Order Data Table. You want to easily navigate from an Order Data Row to the Customer who placed the order. What object will allow you to easily navigate from the Order to the Customer?
(A) The Data Column object
(B) The Data Table object
(C) The Data Row object
(D) The Data Relation object
Ques 9 :
Which one of the following is used to obtain performance information about a Web Application?
(A) Performance Counters
(B) Data Performance Counters
(C) Web Performance Counters
(D) Data Readers
Ques 10 :
Which of the following is a requirement when merging modified data into a DataSet?
(A) A primary key must be defined on the DataTable objects
(B) The DataSet schemas must match in order to merge
(C) The destination DataSet must be empty prior to merging
(D) A DataSet must be merged into the same DataSet that created it.
Ques 11 :
We can manage states in asp.net application using
(A) Session Objects
(B) Application Objects
(D) All of the above
Ques 12 :
Which object can help you maintain data across users?
(A) Application object
(B) Session object
(C) Response object
(D) Server object
Ques 13 :
You have a long piece of code tracking employee salaries. In your opinion, which of these variables is the best (shortest yet most descriptive) to use throughout the code to track the salaries of the managers? Keep in mind that you may try to analyze your
Ques 14 :
______________ is the DataType return in IsPostback property.
Ques 15 :
________ is the DataType return in IsPostback property.
Ques 16 :
Attribute must be set on a validator control for the validation to work.
Ques 17 :
What is a connection string?
(A) Specifies whether to use a DSN or DSN-less connection
(B) Specifies which type of database is being used
(C) Specifies the type of ODBC driver to use, database format and filename
(D) Opens the initial connection to a database
Ques 18 :
What is/are the predefined TraceListener(s) in ASP.Net
(D) All the above
Ques 19 :
For separating server-side code from client-side code on a ASP.NET page, what programming model should you use?
(A) Separation model
(B) Code-Behind model
(C) In-Line model
(D) ClientServer model
Ques 20 :
______element in the web.config file to run code using the permissions of a specific user?
(A) < credential> element
(B) < authentication> element
(C) < identity> element
(D) < authorization> element
Don't Refresh the Page !! ...