Web Server - 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: Web Server, Web Site, Web data, Web Client, Web Browser, Web Connection, Apache, Firefox, Javascript, Firebug

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
Student, Perfect Midterm Exam October 24, 2006
Exam ID: 6713 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 for each multiple choice question. For short
answer questions, write the question number and answer on the back of the exam sheets.
Short answer questions count more than multiple choice questions.
1. Apache is the name of:
A. A web site
B. A web server
C. A web client
D. A web browser
E. A web connection
2. Firefox is the name of:
A. A URL
B. A web server
C. A web client
D. A web stylesheet
E. A scripting language
3. Javascript is the name of:
A. A web browser
B. A web connection
C. A client-side scripting language
D. A rendering engine
E. A server side scripting language
4. Firebug is the name of:
A. A client-side scripting language
B. A server-side scripting language
C. A stylesheet
D. A Firefox extension
E. A web server
5. Which XHTML code will cause the following sentence to display correctly;
Usually, 7 < 3 is false.
A. Usually, 7 < 3 is false.<p>
B. <p Usually, 7 < 3 is false />
C. <p lt=”<”>Usually, 7 lt 3 is false>
D. <p>Usually, 7 < 3 is false.</p>
E. <p>Usually, 7 &lt; 3 is false.</p>
6. What is wrong with the following piece of XHTML code?
<p>Truly, seven <em><strong>is</em></strong less than three.</p>
A. Nothing.
B. The tag names should be capitalized.
C. There is no tag named <em>.
D. Either the second and third tags are in the wrong order, or the fourth and fifth tags are.
E. There has to be a space immediately before each of the >’s.
7. Which of the following shows the structure and meaning of an attribute?
A. name=value
B. value=name
C. name="value"
D. "name"=value
E. "name"="value"
pf3
pf4

Partial preview of the text

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

Student, Perfect Midterm Exam October 24, 2006

Exam ID: 6713 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 for each multiple choice question. For short answer questions, write the question number and answer on the back of the exam sheets. Short answer questions count more than multiple choice questions.

  1. Apache is the name of: A. A web site B. A web server C. A web client D. A web browser E. A web connection
  2. Firefox is the name of: A. A URL B. A web server C. A web client D. A web stylesheet E. A scripting language
  3. Javascript is the name of: A. A web browser B. A web connection C. A client-side scripting language D. A rendering engine E. A server side scripting language
  4. Firebug is the name of:

A. A client-side scripting language B. A server-side scripting language C. A stylesheet D. A Firefox extension E. A web server

  1. Which XHTML code will cause the following sentence to display correctly; Usually, 7 < 3 is false. A. Usually, 7 < 3 is false.

    B.

    C.

    Usually, 7 lt 3 is false> D.

    Usually, 7 < 3 is false.

    E.

    Usually, 7 < 3 is false.

  2. What is wrong with the following piece of XHTML code?

    Truly, seven is A. Nothing. B. The tag names should be capitalized. C. There is no tag named . D. Either the second and third tags are in the wrong order, or the fourth and fifth tags are. E. There has to be a space immediately before each of the >’s.

  3. Which of the following shows the structure and meaning of an attribute? A. name=value B. value=name C. name="value" D. "name"=value E. "name"="value"

**Exam ID: 6713 CS-081/Vickery Page 2 of 4**
  1. Why is it important to include a DOCTYPE at the beginning of all web pages? A. Search engines will ignore web pages with no DOCTYPE. B. DOCTYPE prevents spam filters from blocking web pages. C. DOCTYPE tells browsers what rules to follow when interpreting web pages. D. Browsers will not display web pages that don’t have a DOCTYPE. E. Servers will not deliver web pages that don’t have a DOCTYPE.
  2. In the URL, http://www.webu.edu/~ejb, what does “~ejb” refer to? A. The document root B. The document tree C. The home directory of account ejb. D. A link to a computer named ejb. E. A client-side script.
  3. A web server is running on a Windows computer named ginkgo.cs.qc.edu with the Document Root configured as C:\htdocs. What would be the URL for the web page at C:\Program Files\index.xhtml on that computer? A. http://ginkgo.cs.qc.edu/Program Files/index.xhtml B. http://gingkgo.cs.qc.edu/Program Files/index C. http://www.ginkgo.cs.qc.edu/Program Files/Apache D. http://ginkgo.cs.qc.edu/~index.xhtml E. None of the above.
  4. Each web page a user views requires the browser to send exactly one request to the server, but the server might return multiple files as a result of the request. A. True B. False
  5. What can the tag used for? A. To attach Javascript code to a web page. B. To attach a stylesheet to a web page. C. To add a background picture to a heading. D. To underline words in a heading. E. To check the spelling in a web page.
  6. What does an alert() statement do? A. It changes the color of the text on a web page. B. It causes the server to invoke the PHP processing module. C. It causes the browser to invoke the PHP processing module. D. It notifies the server that the user is trying to access a phishing site. E. It displays a message with an “OK” button in a window.
  7. What is a Javascript function? A. A segment of code that can be executed when an event occurs or when invoked from another function. B. A value that cannot be changed. C. A value that must be changed before using it. D. A way to block PHP from accessing the database without inverting the query following the rendering of the stylesheet’s DOCTYPE DOM root node variable’s attribute value. E. The way to cause PHP to access the database after inverting the query before the encoding of the stylesheet’s DOCTYPE DOM root node variable’s attribute value.
  8. Write a CSS rule that will cause an image file named gradient.png to be used as the background of all H1 elements in the document. The image should appear in the heading just once no matter how large the headings are. ( Write answer below or on the back of any sheet, but be sure the question number is right next to your answer if on the back. )

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

  1. A coder types two spaces after every period in a paragraph. How will a browser render the paragraph? A. There will be two spaces after every period. B. There will be one space after every period unless the period happens to be rendered at the end of a line. C. There will be one space after every period unless the user double-clicks on the paragraph. D. The browser will put a tab character after every period. E. The browser will convert the spaces into .
  2. What is a .dwt file? A. An Inkscape drawing file. B. A Dreamweaver template file. C. A Javascript code file. D. A stylesheet file. E. A deadweight file.
  3. What are ASCII, ISO-Latin-1, and UTF-8, how are they different from each other, and how are they related to each other? ( Answer all three parts! )
  4. Write two complete CSS rules. The first one is to give a background color to all paragraphs, and the second one is to give a different background color to all paragraphs with a class of “important”.