Set - 1

Question 16 :

How can you change the primary scripting language for a page?

Answer :


Question 17 :

What is application Object?

Answer :

Shares information among users of an application. Gives a notification when an application starts or ends.

Question 18 :

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.

Question 19 :

Explain the POST & GET Method or Explain the difference between them?

Answer :

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.

Question 20 :

How many global.asa files can an Application have?

Answer :

Only one global.asa file and it's placed in the virtual directory's root.