0% found this document useful (0 votes)
62 views

Answer of Asp

Active Server Pages (ASP) is a technology for creating dynamically generated web pages based on server-side scripts. In ASP, server scripts are surrounded by <% %> delimiters and you can write "Hello World" using Response.Write("Hello World"). By default, ASP uses VBScript as its scripting language but you can also use JavaScript. To get information from forms submitted using GET or POST, you use Request.QueryString and Request.Form respectively. Global variables are available to all users through the Application object while session variables are only available to one user through the Session object.

Uploaded by

Parveen Swami
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views

Answer of Asp

Active Server Pages (ASP) is a technology for creating dynamically generated web pages based on server-side scripts. In ASP, server scripts are surrounded by <% %> delimiters and you can write "Hello World" using Response.Write("Hello World"). By default, ASP uses VBScript as its scripting language but you can also use JavaScript. To get information from forms submitted using GET or POST, you use Request.QueryString and Request.Form respectively. Global variables are available to all users through the Application object while session variables are only available to one user through the Session object.

Uploaded by

Parveen Swami
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

1. What does ASP stand for?

Active Server Pages 2. ASP server scripts are surrounded by delimiters, which? <%...%> 3. How do you write "Hello World" in ASP

Response.Write("Hello World") 4. "<%=" is the same as:

<%Response.Write 5. What is the default scripting language in ASP?

VBScript 6. How can you script your ASP code in JavaScript?

Start the document with: <%@ language="javascript" %> 7. How do you get information from a form that is submitted using the "get" method?

Request.QueryString 8. How do you get information from a form that is submitted using the "post" method?

Request.Form 9. Page 1 has this link: <a href="page2.asp?color=green">Go</a> How can page2.asp get the "color" parameter?

Request.QueryString("color") 10. Which ASP property is used to identify a user?

An ASP Cookie

11. All users of the same application share ONE Session object. False 12. All users of the same application share ONE Application object.

True

13. If a user has Cookies enabled, a session variable is available to all pages in one application.

True 14. Include files must have the file extension ".inc" False

15. What is the correct way to include the file "time.inc" ?

<!--#include file="time.inc"--> 16. Which one of these events is a standard Global.asa event? Application_OnStart 17. Global.asa is required for all Web sites

False 18. Which of these objects is NOT an ASP component? LinkCounter 19. ASP comes with a standard component that displays a different advertisement each time a user enters or refreshes a page, what is the name of this component? AdRotator

20. How do you create a FileSystemObject?

Server.CreateObject("Scripting.FileSystemObject")

You might also like