• +91 9971497814
  • info@interviewmaterial.com

Computer Interview Questions Answers

ASP Interview Questions Answers

Question - 21 : - What is string concatenation function in VBScript?

Answer - 21 : - the ampersand symbol and ampersand space underscore across multiple lines

Question - 22 : - How do you get the value of a combo box in Javascript?

Answer - 22 : - 1. document.forms[’formName’].elements[’comboName’].options[i].value 2. document.form_name.element_name.value  

Question - 23 : - What is a variable?

Answer - 23 : - Variable is a memory location through which the actual values are stored/retrieved. Its value can be changed.

Question - 24 : - What is a "Virtual Directory"?

Answer - 24 : - 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.

Question - 25 : - Which is the default Data types in VBScript?

Answer - 25 : - Variant is the default data type in VBScript, which can store a value of any type.

Question - 26 : - What is Server Object?

Answer - 26 : - 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 - 27 : - How does the server identify and execute the server-side scripts within HTML code?

Answer - 27 : - Including the RUNAT=SERVER attribute

Question - 28 : - What are the properties used to control the expiration of the page?

Answer - 28 : - Expires specifies the number of minutes before a page cached on a browser expires. ExpiresAbsolute sets the date and time at which a page cached on a browser expires.

Question - 29 : - What are the advantages of using ASP?

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

Question - 30 : - What is a FileSystemObject object?

Answer - 30 : - It provides access to the physical file system of the web server. It gets and manipulates information about all drives in a server, folders and sub-folders on a drive and files inside a folder.

Computer Contributors

Rajeev Katiyar
Yes Baroda

Share your email for latest updates


Our partners