Placement papers on HTML - Set 3

Placement papers on HTML - Set 3


1. Text within < EM>..< /EM> block is displayed as

bold
italic
list
intended
View Answer / Hide Answer

ANSWER: italic




2. ASP server scripts are surrounded by delimiters, which?

< script>...< /script>
< &>...< /&>
< %...%>
< %>...< /%>
View Answer / Hide Answer

ANSWER: < %...%>




3. How do you write "Hello World" in ASP

Document.Write("Hello World")
"Hello World"
Response.Write("Hello World")
__
View Answer / Hide Answer

ANSWER: Response.Write("Hello World")




4. "< %=" is the same as:

< %Document.Write
< %Write
< %Response.Write
< %Equal
View Answer / Hide Answer

ANSWER: < %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 Answer

ANSWER: < % 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 Answer

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

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

ANSWER: Both A and B




9. Which of the following are ASP standard objects?

server
response
session
All of the above
View Answer / Hide Answer

ANSWER: All of the above




10. 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

ANSWER: optgroup


Post your comment