Select Category 
 

ASP Interview Questions Answers

ASP Interview Question - 1 : -

What are the types of HTML?

ASP Interview Answer - 1 : -

Static HTML Browser uses HTTP to request HTML file from the Web Server
Dynamic HTML Browser uses HTTP to request an executable application rather than a Static HTML file
 

ASP Interview Question - 2 : -

What are the methods in Application Object?

ASP Interview Answer - 2 : -

Lock prevents clients from modifying the variables stored in the Application object.
Unlock removes the lock from variables stored in the Application object.
 

ASP Interview Question - 3 : -

What is Application-scope?

ASP Interview Answer - 3 : -

Application-scope means that variables (and objects) can be accessed from any ASP pages that is part of the application.
 

ASP Interview Question - 4 : -

What is the Order of precedence for LOGICAL Operators ?

ASP Interview Answer - 4 : -

NOT, AND, OR, XOR, EQV, IMP
 

ASP Interview Question - 5 : -

What is Session Object?

ASP Interview Answer - 5 : -

It stores information about a User’s session. Gives a notification when a user session begins or ends.
 

ASP Interview Question - 6 : -

What is the difference between client-side script and server-side script?

ASP Interview Answer - 6 : -

Scripts executed only by the browser without contacting the server is called client-side script. It is browser dependent. The scripting code is visible to the user and hence not secure. Scripts executed by the web server and processed by the server is called server-side script.
 

ASP Interview Question - 7 : -

How can you disable the browser to view the code?

ASP Interview Answer - 7 : -

Writing codes within the Tag
 

ASP Interview Question - 8 : -

What is the command to display characters to the HTML page?

ASP Interview Answer - 8 : -

Response.Write
 

ASP Interview Question - 9 : -

What is Request Object?

ASP Interview Answer - 9 : -

Gets information from the user. It has five collections by which values can be accessed. They are: Query string, Form, Cookies, Server Variables & Client Certificate
 

ASP Interview Question - 10 : -

Which is the default Scripting Language on the client side?

ASP Interview Answer - 10 : -

JavaScript
 

ASP Interview Question - 11 : -

What is the function of Buffer in Response Object?

ASP Interview Answer - 11 : -

Buffer controls the HTML output stream manually.
 

ASP Interview Question - 12 : -

What are the browsers that can access ASP pages?

ASP Interview Answer - 12 : -

Internet Explorer (supports VBScript, JavaScript)
Netscape Communicator/ Navigator (supports only JavaScript, VBScript can be also added too)
 

ASP Interview Question - 13 : -

What are the properties of Session Object?

ASP Interview Answer - 13 : -

SessionID returns the session identification number for each user.
Timeout sets the timeout period assigned to the Session object for any application, in minutes.
CodePage determines the code page that will be used to display content.
LCID a locale identifier, which determines time zone and language, rules for the system
 

ASP Interview Question - 14 : -

What is application Object?

ASP Interview Answer - 14 : -

Shares information among users of an application. Gives a notification when an application starts or ends.
 

ASP Interview Question - 15 : -

What is a class in CSS?

ASP Interview Answer - 15 : -

1. A class allows you to define different style characteristics to the same HTML element.

2. class is a child to the id, id should be used only once, a css class can be used multiple times:
div id=”banner”
p class=”alert”