Thursday, December 26, 2013

Tutorial 5 Questions 1 through 50



  1. A single table can contain at most one <tbody> tag.
    1. True
    2. False - correct answer
  2. A _____ call occupies more than one row or column in a table.
    1. breadth
    2. full
    3. spanning - correct answer
    4. columnar
  3. A _____ table contains only text, evenly spaced on the Web page in rows and columns.
    1. columnar text
    2. row-based
    3. preformatted text - correct answer
    4. graphical
  4. A Web table consists of a table element and a collection of table rows.
    1. True - correct answer
    2. False
  5. A Web table consists of a table element and a collection of table rows.
    1. True - correct answer
    2. False
  6. Alignment values of "left" or "right" place a table caption below the table to the left or right.
    1. True
    2. False - correct answer
  7. By default, browsers display talbes without table borders.
    1. True - correct answer
    2. False
  8. By default, most table borders are displayed in two shades of _____ that create a three-dimensional effect.
    1. white
    2. black
    3. gray - correct answer
    4. blue
  9. By default, tables will display without borders in a browser.
    1. True - correct answer
    2. False
  10. By default, the caption appears directly above the table when creating a table caption.
    1. True - correct answer
    2. False

  11. Cascading Style Sheets included support for Web tables starting the _____.
    1. CSS1
    2. CSS3
    3. CSS2 - correct answer
    4. CSS5
  12. Case 5-1:  Crystal is trying to build a table to display her inventory or items she sells in her online boutique.  She wants to display the picture, name, quantity in stock, and price for each item.  Crystal would also like her header row to be blue.  How would she accomplish that using a style?
    1. color="blue
    2. background-color: blue - correct answer
    3. header-color: blue
    4. thead-color: blue
  13. Case 5-1:  Crystal is trying to build a table to display her inventory or items she sells in her online boutique.  She wants to display the picture, name, quantity in stock, and price for each item.  Crystal would like to have borders just on the top and bottom, which style would do that?
    1. frame="rhs"
    2. frame="hsides" - correct answer
    3. frame="lhs"
    4. frame="vsides"
  14. Case 5-1:  Crystal is trying to build a table to display her inventory or items she sells in her online boutique.  She wants to display the picture, name, quantity in stock, and price for each item.  How many columns would Crystal's table need to have as a minimum?
    1. 2
    2. 3
    3. 4 - correct answer
    4. 5
  15. Case 5-2: Automotive Weekly is an online magazine.  They like to host car shows around town during the year to promote their magazine.  Bob is tasked with creating a table to list their car show information which includes place, date & time, and a brief description of the event's activities.  Bob is using a Web site that is several years old that uses a table as a layout.  Bob wants to create a table layout that is more modern.  He wants to have the place take up one row, with the date & time in two cells below that, followed by the description of the event in a row below the date & time.  Bob wants to put a light metallic red rounded square picture in the background of his table.  To do that, he needs to first split the picture into how many parts?
    1. 3
    2. 6
    3. 9 - correct answer
    4. 12
  16. Case 5-2: Automotive Weekly is an online magazine.  They like to host car shows around town during the year to promote their magazine.  Bob is tasked with creating a table to list their car show information which includes place, date & time, and a brief description of the event's activities.  Bob is using a Web site that is several years old that uses a table as a layout.  Bob wants to create a table layout that is more modern.  He wants to have the place take up one row, with the date & time in two cells below that, followed by the description of the event in a row below the date & time. Bob wants the caption of his table to be on the bottom.  Which CSS style can he use to specify that?
    1. side
    2. caption
    3. text-align
    4. caption-side - correct answer
  17. Case 5-3:  Julio is in a band and has made a Web site to promote the band.  Julio likes to maintain a page where he can list the information about each of the band members.  For each member, he likes to display a brief list of biographical information on the left and then their picture on the right.  How many columns will Julio most likely need in his table?
    1. 2 - correct answer
    2. 4
    3. 5
    4. 8
  18. Case 5-3:  Julio is in a band and has made a Web site to promote the band.  Julio likes to maintain a page where he can list the information about each of the band members.  For each member, he likes to display a brief list of biographical information on the left and then their picture on the right.  Julio wants to display the name of the band at the top of the table.  Which element should he use to do this?
    1. tbody
    2. caption - correct answer
    3. td
    4. colgroup
  19. Cell padding value is expressible in _____.
    1. pixels - correct answer
    2. cm
    3. em
    4. all of the above
  20. Columns and column groups accept only four styles: border, background, _____, and visibility.
    1. color
    2. height
    3. width - correct answer
    4. font-family

  21. Data cells in a Web table are displayed using a _____ tag.
    1. <tr>
    2. <th>
    3. <tl>
    4. <td> - correct answer
  22. Decreasing the width of a table's border to 1 pixel will remove the border between the cells.
    1. true
    2. false - correct answer
  23. Each table in a Web page follows a basic structure consisting of the table element and a collection of table columns nested in the table element.
    1. True
    2. False - correct answer
  24. Enter _____ tags to identify text to be table headers.
    1. <th> and </th> - correct answer
    2. <ht> and </ht>
    3. <td> and </td>
    4. <tr> and </tr>
  25. HTML allows you to identify the different parts of your table using the _____ tags.
    1. <thead>
    2. <tbody>
    3. <tfoot>
    4. all of the above - correct answer
  26. HTML allows you to manipulate the alignment of entire columns and groups of columns.
    1. True - correct answer
    2. False
  27. If borders are collapsed and either border style is hidden, the collapsed border is _____.
    1. hidden - correct answer
    2. halved
    3. 2px wide
    4. 1px wide
  28. If two borders have the same width but different styles, _____ borders have the highest priority.
    1. solid
    2. groove
    3. dashed
    4. double - correct answer
  29. If you have four <td> tags in each table row, that table has _____ columns.
    1. two
    2. three
    3. four - correct answer
    4. six
  30. In the <caption> tag, an alignment value of _____ places the caption above the table.
    1. above 
    2. over
    3. top - correct answer
    4. center
  31. In the <caption> tag, an alignment value of _____ places the caption below the table.
    1. below
    2. bottom - correct answer
    3. under
    4. beneath
  32. Netscape horizontally aligns captions to the left or right above the table.
    1. true
    2. false - correct answer
  33. One difference between the <th> and <td> tags is that the text formatted with the <th> tag is left-aligned within the cell.
    1. true
    2. false - correct answer
  34. One tip for the effective use of tables is to use cell _____ to keep the table content from appearing too crowded.
    1. spanning
    2. padding - correct answer
    3. kerning
    4. tracking
  35. Only one caption is allowed per Web table and the <caption> tag must be listed directly before the opening <table> tag.
    1. true
    2. false - correct answer
  36. Only one caption is allowed per Web table.
    1. true - correct answer
    2. false
  37. Preformatted text is displayed by the browser in a _____ in which each letter takes up the same amount of space.
    1. monospace box
    2. monospace font - correct answer
    3. cell spacing text box
    4. cell spacing font
  38. Spanning cells are created by inserting a _____ attribute in a <td> or <th> tag.
    1. rowspan or colspan - correct answer
    2. spanrow or spancol
    3. cellspan or rowspan
    4. tdspan or trspan
  39. Table cells have the lowest precendence in the Web table styles.
    1. True
    2. False - correct answer
  40. Text formatted with the <th> tag is displayed in a(n) _____ font.
    1. italicized
    2. boldface - correct answer
    3. underlined
    4. colored
  41. The _____ attribute controls the amount of space inserted between table cells.
    1. call padding
    2. cell between
    3. cell spacing - correct answer
    4. cell border
  42. The _____ attribute lets you control how the internal table gridlines are drawn.
    1. rules - correct answer
    2. gridlines
    3. grid
    4. lines
  43. The _____ style can be used to separate the table borders.
    1. border-type
    2. border-separate
    3. border-width
    4. border-collapse - correct answer
  44. The <thead> and <tfoot> sections must appear after any <tbody> sections in the table structure.
    1. true
    2. false - correct answer
  45. The border-type style can be used to allow any table to have a border.
    1. True
    2. False - correct answer
  46. The default cell spacing value is _____ pixels.
    1. 1
    2. 2 - correct answer
    3. 4
    4. 5
  47. The default value for the frame attribute of the table tag is lhs.
    1. true
    2. false - correct answer
  48. Case 5-3:  Julio is in a band and has made a Web site to promote the band.  Julio likes to maintain a page where he can list the information about each of the band members.  For each member, he likes to display a brief list of biographical information on the left and then their picture on the right. The first cell in the biographical information table has several styles applied to it.  Julio would like to specify the background color of this cell, but is unsure which style to modify.  Which table style has the highest precedence?
    1. table cells - correct answer
    2. column groups
    3. table
    4. rows
  49. The number of columns in a Web table is determined by the maximum number of cells within each row.
    1. true - correct answer
    2. false
  50. The number of columns is determined by how many _____ are inserted within each row, according to the original HTML specifications.
    1. cells - correct answer
    2. columns
    3. headers
    4. indices



No comments:

Post a Comment