You are on page 1of 4

4.

"<%=" is the same as: <%Equal <%Write <%Response.Write <%Document.Write

8. How do you get information from a form that is submitted using the "post " method? Request.QueryString (for get method) Request.Form (for post method) 10. Which ASP property is used to identify a user? The Application object An ASP Cookie The Server object 12. (ans)

All users of the same application share ONE Application object. True False (ans)

13. If a user has Cookies enabled, a session variable is available to all pa ges in one application. False True 14. (ans)

Include files must have the file extension ".inc" False True (ans)

15.

What is the correct way to include the file "time.inc" ? <% include file="time.inc" %> <wrong> <!--#include file="time.inc"--> <% #include file="time.inc" %> <wrong> <include file="time.inc">

16.

Which one of these events is a standard Global.asa event? Global.asa doesn't have any standard events Application_OnStart (ans) Session_id Session_Start

17.

Global.asa is required for all Web sites Only for ASP Web sites True

False 18.

(ans)

Which of these objects is NOT an ASP component? File Access LinkCounter Counter AdRotator

20.

How do you create a FileSystemObject? Server.CreateObject("Scripting.FileSystemObject") Create("FileSystemObject") Server.CreateObject("FileSystemObject") Create Object:"Scripting.FileSystemObject"

============================================================= 1. What does ASP stand for? Correct Answer! 2. ASP server scripts are surrounded by delimiters, which? Correct Answer! 3. How do you write "Hello World" in ASP Correct Answer! 4. "<%=" is the same as: You answered: <%Equal Wrong Answer! 5. What is the default scripting language in ASP? You answered: JavaScript Wrong Answer! 6. How can you script your ASP code in JavaScript? You answered: JavaScript is the default scripting language Wrong Answer! 7. How do you get information from a form that is submitted using the "get" meth od? Correct Answer! 8. How do you get information from a form that is submitted using the "post" met hod? You answered: Request.QueryString Wrong Answer! 9. Page 1 has this link: <a href="page2.asp?color=green">Go</a> How can page2.asp get the "color" parameter?

Correct Answer! 10. Which ASP property is used to identify a user? Correct Answer! 11. All users of the same application share ONE Session object. Correct Answer! 12. All users of the same application share ONE Application object. Correct Answer! 13. If a user has Cookies enabled, a session variable is available to all pages in one application. You answered: False Wrong Answer! 14. Include files must have the file extension ".inc" You answered: True Wrong Answer! 15. What is the correct way to include the file "time.inc" ? You answered: <% #include file="time.inc" %> Wrong Answer! 16. Which one of these events is a standard Global.asa event? Correct Answer! 17. Global.asa is required for all Web sites You answered: True Wrong Answer! 18. Which of these objects is NOT an ASP component? You answered: AdRotator Wrong Answer! 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? Correct Answer! 20. How do you create a FileSystemObject? You answered: Wrong Answer!

You might also like