Time remaining
:
:
Test Status
ASPRANDOMTEST
Ques 1 :
You need to store state data that is accessible to any user who connects to your Web application. Which object should you use?
(A) Session
(B) Application
(C) Response.Cookies
(D) Response.ViewState
Ques 2 :
What ASP.NET object encapsulates the state of the client and the browser?
(A) Application Object
(B) Session Object
(C) Response Object
(D) Request Object
Ques 3 :
How do you register a user control?
(A) Add Tag prefix, Tag name
(B) Add Source, Tag prefix
(C) Add Src, Tagprefix, Tagname
Ques 4 :
Which of the following control is used to validate that two fields are equal?
(A) RegularExpressionValidator
(B) CompareValidator
(C) equals() method
(D) RequiredFieldValidator
Ques 5 :
Which one of the following is the fastest way to concat strings in ASP.NET?
(A) Concat method of the String object
(B) Append method of the StringBuilder object
(C) Plus sign operator to concatenate the strings
(D) Substring method of the String object
Ques 6 :
Which one of the following is to be implemented for .NET remote server object?
(A) IUnknown
(B) ISerializable
(C) IMarshalByValue
(D) ISingleCall
Ques 7 :
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 8 :
We can manage states in asp.net application using
(A) Session Objects
(B) Application Objects
(C) Viewstate
(D) All of the above
Ques 9 :
Which of the following tool is used to manage the GAC?
(A) RegSvr.exe
(B) GacUtil.exe
(C) GacSvr32.exe
(D) GacMgr.exe
Ques 10 :
To add a custom control to a Web form we have to register with.
(A) TagPrefix
(B) Name space of the dll that is referenced
(C) Assemblyname
(D) All of the above
Ques 11 :
What happens when a user types in a URL that requests an ASP page?
(A) Browser requests ASP code, server returns code, browser executes code into HTML form
(B) Browser requests ASP code, server executes ASP code and returns HTML document to browser
(C) Browser requests code, server returns code, Windows executes code since ASP is Microsoft code.
Ques 12 :
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 13 :
what is asp ?
(A) a
(B) b
(C) c
(D) d
Ques 14 :
Which of the following base class do all Web Forms inherit from?
(A) Window class
(B) Web class
(C) Page class
(D) Form class
Ques 15 :
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 16 :
Which of the following object is not an ASP component?
(A) LinkCounter
(B) Counter
(C) AdRotator
(D) File Access
Ques 17 :
What does Response.End will do?
(A) It will stop the client process
(B) It will stop the server process
(C) None of the above
Ques 18 :
There are two methods of connecting to an Access database. Which are they?
(A) DNS, DNS-less
(B) DSN, DSN-less
(C) ODBC, ADO
(D) OLEDB, ADO
Ques 19 :
When you have a complex control, like Data Grid, writing an event processing routine for each object (cell, button, row, etc.) is quite tedious. The controls can ___________________ their event handlers, allowing the main Data Grid event handler to take care of its constituents.
(A) invoke event
(B) raise event
(C) bubble event
(D) instantiate event
Ques 20 :
The _____ property affects how the .Net Framework handles dates, currencies, sorting and formatting issues.
(A) CurrentUICulture
(B) CurrentCulture
Submit Answer
Don't Refresh the Page !! ...