Quotation Marks - 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: Quotation Marks, Content, Border, Outline, Padding, Margin, Section Represent, Green, Printed, Readers Might

Typology: Exams

2012/2013

Uploaded on 03/28/2013

rohit-sharma
rohit-sharma 🇮🇳

4.3

(11)

200 documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Student, Perfect Final Exam May 25, 2006
ID: 9999. Exam No. 3193 CS-081/Vickery Page 1 of 6
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 choice for each question. There is no penalty for
guessing, so be sure to answer each question.
1. What is wrong with the following XHTML fragment:
<p>Please say “hello” to everyone.</p>
A. The <p> and </p> should be capitalized.
B. The quotation marks might not display properly; they should be &ldquo; and &rdquo;.
C. There has to be an id attribute inside the paragraph opening tag.
D. There has to be a space after the / in the paragraph closing tag.
E. Nothing, it is perfect just the way it is.
2. What will the following XHTML fragment display:
<p>All &lt;p&gt; tags are good.</p>
A. All “p” tags are good.
B. All ‘p’ tags are good.
C. All &lt;p&gt; tags are good.
D. All <p> tags are good.
E. <p>All p tags are good.</p>
3. The above figure represents a box from a web page. What does the outermost (red) section
represent?
A. The content of the box.
B. The border of the box.
C. The outline of the box.
D. The padding of the box.
E. The margin of the box.
4. What does the green section just inside the red section represent?
A. The content of the box.
B. The border of the box.
C. The outline of the box.
D. The padding of the box.
E. The margin of the box.
5. What does the blue section just inside the green section represent?
A. The content of the box.
B. The border of the box.
C. The outline of the box.
D. The padding of the box.
E. The margin of the box.
6. What does the innermost (white) section represent?
A. The content of the box.
B. The border of the box.
C. The outline of the box.
D. The padding of the box.
E. The margin of the box.
pf3
pf4
pf5

Partial preview of the text

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

Student, Perfect Final Exam May 25, 2006

ID: 9999. Exam No. 3193 CS-081/Vickery Page 1 of 6

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 choice for each question. There is no penalty for guessing, so be sure to answer each question.

  1. What is wrong with the following XHTML fragment:

    Please say “hello” to everyone.

    A. The

    and

    should be capitalized. B. The quotation marks might not display properly; they should be “ and ”. C. There has to be an id attribute inside the paragraph opening tag. D. There has to be a space after the / in the paragraph closing tag. E. Nothing, it is perfect just the way it is.
  2. What will the following XHTML fragment display:

    All <p> tags are good.

    A. All “p” tags are good. B. All ‘p’ tags are good. C. All <p> tags are good. D. All

    tags are good. E.

    All p tags are good.

  3. The above figure represents a box from a web page. What does the outermost (red) section represent? A. The content of the box. B. The border of the box. C. The outline of the box. D. The padding of the box. E. The margin of the box.
  4. What does the green section just inside the red section represent? A. The content of the box. B. The border of the box. C. The outline of the box. D. The padding of the box. E. The margin of the box.
  5. What does the blue section just inside the green section represent? A. The content of the box. B. The border of the box. C. The outline of the box. D. The padding of the box. E. The margin of the box.
  6. What does the innermost (white) section represent? A. The content of the box. B. The border of the box. C. The outline of the box. D. The padding of the box. E. The margin of the box.

Exam ID: 3193 CS-081/Vickery Page 2 of 6

  1. Why do the previous questions identify the sections of the diagram both by color and by position? A. It’s another one of Vickery’s stupid jokes. B. In case the exams are printed on colored paper. C. So the exams will look good on the web. D. Because some of the readers might be color blind. E. So students can’t copy from each other.
  2. What is an inline box? A. Part of a web page that starts on a new line. B. Part of a web page that has a background-color. C. Part of a web page that holds rows and columns of information. D. Part of a web page that does not move when the user scrolls the browser window. E. Part of a web page that does not cause a line break.
  3. “The items in a list must always appear on separate lines.” A. True because of a bug in Internet Explorer. B. True because of a W3C rule. C. True because of that is how all browsers display lists. D. False because users might disable Javascript. E. False because a CSS rule can be used to change the display property of list items to inline.
  4. What is the CSS value you can assign to the position property of a box so it does not scroll? A. float B. frame C. fixed D. no-scroll E. red
  5. Which of the following rules could be used to make text wrap around a picture, as in this image:

A. p { wrap: on; } B. img { wrap: right; } C. p { float: left; } D. img { float: right; } E. peaches { surround-with: text; }

  1. How can you create an image that has one color on the left side and then gradually fades to blend with the background on the right side, no matter what the background color is? A. Use Javascript to change the src property of the image. B. Use Javascript to change the src property of the background. C. Create an image with a gradient that is transparent on the right side. D. Create a background with shiny pixels on the right side. E. Have the user enter the RGB values of the background when viewing the page.
  2. The attribute of a tag that causes the form data to appear in the URL is: A. method=”get” B. method=”post” C. action=”url” D. form=”url” E. enctype=”data”

Exam ID: 3193 CS-081/Vickery Page 4 of 6

  1. Define focus. A. It tells how sharp the text is compared to the pictures. B. It causes a function to be defined. C. It tells how large a is. D. It tells the size of the browser window. E. It identifies the input element that will receive characters typed by the user.

  2. What is a used for? A. To describe the form control that has an id attribute that matches the ’s for attribute. B. To describe the form control that has a for attribute that matches the ’s id attribute. C. To add text to a table. D. To add a table to some text. E. To put a title on a picture.

  3. Which statement is correct: A. An elements. B. Every element. C. The id of an . D. A element contains one or more and
    Exam ID: 3193 CS-081/Vickery Page 5 of 6

  4. What is an object? A. A container for variables and references to functions and other objects. B. To take issue with what someone says on a web page. C. A list of values. D. A piece of code that gets executed at another time. E. A way to set the color of the background without using an image.

  5. How does a browser differentiate between Javascript code, XHTML code, and CSS rules? A. Javascript code always starts with tags tell the browser what code is Javascript. C. tags tell the browser what code is Javascript. D. The browser never encounters Javascript code because the server executes it. E. Javascript code always starts with and A. It defines a function that will be executed when the page loads. B. It displays a message that tells how many paragraphs there were before that point in the web page. C. It displays a message that tells the total number of paragraphs in a web page no matter where it is placed. D. It causes an error because you cannot have two dots in an alert(). E. It tells the server to load the browser into the backend processor’s auxiliary pouch.

  6. What is an array? A. An XHTML table with just one column. B. An XHTML table with just one row. C. A type of variable that can hold a list of values. D. A two-dimensional image. E. A picture with a transparent background.

  7. What does this code do? var sum = 0; for (var i = 0; i < anArray.length; i++) { sum = sum + anArray[i]; } A. It puts the number 123 into sum. B. It computes the length of the string named anArray. C. It adds up the values of all the elements in an array. D. It calculates the average size of the images on a web page. E. It causes a paragraph to be centered on the page.

  8. What is the relationship between XHTML tags and DOM tree nodes? A. There is no relationship between them B. XHTML tags contain DOM tree nodes. C. DOM tree nodes contain XHTML tags. D. DOM tree nodes represent XHTML tags. E. DOM tree nodes are the upper case representation of XHTML tags.

  9. What event occurs after the browser has built the DOM tree? A. dom.built B. file.loaded C. web_page.processed D. window.onload E. document.finished