ASP Interview Questions and Answers
Question - 21 : - What is the command to display characters to the HTML page?
Answer - 21 : - Response.Write
Question - 22 : - Explain the POST & GET Method or Explain the difference between them?
Answer - 22 : - POST METHOD:
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:
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.
Question - 23 : - How many global.asa files can an Application have?
Answer - 23 : - Only one global.asa file and it’s placed in the virtual directory’s root.
Question - 24 : - What are Scripting Objects?
Answer - 24 : - Objects that can enhance the application are known as the Scripting Objects.
Question - 25 : - What is the Order of precedence for LOGICAL Operators ?
Answer - 25 : - NOT, AND, OR, XOR, EQV, IMP
Question - 26 : - What is an Err Object?
Answer - 26 : - Name it’s properties and methods.
Question - 27 : - What are LOCAL and GLOBAL variables?
Answer - 27 : - Local variables lifetime ends when the Procedure ends. Global variables lifetime begins at the start of the script and ends at the end of the script and it can be used by any procedure within the script. Declaring a variable by using the keyword PRIVATE makes the variable global within the script, but if declared using PUBLIC, then all scripts can refer the variable.
Question - 28 : - Which is the default Scripting Language on the client side?
Answer - 28 : - JavaScript
Question - 29 : - What is HTML (Hypertext Markup Language)?
Answer - 29 : - It’s a method by which web pages can be built and generally used for formatting and linking text.
Question - 30 : - What is a Web Server?
Answer - 30 : - It’s a Computer that provides Web services on the Internet or on a local Intranet. It is designed to locate, address and send out simple HTML pages to all other users who access these pages.