Time remaining
:
:
Test Status
ASPTEST8
Ques 1 :
Which of the following base class do all Web Forms inherit from?
(A) Window class
(B) Web class
(C) Form class
(D) Page class
Ques 2 :
Which of the following represents the best use of the Table, TableRow, and Table-Cell controls?
(A) To create and populate a Table in Design view
(B) To create a customized control that needs to display data in a tabular fashion
(C) To create and populate a Table with images
(D) To display a tabular result set
Ques 3 :
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 4 :
_____is a property common in every validation control.
(A) ValidationExpression
(B) InitialValue
(C) ControlToValidate
(D) ControlToCompare
Ques 5 :
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 6 :
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 7 :
Which one of the following is used to obtain performance information about a Web Application?
(A) Performance Counters
(B) Data Performance Counters
(C) Web Performance Counters
(D) Data Readers
Ques 8 :
An ASP.NET page uses a Datagrid displays employee information.The Web application supports a large number of concurrent users, who will be saving data from the grid back to the database. It is important that the Web application doesn't overwhelm the Web Server.
(A) Disable View State and don't use session state
(B) Use View State
(C) Use URL munging
(D) Disable ViewState and use Session State
Ques 9 :
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 10 :
______is the first method that is fired during the page load.
(A) PreRender()
(B) Load()
(C) Unload()
(D) Init()
Ques 11 :
While creating a Web site with the help of Visual Studio 2005 on a remote computer that does not have Front Page Server Extensions installed, which Web site type will you create in Visual Studio 2005?
(A) HTTP
(B) File
(C) FTP
(D) All of the above
Ques 12 :
Which programming language is most commonly used to script ASP code?
(A) ASP
(B) JavaScript
(C) VBScript
(D) Perl
Ques 13 :
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 14 :
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 15 :
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 16 :
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 17 :
Where we can assign value to Static read only member variable of a static class?
(A) Default constructor
(B) Parameterized constructor
(C) Global.asax
(D) On click of button
Ques 18 :
If the default pages in HTML are index.htm, default.html, etc, what are the default pages in ASP?
(A) index.asp
(B) default.asp
(C) home.asp
(D) Both A and B
Ques 19 :
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 20 :
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
Submit Answer
Don't Refresh the Page !! ...