• +91 9723535972
  • info@interviewmaterial.com

ASP Interview Questions and Answers

ASP Interview Questions and Answers

Question - 41 : - What is IIS?

Answer - 41 : - IIS is a Web Server that provides Web services, not only for web pages but also for ftp sites and video and audio services. It integrates with the database facilities of SQL Server.

Question - 42 : - What is Request Object?

Answer - 42 : - 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

Question - 43 : - What are the special sub-types in VBScript?

Answer - 43 : - EMPTY: has no value NULL: Value does not exist (conjunction with database) OBJECT:

Question - 44 : - What is Cookies collection?

Answer - 44 : - Cookies are text files that store information about the user by which the web server identifies and marks each different visitor to a web site and determines where a user has been before. A cookie can store information only when the user sends it. Individual cookies are limited to 4KB of data. The maximum number of cookies allowed is 300. Cookies are stored on client’s machine.

Question - 45 : - What is the difference between Cookies collection and Form/Query string collection?

Answer - 45 : - Cookie collection does not have the Count property. Cookies can have multiple values for the same cookie name but each value can be referred using a key whereas in a Form/Query string cookie each value has to be referred using an index value.

Question - 46 : - What is Server Object?

Answer - 46 : - Controls the ASP execution environment. It can set the amount of time script can run before an error occurs. Converts a virtual path to a physical path on the server. Takes a user supplied string and encode it into proper format for a URL string.

Question - 47 : - What is Collection?

Answer - 47 : - Collection is a set of name/value pairs where the information supplied by the client is stored.

Question - 48 : - How will you delete a Cookie?

Answer - 48 : - By setting its Expires property to any date prior to today Response.Cookies("cookie name"). Expires = Date 1.

Question - 49 : - What is the function of Buffer in Response Object?

Answer - 49 : - Buffer controls the HTML output stream manually.

Question - 50 : - How are scripts executed?

Answer - 50 : - ASP provides scripting engines that execute the corresponding scripting languages on the server side. Scripts should be encoded within the Delimiters.


NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners