Time remaining
:
:
Test Status
ASPRANDOMTEST
Ques 1 :
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 2 :
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 3 :
Which of the following is not the way to maintain state?
(A) View state
(B) Cookies
(C) Hidden fields
(D) Request object
Ques 4 :
Which of these files takes the web application in offline mode?
(A) app_offline.html
(B) app_offline.htm
(C) appoffline.html
(D) none of these
Ques 5 :
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 6 :
Which of the following is not a member of ADODBCommand object?
(A) ExecuteReader
(B) ExecuteScalar
(C) ExecuteStream
(D) Open
Ques 7 :
Why is Global.asax is used?
(A) Declare Global variables
(B) Implement application and session level events
(C) No use
Ques 8 :
ASP code is....
(A) a client-side executable code.
(B) a world-wide-web executable code.
(C) a server-side executable code.
(D) all of the above.
Ques 9 :
Which of these is OKAY to use for a variable name?
(A) employee salary
(B) 2nd_employee
(C) employee_hire_date
(D) date_of.birth
Ques 10 :
______________is the first method that is fired during the page load.
(A) PreRender()
(B) Load()
(C) Unload()
(D) Init()
Ques 11 :
Mode of storing ASP.NET session?
(A) InProc
(B) StateServer
(C) SQL Server
(D) All of the above
Ques 12 :
Which one of the following namespaces contains the definition for IdbConnection?
(A) System.Data.Interfaces
(B) System.Data.Common
(C) System.Data
(D) System.Data.Connection
Ques 13 :
Which Kind Of data we can store in viewstate
(A) Viewstate can store anything
(B) Viewstate can store onlys string
(C) Viewstate can store only serilizable object
(D) None
Ques 14 :
Which object can help you maintain data across users?
(A) Application object
(B) Session object
(C) Response object
(D) Server object
Ques 15 :
Session Object classes are defined in which of the following namespace?
(A) System.Web.UI
(B) System.Web.SessionState
(C) System.Web
Ques 16 :
Which of the following control is used to validate that two fields are equal?
(A) RegularExpressionValidator
(B) CompareValidator
(C) equals() method
(D) RequiredFieldValidator
Ques 17 :
< asp : listitem > tag replaces which of the following HTML tags
(A) < List >
(B) < UL >
(C) < Option >
Ques 18 :
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 19 :
Attribute must be set on a validator control for the validation to work.
(A) ControlToValidate
(B) ControlToBind
(C) ValidateControl
(D) Validate
Ques 20 :
Does the Enable View State allows the page to save the users input on a form?
(A) Yes
(B) No
Submit Answer
Don't Refresh the Page !! ...