JavaDeploy
SiteMap
Perl 1
Perl 2
ASP
XML
Building WebApps
«Prev
Next»
Intro ASP
Active Server Pages
Server Side Scripting
Script Syntax
Constants Variables
Arithmetic Operators
Decision Statement
Builtin Functions
Response Write
Three Parts
ASP Object Model
Methods Write Scripts
Project Interactive Message
Server Side Conclusion
Browser Server Dialog
Browser Server Communication
Request Query String
ASP Request Cookies
ASP Response Object
122
Customizing User Experience
Advertisement Rotation
Building Webapps
Running ASP Web Application
Running Managing ASP App
Using Global Asa File
App Level Variables
Variables Race Condition
File System Object
Writing Text File
Reading Outputting Files
Write Session Variables
ASP Web App Structure
ASP Applications - Quiz
Each question is worth one point. Select the best answer or answers for each question.
1.
An ASP application consists of what files?
Please select the best answer.
A.
All ASP and HTML files in a virtual directory.
B.
All ASP files in a virtual directory.
C.
All ASP files in a virtual directory and its subdirectories.
D.
All ASP and HTML files in a virtual directory and its subdirectories.
2.
If the Application variable acImages_Dir is set to "http://www.dispersednet.com/images/", what HTML would be created by the statement <IMG SRC="<%=Application(acImages_Dir")%>red_btn.gif"> ?
Please select the best answer.
A.
<IMG SRC="http://www.dispersednet.com/acImages_Dir/red_btn.gif">
B.
<IMG SRC="http://www.dispersednet.com/images/red_btn.gif">
C.
<IMG SRC="acImages_Dir/red_btn.gif">
D.
<IMG SRC="http://www.dispersednet.com/images//red_btn.gif">
3.
What condition must you guard against to avoid having application variables update incorrectly when two users enter a site at the same time?
Please select the best answer.
A.
Race condition.
B.
Lock condition.
C.
Update condition.
D.
Unlock condition.
4.
You need to keep track of the number of users on a Web site at a given time. After you initialize the counting variable, where in the Global.asa file should you increment the variable tracking the number of users?
Please select the best answer.
A.
Anywhere in the file.
B.
In the Application_OnStart procedure.
C.
In the Session_OnStart procedure.
D.
In the Application_OnEnd procedure.
5.
Where is the best place in the Global.asa file for you to store external variables, such as the names of servers or database?
Please select the best answer.
A.
Anywhere in the file.
B.
In the Application_OnStart procedure.
C.
In the Session_OnStart procedure.
D.
In the Application_OnEnd procedure.
Your score is 0.0
Submit
Quiz Explanation