Time remaining
:
:
Test Status
ASPRANDOMTEST
Ques 1 :
What is the maximum number of cookies that can be allowed to a web site?
(A) 1
(B) 10
(C) 20
(D) More than 30
Ques 2 :
It is possible to set Maximum length for a text box through code
(A) True
(B) False
Ques 3 :
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 4 :
Select the control which does not have any visible interface.
(A) Datalist
(B) DropdownList
(C) Repeater
(D) Datagrid
Ques 5 :
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 6 :
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 7 :
MapPath is an ASP ________ object method.
(A) session
(B) request
(C) server
(D) response
Ques 8 :
If I'm developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users?
(A) Maintain the login state security through a database.
(B) Maintain the login state security through a Session.
(C) Maintain the login state security through a View State.
(D) All of the Above
Ques 9 :
How do you get information from a form that is submitted using the "post" method?
(A) Request.QueryString
(B) Request.Form
(C) Response.write
(D) Response.writeln
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 :
Mode of storing ASP.NET session?
(A) InProc
(B) StateServer
(C) SQL Server
(D) All of the above
Ques 12 :
Where do we include the user lists for Form authentication?
(A) < credential>
(B) < authorization>
(C) < Identity>
(D) < authentication>
Ques 13 :
__________________ method(s) are used with Application object to ensure only one process accesses a variable at a time.
(A) Synchronize
(B) ThreadLock
(C) Sychronize()
(D) Lock() and UnLock()
Ques 14 :
It is imperative when writing ASP code is to begin every file with which statement?
(A) <% Language=VBScript %>
(B) <%@ Language=VBScript %>
(C) <% ASPLanguage = VBScript %>
Ques 15 :
Which of the following object is not an ASP component?
(A) LinkCounter
(B) Counter
(C) AdRotator
(D) File Access
Ques 16 :
What is the best way to store the connection strings?
(A) Config files
(B) Database
(C) text file
(D) session
Ques 17 :
How to find out what version of ASP.NET I am using on my machine?
(A) Response.Write(System.Environment.Version.ToString() );
(B) Response.Write(Version.ToString() );
(C) Response.Write(System.Version.ToString() );
(D) not possible
Ques 18 :
Which DLL translate XML to SQL in IIS?
(A) SQLISAPI.dll
(B) SQLXML.dll
(C) LISXML.dll
(D) SQLIIS.dll
Ques 19 :
Which of the following method must be overridden in a custom control?
(A) The Paint() method
(B) The Control_Build() method
(C) The default constructor
(D) The Render() method
Ques 20 :
Database connectivity with ADO has 3 main objects:
(A) ADODB.Connection
(B) ADODB.Recordset
(C) ADODB.Command
(D) All of the above
Submit Answer
Don't Refresh the Page !! ...