Your browser does not support JavaScript. You will need to view non-JavaScript portions of this page.

CGS 2820: Summer 2002
On-Line Quizzes

Test Timer

In order to forward you your test results please enter your name & email address below:

Enter First Name followed by a space then your Last Name here



Enter E-mail Address here:



Tutorial Four: HTMLCOMP

Tutorial 4 Quiz Masters:

Lori D. Smith (glsmith4@aol.com) [Multiple Choice]

John Taylor (jtaylor@masterlinx.net) [Consultant]


Multiple Choice [One Answer Only]


Question 1

On a Web page there can be two types of tables: text and

a) accounting
b) graphical
c) gif.
d) numerical

Question 2

The problem with using a(n)_________font in a text table is that it is difficult to get the columns of the text to line up properly

a) fixed-width
b) typewriter
c) proportional
d) None of the above.

Question 3

The two-sided tag <PRE>text</PRE> will

a) cause all enclosed text to be displayed using a fixed-width font.
b) automatically check the enclosed text for spelling errors.
c) format the enclosed text into rows and columns.
d) None of the above.

Question 4

Which HTML tag would you use to retain desired extra blank spaces, blank lines or tabs in a Wep page table?

a)<RETAIN>
b) <WIDTH=FIXED>.
c) <TT>.
d) <PRE>.

Question 5

Which of the following is a step in creating a table in HTML?

a) Deciding whether to use a text or a graphical table.
b) Creating the table structure.
c) Populating the table with data.
d) All of the above.

Question 6

When creating a graphical table in HTML, the number of rows in that table is defined by the

a) value of "ROWS=" property of the <TABLE> tag.
b) number of <TR>...</TR> two-sided tags that appear between the <TABLE> tag and the </TABLE> tag
c) number of table columns divided inot the total number of cells in the table.
d) amount of data that must be entered into the table.

Question 7

The HTML tag that begins the definition of a graphical table is

a) <PRE>
b) <TABLE>
c) <MATRIX>
d) <IMG>

Question 8

If fine <TD>...</TD> two-sided tags appear within a <TR> tag, the table has

a) five columns.
b) five rows
c) both fived columns and five rows.
d) neither five columns nor five rows.

Question 9

The <TH> tag can be used to specify a(n)__________ heading.

a) table
b) column
c) Both A and B
d) Neither A nor B

Question 10

One way that the <TH>data</TH> two-sided tag differs from the <TD>data</TD> two-sided tag is that

a) the <TH> tag must appear directly after the <TABLE> tag.
b) One way that the <TH> tag must appear directly after the <TABLE> tag.
c) data entered within the <TD> tag pair will appear in a boldface font.
d) data entered within the <TH> tag pair will be centered in the cell.

Question 11

The ________ two-sided tag can be used to give a graphical table a title that will appear below the table.

a) <CAPTION>
b) <TD>
c) <TABLE>
d) <HI>

Question 12

Which of the following in NOT a property of the <TABLE> tag?

a) BORDER
b) CELLSPACING
c) CELLPADDING
d) None of the above.

Question 13

the border width of a graphical table is measured in

a) points.
b) inches.
c) centimeters.
d) pixels

Question 14

The default value for the border property of a graphical table is _________ pixel(s)

a) 0
b) 1
c) 2
d) 4
e) 8

Question 15

The difference between the CELLSPACING AND CELLPADDING properties of the <TABLE> tag is that

a) CELLSPACING specifies the width of a table border, while CELLPADDING specifies the width of the cell border.
b) CELLSPACING specifies the width of a cell border, while CELLPADDING specifies the width of the table border.
c) CELLSPACING specifies the width of a table border, while CELLPADDING specifies the size of the gap between cells.
d) CELLSPACING specifies the width of a cell border, while CELLPADDING specifies the size of the gap between a cell's text

Question 16

By default, a browser palces a table on the _______ of a page.

a) left margin
b) right margin
c) center
d) top

Question 17

If you wanted data to be positioned both vertically and horizontally in the center of a table cell, which of the following <TD> tags would you use?

a) <TD ALIGN=CENTER VALIGN=MIDDLE>.
b) <TD ALIGN=MIDDLE VALIGN=CENTER>.
c) <TD VALIGN=CENTER HALIGN=MIDDLE>.
d) <TD VALIGN=MIDDLE HALIGN=CENTER>.

Question 18

If you are creating a table that will have a column containing numeric values, such as prices, how should the numbers be positioned in each cell?

a) Aligned on the left.
b) Aligned on the right.
c) Centered.
d) Positioned at the bottom.

Question 19

In the tag <TD ROWSPAN=2>, the "2" refers to the

a) span size expressed in pixels.
b) second row of the span.
c) cell value of 2
d) number of rows to be spanned.

Question 20

Besides being used to display text and numbers in rows and columns, tables also are commonly used to

a) perform computations such as income taxes.
b) create a Web page layout.
c) perform automatic table searches for specific facts.
d) All of the above.

Question 21

The tag <! Begin table layout>

a) instructs the browser to begin the layout of a page using a table
b) instructs the browser to place emphasis on the enclosed text.
c) is a comment that the browser will ignore.
d) is a syntax error that will confues the browser.

Question 22

When placing a column of text in a table cell, it is best to assign a value of _______ to the VALIGN property of the <TD> tag.

a) CENTER.
b) TOP.
c) MIDDLE
d) BOTTOM.

Question 23

The blank space that separates the material between two columns of a table is referred to as a

a) buffer.
b) barrier
c) gutter.
d) None of the above.

Question 24

The extension tag <TABLE BORDERCOLOR=color> is used to assign a color to the border

a) around the edge of a table.
b) of the cells within a table.
c) Both A and B.
d) Neither A nor B.

Question 25

Which of the following is NOT a valid value of the FRAME property of the <TABLE> tag?

a) Box.
b) ABOVE.
c) MIDDLE
d) BELOW.

Question 26

By default, a browser will wrap the text of a cell in a table to a second line within that cell when

a) the line exceeds fifty characters in length.
b) the length of the line occupies more that 50 percent of the display width.
c) It is no longer possible to increase the size of the column or decrease the size of the remaining columns.
d) None of the above.

Question 27

The width and height of a graphical table can be specified.

a) by size measured in pixels.
b) as a percentage of the display area.
c) Both A and B.
d) Neither A nor B.

Question 28

The two-sided tag <TD WIDTH=50>1998</TD> specifies a cell

a) 50 pixels wide with the value 1998 right-aligned in the cell.
b) 50 pixels wide with the value 1998 left-aligned in the cell.
c) that occupies 50 percent of the display area with the value 1998 right-aligned in the cell.
d) that occupies 50 percent of the display area with the value 1998 left-aligned in the cell.

Question 29

If a browser supports table background extensions and you have written the code <TABLE BGCOLOR=WHITE><TR BGCOLOR=GREEN><TD BGCOLOR=YELLOW>Hellow</TD></TR></TABLE>, on what color background would the text "Hello" appear?

a) White.
b) Green.
c) Yellow
d) None of the above

Question 30

A(n) __________ cell is a cell that occupies more than one row or column in a table.

a) bridge
b) wide
c) overlapping
d) spanning



True/False Questions


Question 31

Fixed-width fonts are usually favored over proportional fonts because they are more visually attractive.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 32

HTML normally ignores extra blank spaces, blank lines, and tabs in Web page text.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 33

In HTML, the <TN> tag is used to insert data into a table.

a)
b) The statement above is FALSE.


Question 34

the number of rows in a table is determined by the number of <TR> tags used.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 35

Because the <CAPTION> tag works only with tables, the tag must be placed within the <TABLE> tags.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 36

The CELLSPACING property of the <TABLE> tag determines the size of the gap between the cell text and the surrounding cell border.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 37

The default cell spacing is 2 pixels.

b) The statement above is TRUE.
a) The statement above is FALSE.


Question 38

The ALIGN and VALIGN properties of the <TD> tag are used to control the positioning of text within the cells of a table.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 39

to create a cell that is 40 pixels wide, you would use the tag <TD WIDTH=40>

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 40

Using a table is a common and effective method for creating a Web page layout.

a) The statement above is TRUE.
b) The statement above is FALSE.



Fill-in-the-Blank


Fill in the Blank with the word(s) that best fits the definition:

(hint: use vocabulary from the checkboxes below)

Question 41. The < > tag can be used to retain extra blank spaces, blank lines, or tabs that a browser would otherwise ignore.


Question 42. The number of columns in a table is determined by the <> tag pairs that appear within the <TR> tag pair.


Question 43. The specification of a graphical table begins with the <> tag.


Question 44. The location of a cell in a table is specified by the <> tag.


Question 45. A table row is specified by the <> tag.


Question 46. The text of a table header cell is automatically displayed in a boldface font and is within the cell.


Question 47. The <> tag is used to display a title at the top or bottom of a table.


Question 48. The default size of the CELLSPACING property of the <TABLE> tag is used to specify individual cell border widths.


Question 49. The property of the <TABLE> tag is used to specify individual cell border widths.


Question 50. The ­ property of the <TABLE> tag is used to create a rim around the outside of a table.




Essay Question

Please In HTML, the coloring of a table, its rows, and its individual cells follow a hierarchy in which one color will override another color. Explain how this works, and identify when one color will override another.




I have


Please add a comment below



The 'Muddy Water' Issues that I need help on are as follows:





I need class review on the following vocabulary words from this chapter:

graphical table fixed-width font typewriter font proportional fonts <table>

cellspacing cellpadding spanning cell ROWSPAN COLSPAN

nested table



When you have completed this quiz, press the ALL DONE-CHECK TEST button below to check the test! Then you may go back and change the incorrect answers before you submit the test. You may check the answers as many times as you need until you achieve a perfect grade. Sometimes the pop-up box does not appear when you click on the button after checking the test the first time. If this happens, minimize the test and the answer box will be behind the browser. close the box and maximize the test to continue checking the test and finally submitting it.



When you have finished checking the test, press the SUBMIT button to send answers to your instructor


Back to CGS 2820 Course Menu Page






Caution: Click reset to clear all answers

Users whose browser does not support JavaScript, when you have completed this quiz click the submit button below to send answers to your instructor