Map Literature - HTML and Web Programming - Exam, Exams of Web Programming and Technologies

These are the Exam of HTML and Web Programming which includes Measurement, Cell Phone Turned, Measurement, Overflow Property, Chop Off, User Scrolls, Margin, Padding, Content-Spacing etc.Key important points are: Map Literature, Much Luck, Molten Lav, Markup Language, Maximum Linkage, Firefox, Extension, Firefox Page, Running Apache, Standards Compliant

Typology: Exams

2012/2013

Uploaded on 03/28/2013

rohit-sharma
rohit-sharma 🇮🇳

4.3

(11)

200 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
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.
pf3
pf4

Partial preview of the text

Download Map Literature - HTML and Web Programming - Exam and more Exams Web Programming and Technologies in PDF only on Docsity!

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 and equivalent? A. Yes, but must be closed by and not by B. Yes, and can be closed by either or C. No, they are both valid XHTML, but they mean different things. D. No, is not valid XHTML. E. No, is not valid XHTML
  3. What is wrong with the following XHTML:

    This is nice code.
    I hope you like it.

    A. The
    should be
    B. The
    should be
    C. The
    should be
    D. There is no such thing as

    E. Nothing is wrong with it.
  4. How can the following XHTML be made valid: Important Topic! Less Important Topic A. Change and to and . B. Move the tag before the tag. C. Move the tag after the tag. D. Move the tag before the tag. E. Move the tag before the 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.

Exam ID: 3018 CS-081/Vickery Page 2 of 4

  1. What tag marks the root of the DOM tree? Hint: Which is the outermost tag? A. B. C. D. E.

  2. What is the purpose of an tag? A. It translates the imaginary part of a complex number into the real part. B. It converts the real part of a complex number into the imaginary part. C. It tells the browser to show a picture. D. It tells the user how to imagine the result. E. It tells what font to use.
  3. Which is the correct nesting structure: A.

    inside and inside B. inside and inside C. inside and inside D. inside and inside E. inside <table> and <body> inside <head>
  4. Which attribute is required in a table? A. head B. body C. summary D. title E. tr
  5. What two attributes are required in an img? A. height and width B. src and alt C. length and breadth D. color and font E. jpeg and gif
  6. What part of this URL is the hostname? http://babbage.cs.qc.edu/courses/cs081/index.php A. http:// B. babbage.cs.qc.edu C. /courses/cs081/ D. index.php E. babbage.cs.qc.edu/courses/cs081/index.php
  7. For the URL in Question 13 , what is the location of the file being requested? A. C:/courses/cs081/index.php B. C:/htdocs/index.php C. C:\courses\cs081\index.php D. C:\htdocs\index.php E. It depends on how the server’s “document root” has been configured.
  8. Assuming it has been configured to handle PHP files, what is the difference between how Apache will handle a request for a file named something.php and a request for a file named something.html? A. It will send something.html directly to the browser, but it will send something.php to a PHP interpreter running on the server’s computer, and send the output of that program to the browser. B. If it is something.php , Apache will process it in standards compliant mode, but if it is something.html , it will process it in quirks mode. C. For something.php , Apache will look for a file named something.xhtml to send to the browser, but if it is an .html file, it will just send something.html directly. D. For something.php, Apache uses the DOCTYPE specification to decide what to do, but for something.html it ignores the DOCTYPE. E. Even if Apache has been configured to handle PHP files, something.php is an invalid file name, and will be rejected by Apache.

Exam ID: 3018 CS-081/Vickery Page 4 of 4

  1. Can there be more than one radio button group inside a single form? Hint: Choices C, D, and E are bogus! A. Yes B. No C. Neither A nor B D. Both A and B E. None of the above
  2. What is the select tag used for? A. To decide which paragraph to display on the page. B. To decide whether the page is valid XHTML or not. C. To decide which page to display from within the document root. D. To present the user with a list of items to choose from. E. To send a form to the server.
  3. What is the difference between an input of type text and a textarea? A. A textarea can have multiple lines of input, but text is limited to one line. B. They are two different names for exactly the same thing. C. The font size is larger in a textarea. D. The font size is smaller in a textarea. E. There can be only one textarea in a form, but there can be multiple texts.
  4. What kind of program can be used to process form data? A. A Perl script. B. A C++ program. C. A Python script. D. A Java program. E. Any of the above.