
Perfect Student Midterm Exam October 25, 2005
Exam ID: 3018 -- Student ID: 9999 CS-081/Vickery Page 1 of 4
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 best answer to each question. There is no penalty for
guessing.
1. What does “ML” in XML, HTML, and XHTML stand for?
A. Map Literature
B. Much Luck
C. Molten Lava
D. Markup Language
E. Maximum Linkage
2. In XHTML, are <H1> and <h1> equivalent?
A. Yes, but <H1> must be closed by </H1> and not by </h1>
B. Yes, and <H1> can be closed by either </H1> or </h1>
C. No, they are both valid XHTML, but they mean different things.
D. No, <H1> is not valid XHTML.
E. No, <h1> is not valid XHTML
3. What is wrong with the following XHTML:
<p>This is nice code.<br>I hope you like it.</p>
A. The <br> should be <br />
B. The <br> should be </br>
C. The <br> should be <BR>
D. There is no such thing as </p>
E. Nothing is wrong with it.
4. How can the following XHTML be made valid:
<h1><em>Important Topic!</h1>
<h2>Less Important Topic</em></h2>
A. Change <em> and </em> to <i> and </i>.
B. Move the </em> tag before the <h2> tag.
C. Move the </em> tag after the </h2> tag.
D. Move the <em> tag before the <h1> tag.
E. Move the </em> tag before the </h1> tag.
5. What does the TIDY Firefox extension do?
A. It checks web pages to make sure they are valid HTML.
B. It checks web pages to make sure they are valid PHP.
C. It checks web pages to make sure they work in Internet Explorer.
D. It checks web pages to make sure they were written using Dreamweaver.
E. It checks Firefox to make sure it doesn’t make mistakes.
6. What does the Firefox Page Info feature do?
A. It tells whether the web server is running Apache or not.
B. It tells whether the browser is running Apache or not.
C. It tells whether the web page is being rendered in standards compliant mode or not.
D. It is used to turn off cookies.
E. It is used to disable spyware.
7. Which of the following statements is true?
A. Apache is a program that runs on a server computer.
B. A server is a web browser.
C. Apache validates web pages using TIDY, W3C, and Firefox.
D. Apache is the browser that connects to the Firefox server.
E. Firefox is a program that gets executed by the Apache server.