What is a session?
1)
a.
Specific address of the client
b.
The communication protocol between server and client
c.
An information interchange period between client and server
d.
A communication port
How can you define keywords for your web site?
2)
a.
In a table
b.
Using the tag
c.
By writing keywords directly into tag
d.
Using the tag
What attribute of the tag is used to indicate the address to be surfed?
3)
a.
No attribute is necessary, just type in the address
b.
HREF
c.
HLINK
d.
REF
Which one is NOT a method of defining a style?
4)
a.
Within the head tag of the HTML document
b.
As an attribute of every tag
c.
In a separate CSS Document, linked or imported
d.
In an online CSS Document referenced using an anchor tag
What does a value of -20px mean?
5)
a.
The value of property will be decreased by 20 inches from its original value.
b.
The value of property will be decreased by 20 pixels from its original value.
c.
The value of property will be set to 20 pixels.
d.
It’s impossible to have negative values for properties.
To set a color-based property to green, which value won’t work?
6)
a.
(0,g,0)
b.
green
c.
rgb(0, 200, 0)
d.
rgb(0%, 80%, 0%)
Page 1
Winter 2012 – Web Programming Course – Final Exam – Instructor: Ali Fatolahi
In order to use Perl as a CGI language, which option is NOT necessary?
7)
a.
Installing the Perl Plugin for Eclipse
b.
Adding the first line to indicate where the Perl interpreter is installed
c.
Having CGI perl module installed for your web server
d.
Allowing perl scripts to run under cgi-bin directory on web server
Clicking on an active image within an HTML form …
8)
a.
submits the form data
b.
submits the coordinates of the point where mouse was clicked
c.