ASP Programming Interview Questions And Answers
Download ASP Programming Interview Questions and Answers PDF
Strengthen your ASP Programming interview skills with our collection of 194 important questions. Each question is designed to test and expand your ASP Programming expertise. Suitable for all experience levels, these questions will help you prepare thoroughly. Download the free PDF now to get all 194 questions and ensure you're well-prepared for your ASP Programming interview. This resource is perfect for in-depth preparation and boosting your confidence.
194 ASP Programming Questions and Answers:
ASP Programming Job Interview Questions Table of Contents:
1 :: What is ASP?
ASP stands for Active Server Pages. It is a server side technology which is used to display dynamic content on web pages. For example you could write code that would give your visitors different information, different images or even a totally different page depending on what browser version they are using.
Read More3 :: What is a "Virtual Directory"?
Virtual directories are aliases for directory paths on the server. It allows moving files on the disk between different folders, drives or even servers without changing the structure of web pages. It avoids typing an extremely long URL each time to access an ASP page.
Read More4 :: Give the comment Tags for the following?
VBScript : REM & ‘(apostrophe)
JavaScript : // (single line comment)
/* starting multi line comments
(Multi-line comments)
ending multi line comments */
Read MoreJavaScript : // (single line comment)
/* starting multi line comments
(Multi-line comments)
ending multi line comments */
5 :: Which is the default Scripting Language of ASP (server-side)?
default Scripting Language of ASP is VBScript
Read More6 :: Which is the default Data types in VBScript?
Variant is the default data type in VBScript, which can store a value of any type.
Read More7 :: What is a variable in ASP?
Variable is a memory location through which the actual values are stored/retrieved. Its value can be changed.
Read More8 :: What is the maximum size of an array in ASP?
Maximum size of an array in ASP is up to 60 dimensions.
Read More9 :: What is Querystring collection in ASP?
Querystring collection stores any values that are provided in the URL. This can be generated by three methods:
By clicking on an anchor tag
By sending a form to the server by the GET method
Through user-typed HTTP address
Read MoreBy clicking on an anchor tag
By sending a form to the server by the GET method
Through user-typed HTTP address
10 :: What are the attributes of the tags? What are their functions?
The two attributes are ACTION and METHOD
The ACTION gives the name of the ASP file that should be opened next by which this file can access the information given in the form The METHOD determines which of the two ways (POST or GET) the browser can send the information to the server
Read MoreThe ACTION gives the name of the ASP file that should be opened next by which this file can access the information given in the form The METHOD determines which of the two ways (POST or GET) the browser can send the information to the server
11 :: What are the methods in Session Object in ASP?
The Session Object has only one method, which is Abandon. It destroys all the objects stored in a Session Object and releases the server resources they occupied.
Read More12 :: What is ServerVariables collection in ASP?
The ServerVariables collection in ASP holds the entire HTTP headers and also additional items of information about the server.
Read More13 :: What is the difference between Querystring collection and Form collection?
The main difference is that the Querystring collection in ASP gets appended to a URL.
Read More14 :: What is a Form collection in ASP?
The Form collection holds the values of the form elements submitted with the POST method. This is the only way to generate a Form collection.
Read More15 :: What are the ASP Scripting Objects?
The Objects in ASP are Dictionary object, the FileSystemObject object, TextStream object.
Read More16 :: What happens to a HTML page in ASP?
The browser makes a HTTP request; the server gives a HTTP response to the browser and the browser converts into a HTML page.
Read More17 :: What happens to ASP pages?
The browser makes a HTTP request; the server does the processing and gives a HTML response to the browser.
Read More19 :: What is application Object in ASP?
Application Object in ASP shares information among users of an application. Gives a notification when an application starts or ends.
Read More20 :: What is the difference between client-side script and server-side script?
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.
Read More21 :: What is the command to display characters to the HTML page in ASP?
Command to display characters to the HTML page in ASP is:
Response.Write("www.GlobalGuideLine.com")
Read MoreResponse.Write("www.GlobalGuideLine.com")
22 :: Explain the POST & GET Method or Explain the difference between them in ASP?
POST METHOD in ASP:
The POST method generates a FORM collection, which is sent as a HTTP request body. All the values typed in the form will be stored in the FORM collection.
GET METHOD in ASP:
The GET method sends information by appending it to the URL (with a question mark) and stored as A Querystring collection. The Querystring collection is passed to the server as name/value pair.
The length of the URL should be less than 255 characters.
Read MoreThe POST method generates a FORM collection, which is sent as a HTTP request body. All the values typed in the form will be stored in the FORM collection.
GET METHOD in ASP:
The GET method sends information by appending it to the URL (with a question mark) and stored as A Querystring collection. The Querystring collection is passed to the server as name/value pair.
The length of the URL should be less than 255 characters.
23 :: How many global.asa files can an Application have in ASP?
Only one global.asa file and it’s placed in the virtual directory’s root in ASP.
Read More24 :: What are Scripting Objects in ASP?
Scripting Objects that can enhance the application are known as the Scripting Objects.
Read More25 :: What is the Order of precedence for LOGICAL Operators in ASP?
Order of precedence for LOGICAL Operators in ASP are as under:
NOT, AND, OR, XOR, EQV, IMP
Read MoreNOT, AND, OR, XOR, EQV, IMP