Time remaining
:
:
Test Status
ASPRANDOMTEST
Ques 1 :
When is the user controls code is executed
(A) After the webform loads
(B) After the page_init event of webform
(C) Before Page_init event of web form
Ques 2 :
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 3 :
You have determined that your company's website is housed on a web server that cannot handle ASP. What would you do?
(A) Contact the ISP and have them switch the website to have ASP capability.
(B) Have your ISP install the Microsoft FrontPage extensions
(C) Develop a transition plan first that includes a step-by-step plan on every detail prior to contacting the ISP.
(D) All the above
Ques 4 :
What is the sequential procedure in working with databases?
(A) Connection string, connection object, close connection string, close connection object
(B) Connection object, connection string, close connection string, close connection object
(C) Connection object, connection string, close connection object, close connection string
Ques 5 :
What is/are the predefined TraceListener(s) in ASP.Net
(A) TextWriterTraceListener
(B) EventLogTraceListener
(C) DefaultTraceListener
(D) All the above
Ques 6 :
It is possible to set Maximum length for a text box through code
(A) True
(B) False
Ques 7 :
How do you manage states in asp.net application
(A) Session Objects
(B) application Objects
(C) Viewstate
(D) All of the above
Ques 8 :
There can be more than 1 machine.config file in a system
(A) True
(B) False
Ques 9 :
Which of the following represents the best use of the Table, TableRow, and Table-Cell controls?
(A) To create and populate a Table in Design view
(B) To create a customized control that needs to display data in a tabular fashion
(C) To create and populate a Table with images
(D) To display a tabular result set
Ques 10 :
ActiveX Data Objects (ADO) comes installed with ASP and allows your pages to easily connect to databases. Which two ADO objects are used to open a connection and interact with the database?
(A) Connection object, RecordingSet object
(B) Connection object, Recordset object
(C) Connect object, RecordingSet object
(D) Connect object, Recordset object
Ques 11 :
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
(A) manager_salaries
(B) SalariesOfManagers
(C) Salaries_Of_Managers
(D) mgmtSalary
Ques 12 :
How do we Delete, Update, Select data in a Dataset
(A) Using SQLDataAdapter
(B) Using SQLDataReader
(C) Using SQLCommand
(D) None
Ques 13 :
By default, code written with the Debug class is stripped out of release builds.
(A) Yes
(B) No
Ques 14 :
How do you register a user control?
(A) Add Tag prefix, Tag name
(B) Add Source, Tag prefix
(C) Add Src, Tagprefix, Tagname
Ques 15 :
By default, a .Net web site is configured with which of the following authentication types?
(A) Anonymous
(B) Basic
(C) Integrated Windows authentication
(D) a and c
Ques 16 :
__________________ is the Microsoft IIS server running, handling ASP.NET requests among other things
(A) aspnet_isapi.dll
(B) aspnet_wp.exe
(C) inetinfo.exe
(D) None
Ques 17 :
Choose the form in which Postback occur?
(A) HTMLForms
(B) Webforms
(C) Winforms
Ques 18 :
What namespace does the Web page belong in the .NET Framework class hierarchy?
(A) System.Web.Control
(B) System.Web.RootBuilder
(C) System.Web.UserControl
(D) System.Web.UI.Page
Ques 19 :
To perform asynchronous data access, what must be added to the connection string?
(A) BeginExecute=true
(B) MultiThreaded=true
(C) MultipleActiveResultSets=true
(D) Asynchronous=true
Ques 20 :
If the default pages in HTML are index.htm, default.html, etc, what are the default pages in ASP?
(A) index.asp
(B) default.asp
(C) home.asp
(D) Both A and B
Submit Answer
Don't Refresh the Page !! ...