Time remaining
:
:
Test Status
ASPRANDOMTEST
Ques 1 :
You want to add ASP capability to your company's website. What is the first thing you would check?
(A) That all pages are saved in .asp extensions.
(B) Check that the web server has Microsoft FrontPage extensions installed.
(C) Make sure the web server is capable of hosting ASP pages.
(D) Check the coding and be sure the ASP code is surrounded with <% and %>
Ques 2 :
What is the purpose of Reflection?
(A) For Reading metadata at runtime
(B) For knowing version of assembly
(C) For finding path of an assembly
Ques 3 :
Which class can be used to perform data type conversion between .NET data types and XML types?
(A) XmlType
(B) XmlCast
(C) XmlConvert
(D) XmlSettings
Ques 4 :
Which of the following is not the way to maintain state?
(A) View state
(B) Cookies
(C) Hidden fields
(D) Request object
Ques 5 :
Which of the following object is not an ASP component?
(A) LinkCounter
(B) Counter
(C) AdRotator
(D) File Access
Ques 6 :
Whats is the significance of Response.ClearHeaders( )
(A) Clears all Headers from the buffer stream
(B) Clears all the
section value from rendered HTML File
(C) Clears the content of the Rendered page
(D) None of the above
Ques 7 :
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 8 :
Which of these data source controls do not implement Caching?
(A) ObjectDataSource
(B) SqlDataSource
(C) LinqDataSource
(D) XmlDataSource
Ques 9 :
What is the best way to store the connection strings?
(A) Config files
(B) Database
(C) text file
(D) session
Ques 10 :
What is/are the predefined TraceListener(s) in ASP.Net
(A) TextWriterTraceListener
(B) EventLogTraceListener
(C) DefaultTraceListener
(D) All the above
Ques 11 :
Where is the default Session data is stored in ASP.Net?
(A) InProcess
(B) StateServer
(C) Session Object
(D) all of the above
Ques 12 :
Which of the following is not the way to maintain state?
(A) View state
(B) Cookies
(C) Hidden fields
(D) Request object
Ques 13 :
Default scripting language in ASP?
(A) EcmaScript
(B) VBScript
(C) PERL
(D) JavaScript
Ques 14 :
While writing code in Visual Studio 2005 you creates a new instance of a ASP.NET Text Box server control, what do you need to do to get the Text Box to display on the Web page?
(A) Call the Show Control method on the Text Box.
(B) Set the Visible Control to true on the Text Box.
(C) Add the Text Box instance to the form1.Controls collection.
(D) Execute the AddControl method on the Web page.
Ques 15 :
Which method do you invoke on the Data Adapter control to load your generated dataset?
(A) Fill( )
(B) ExecuteQuery( )
(C) Read( )
Ques 16 :
Custom Controls are derived from which of the classes
(A) System.Web.UI.Webcontrol
(B) System.Web.UI.Customcontrol
(C) System.Web.UI.Customcontrols.Webcontrol
Ques 17 :
How to implement authentication via web.config?
(A) Include the authentication element.
(B) Include the authorization element.
(C) Include the identity element.
(D) Include the deny element.
Ques 18 :
Which of the following is not a member of ADODBCommand object?
(A) ExecuteReader
(B) ExecuteScalar
(C) ExecuteStream
(D) Open
Ques 19 :
What is the purpose of code behind ?
(A) To separate different sections of a page in to different files
(B) To merge HTML layout and code in to One file
(C) To separate HTML Layout and code to different file
(D) To ignore HTML usage
Ques 20 :
How do we create a FileSystemObject?
(A) Server.CreateObject("Scripting.FileSystemObject")
(B) Create("FileSystemObject")
(C) Create Object:"Scripting.FileSystemObject"
(D) ans.Server.CreateObject("Scripting.FileSystemObject")
Submit Answer
Don't Refresh the Page !! ...