- World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.

Get it now !!
Send your Resume to 6000 Companies
ASP Interview Questions & Answers - Learning Mode

ASP Interview Questions & Answers - Learning Mode

Active Server Pages (ASP) is Microsoft's first server-side script engine for dynamically-generated web pages. It was initially marketed as an add-on to Internet Information Services (IIS) via the Windows NT 4.0 Option Pack, but has been included as a standard feature since then.

Try ASP Interview Questions & Answers - Exam Mode

1 2 3 4 5 6 7 8 9 10 11 12 Next

Sort By : Latest First | Oldest First | By Rating

ASP Interview Questions & Answers - Learning Mode
Try ASP Interview Questions & Answers - Exam Mode
Question: How can you disable the browser to view the code?

Answer: Writing codes within the <! -- //-- > Tag. Source:
Question: Explain the POST & GET Method or Explain the difference between them?

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.
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. Source:
Question: What is the maximum size of an array?

Answer: Depends on your pc's memory size
Question: What is a "Virtual Directory"?

Answer: 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. Source:
Question: How are sessions maintained?

Answer: A. The browser sends a cookie to the server with each request. (Answer)
B. The browser sends a Querystring variable to the server with each request.
C. The browser sends a hidden Form variable to the server with each request.
D. The browser sends a long variable to the server in the BODY of each request.
E. None of the above. Source:
Question: What is the difference between client-side script and server-side script?

Answer: 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. Source:
Question: <%
Set Application("Thing") =
The above code appears in the global.asa file. What would it accomplish?

Answer: A. It would create a "Thing" object and place it in Contents Collection of the Application object.
B. It would create a "Thing" object and place it in StaticObjects Collection of the Application object.
C. It would create a "Thing" object and place it in the Application.Buffer Collection Of the Application object.
D. It would create an application-level variable named "Thing" with the value of the object property "THINGDOER.thingy". (Answer)
E. It would fail to create a "Thing" objec Source:
Question: When does the application OnEnd event handler fire?

Answer: A. After every request for an application document, since web servers are stateless servers.
B. As soon as there are no open connections to any application document.
C. When the web server is stopped in an orderly fashion. (Answer)
D. Twenty minutes after the last request for a document in the application.
E. When there are no application requests for the amount of time defined by the SessionTimeout variable. Source:
Question: What is a class in CSS?

Answer: A class allows you to define different style characteristics to the same HTML element.
Question: What is Server-Side includes?

Answer: It provides extra information by which it makes the site easier to manage. It can include text files using the #include statement, retrieve the size and last modification date of a file, defines how variables and error messages are displayed and inserts the values of HTTP variables in the page sent back to the browser. Source:
Question: What should the developer use in order to have an Active Server Page (ASP) invokes a stored procedure on a SQL Server database?

Answer: A. ADO
E. None of the above. Source:
Question: How to include Active x controls in ASP code

Answer: you can include Activex Control using OBJECT tag.

Syntax for including Activex control is ..

<OBJECT id="id1" clsid ="give class id here" codebase="path spec for activex ocx"></OBJECT>
Question: How do you get the value of a combo box in Javascript?

Answer: document.forms[?formName?].elements[?comboName?].options[i].value
Question: What are the advantages of using ASP?

Answer: ? Minimizes network traffic by limiting the need for the browser and server to talk to each other
? Makes for quicker loading time since HTML pages are only downloaded
? Allows to run programs in languages that are not supported by the browser
? Can provide the client with data that does not reside on the client?s machine
? Provides improved security measures since the script cannot be viewed by the browser Source:
Question: How can you have different number of cells for each row of a table in HTML?

Answer: using colspan and rowspan Source:
Question: <%
intA = 3
sStrA = "Hello World"
sStrB = "Hello World" + intA
Response.Write sStrB

What would be the result of the above code?

Answer: A. Type mismatch error (Answer)
B. "Hello World, Hello World, Hello World"
C. 0
D. "Hello World 3"
E. "Hello World" Source:
Question: What is http header

Answer: HTTP headers expose a great deal of information about your client as well as the server you are working, the application you are designing, as well as the environment you are in (SSL, etc.).The functionality for this is held in "Request.ServerVariables", so you only need to access that. For example, Request.ServerVariables("ALL_HTTP") or Request.ServerVariables("HTTP_USER_AGENT"). You need to know the specific name of the header that you want. It is extremely simple to display all the HTTP heade Source:
Question: Which choice is NOT a property of Dictionary Object?

Answer: A. Key()
B. CompareMode
C. Item ()
D. Exists () (Answer)
E. Count Source:
Question: Which-code sample will report whether the client?s browser supports cookies?

Answer: A. <% var objFSO = Server.CreateObject("Scripting.FileSystemObject") Response.Write objFSO.cookiesSupported %>
B. You can only use JavaScript for this.
C. <% var objFSO = Server.CreateObject("Scripting.FileSystemObject") Response.Write objFSO.cookies %>
D. <% var objBrowser = Server.CreateObject("MSWC.BrowserType") Response.Write objBrowser.cookies %> (Answer)
E. <% var objBrowser = Server.CreateObject("MSWC.BrowserType") Response.Write objBrowser.cookiesSupporte Source:
Question: How can you disable the browser to view the code?

Answer: How can you disable the browser to view the code? Source:

1 2 3 4 5 6 7 8 9 10 11 12 Next

India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.046875 Seconds