• +91 9971497814
  • info@interviewmaterial.com

Computer Interview Questions Answers

ASP Interview Questions Answers

Question - 1 : - What is application Object?

Answer - 1 : - Shares information among users of an application. Gives a notification when an application starts or ends.

Question - 2 : - What is a class in CSS?

Answer - 2 : - 1. A class allows you to define different style characteristics to the same HTML element. 2. class is a child to the id, id should be used only once, a css class can be used multiple times: div id=”banner” p class=”alert”

Question - 3 : - How are scripts executed?

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

Question - 4 : - Explain the difference between POST and GET Method ?

Answer - 4 : - GET requests are string data that is visible to the end user via the URL and a limit of 2kb, POST requests have no limit on total data and the user can’t see the data in a query string.

Question - 5 : - How can you change the primary scripting language for a page?

Answer - 5 : - Specify

Question - 6 : - What are LOCAL and GLOBAL variables?

Answer - 6 : - 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 - 7 : - What is the difference between client-side script and server-side script?

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

Question - 8 : - What are the collections of Session Object?

Answer - 8 : - Contents collection contains all the variables established for a session without using the tag. Static collection contains all the objects created

Question - 9 : - What are Scripting Objects?

Answer - 9 : - Objects that can enhance the application are known as the Scripting Objects.

Question - 10 : - What is Global.asa file?

Answer - 10 : - It is text file that contains details about an ASP application, such as when it should begin and end.

Computer Contributors

krishan
Rajeev Katiyar
Yes Baroda

Share your email for latest updates

Name:
Email:

Our partners