Time remaining
:
:
Test Status
ASPTEST2
Ques 1 :
What namespace does the Web page belong in the .NET Framework class hierarchy?
(A) System.web.UI.Page
(B) System.Windows.Page
(C) System.Web.page
Ques 2 :
______________is the first method that is fired during the page load.
(A) PreRender()
(B) Load()
(C) Unload()
(D) Init()
Ques 3 :
Which of the following tool is used to manage the GAC?
(A) RegSvr.exe
(B) GacUtil.exe
(C) GacSvr32.exe
(D) GacMgr.exe
Ques 4 :
It is possible to set Maximum length for a text box through code
(A) True
(B) False
Ques 5 :
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 6 :
Which method do you invoke on the Data Adapter control to load your generated dataset?
(A) Fill( )
(B) ExecuteQuery( )
(C) Read( )
Ques 7 :
What class does the ASP.NET Web Form class inherit from by default?
(A) System.Web.UI.Page
(B) System.Web.UI.Form
(C) System.Web.GUI.Page
(D) System.Web.Form
Ques 8 :
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 9 :
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 10 :
How do you register a user control?
(A) Add Tag prefix, Tag name
(B) Add Source, Tag prefix
(C) Add Src, Tagprefix, Tagname
Ques 11 :
We can manage states in asp.net application using
(A) Session Objects
(B) Application Objects
(C) Viewstate
(D) All of the above
Ques 12 :
Select the type Processing model that asp.net simulate
(A) Event-driven
(B) Static
(C) Linear
(D) TopDown
Ques 13 :
When does Garbage collector run?
(A) When application is running low of memory
(B) It runs random
(C) When application is running for more than 15 minutes
(D) None of the above
Ques 14 :
Which of the following is true?
(A) User controls are displayed correctly in the Visual Studio .NET Designer
(B) Custom controls are displayed correctly in VS.Net Designer
(C) User and Custom controls are displayed correctly in the Visual Studio .NET Designer.
Ques 15 :
Web.config file is used___
(A) Configures the time that the server-side codebehind module is called
(B) To store the global information and variable definitions for the application
(C) To configure the web server
(D) To configure the web browser
Ques 16 :
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 17 :
Which of the following object encapsulates the state of the client and the browser?
(A) Server object
(B) Request object
(C) Response object
(D) Session object
Ques 18 :
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 19 :
File extension used for ASP.NET files.
(A) .Web
(B) .ASP
(C) .ASPX
(D) All of the above
Ques 20 :
What is the default session out time
(A) 20 Sec
(B) 20 Min
(C) 1 hr
(D) None of the above
Submit Answer
Don't Refresh the Page !! ...