
1. Is it all right to send or receive text messages during the exam?
A. No
B. No
C. No
D. No
E. All of the above
2. “UTF-8” is the name of a character encoding. Why is it important to specify the character encoding
used for all web pages?
A. So the browser knows whether the web page is written in XHTML or CSS.
B. So the server knows which part of the web page is written in PHP.
C. So the browser knows what font to use for the text of a web page.
D. So the server knows what color to use for the text of a web page.
E. So the browser knows what rules to use to translate character codes into letters and symbols.
3. How does the code between <?php and ?> get processed?
A. The browser takes care of it.
B. The web server takes care of it.
C. The operating system takes care of it.
D. The user takes care of it.
E. Google takes care of it.
4. Which of the following statements describes the proper sequence of events:
A. The user selects a URL; the browser requests the web page; the server returns the web page; the
browser displays the web page to the user.
B. The user selects a URL; the server requests the web page; the browser returns the web page; the
server displays the web page to the user.
C. The browser selects the user; the user selects the URL; the server displays the URL; the user
displays the web page.
D. The server displays the web page; the user selects browser; the URL returns the browser to the
web page.
E. The browser requests the web page from the server; the server displays the web page; the user
selects the URL.
First Name Last Name! ! March 23, 2010
Student ID: Student ID!Exam ID: Exam ID
Instructions:
For multiple choice questions, circle the letter of the one best choice unless the
question explicitly states that it might have multiple correct answers.
Write short answers in the spaces provided.
There is no penalty for guessing, so answer all questions.
Unless otherwise indicated, all questions count equally.
No electronic devices of any sort may be used during the exam.
CS-081