Placement papers on HTML - Set 3
1. Text within < EM>..< /EM> block is displayed as
bold
italic
list
intended
View Answer / Hide Answer2. ASP server scripts are surrounded by delimiters, which?
< script>...< /script>
< &>...< /&>
< %...%>
< %>...< /%>
View Answer / Hide Answer3. How do you write "Hello World" in ASP
Document.Write("Hello World")
"Hello World"
Response.Write("Hello World")
__
View Answer / Hide AnswerANSWER: Response.Write("Hello World")
4. "< %=" is the same as:
< %Document.Write
< %Write
< %Response.Write
< %Equal
View Answer / Hide AnswerANSWER: < %Response.Write
5. What is the correct way to include the file "time.inc" ?
< % #include file="time.inc" %>
< % include file="time.inc" %>
< include file="time.inc">
< !--#include file="time.inc"-->
View Answer / Hide AnswerANSWER: < % include file="time.inc" %>
6. Which one of these events is a standard Global.asa event?
Session_id
Session_Start
Global.asa doesn't have any standard events
Application_OnStart
View Answer / Hide AnswerANSWER: Application_OnStart
7. How do you create a FileSystemObject?
Server.CreateObject("FileSystemObject")
Create Object:"Scripting.FileSystemObject"
Server.CreateObject("Scripting.FileSystemObject")
Create("FileSystemObject")
View Answer / Hide AnswerANSWER: Server.CreateObject("Scripting.FileSystemObject")
8. In ASP, a request object retrieves info from a user by ________.
a collection of values sent as cookies in a HTTP header
a collection of data sent with a submitted form
from client variables described from within an object
Both A and B
View Answer / Hide Answer9. Which of the following are ASP standard objects?
server
response
session
All of the above
View Answer / Hide Answer10. You have to add a list of products in a drop-down list. What will you use to group the identical products under a category name?
optgroup
option
menu
var
View Answer / Hide Answer