
Perfect Student Second Exam December 19, 2007
Student ID: 9999 Exam: 2711 CS-081/Vickery Page 1 of 5
NOTE: It is my policy to give a failing grade in the course to any student who either gives or receives
aid on any exam or quiz.
INSTRUCTIONS: Circle the letter of the one best answer for each question.
1. Which of the following is a significant difference between Windows and Unix for web
developers?
A. The Apache web server works only on Windows, not on Unix.
B. Dreamweaver cannot be used to develop web sites that will be hosted on Unix.
C. File and directory names are case-sensitive on Unix, but not on Windows; you have to do a case-
sensitive link check if you develop pages on Windows but they might be copied to a Unix-hosted
server.
D. Firefox works only on Unix, not Windows.
E. Windows is just another name for Unix; there is no difference between them at all.
2. What is the purpose of the css directory of a web site?
A. It holds JavaScript programs.
B. It holds XHTML Validation code.
C. It holds background images.
D. It holds stylesheets.
E. It is needed for compatibility with Apache and PHP.
3. What is the purpose of the images directory of a web site?
A. To hold the <img> tags for the site.
B. To hold the stylesheets for images.
C. To differentiate between JPEG and PNG images.
D. To hold the imaginary components of the DOCTYPE.
E. To hold photographic and graphical images used in the site.
4. What property settings would make a word look like this?
A. text-decoration:none;
B. text-decoration:underline;
C. text-decoration:overline;
D. text-decoration:line-trough;
E. None of the above: you can’t use CSS to draw a line through a word.
5. Which of the following selectors would be used to change the appearance of a link when the user
holds the mouse over it?
A. a:hover
B. link:mouseover
C. a:link
D. link:onhover
E. point-to:a
6. What attribute is required when using <a> tags?
A. height
B. src
C. href
D. alt
E. class
7. What attributes are required when using <img> tags?
A. height, width
B. alt, src
C. href, type
D. ref, def
E. head, body