Unit 6 Question Bank

This page includes several sample questions that could be used for assessment of students' understanding of the material covered in Unit 6. Questions are organized by module. Questions are coded in fully accessible, standards-compliant HTML and could easily be plugged into an HTML form that students could take online. However, this page itself is not a functional quiz. Use the Options below to display the questions how you need them before printing or copying.

Options

Module 1

Question 1

What is one reason for validating your web pages?
Correct answer: a. Valid HTML assures that all standards-compliant browsers will render the page reliably.

Question 2

When validating a web page, it is usually a good idea to fix the first error, then save and retest because correcting one error tends to—
Correct answer: d. have an influence on subsequent validation errors, possibly fixing other errors in a domino fashion.

Question 3

The W3C HTML validator (and most validation services) allow you to—
Correct answer: d. All of the above

Question 4

If you have an HTML file that has not been posted on the Internet and only resides in your local drive, by what means will you validate it
Correct answer: d. Either b or c

Question 5

An HTML validator will not validate which of the following?
Correct answer: c. CSS

Question 6

Consider the following HTML validation error:
Line 25, Column 79: there is no attribute "about"
 ... about="content">
Based on this information, what should you do to fix the problem?
Correct answer: d. Do b then c.

Question 7

A text editor may make the validation process simpler if it has the following feature to help you scan through your code:
Correct answer: a. Numbered code lines and columns

Question 8

Consider the following HTML validation error:
Line 45, Column 5: stray end tag ul
 </ul>
Based on this information, what should you do to fix the problem?
Correct answer: e. Do b then c then d

Question 9

Consider the following HTML validation error:
Line 30, Column 53: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.
<img src="questionmark.gif" width="66" height="111">
Based on this information, what should you do to fix the problem?
Correct answer: d. Do a then c

Question 10

Just like with HTML, a web page that has invalid CSS might look fine in your browser, but someone accessing the page in another browser might have an entirely different experience with the same content.
Correct answer: a. True

Question 11

The W3C CSS validator (and most validation services) allow you to—
Correct answer: d. All of the above

Question 12

If you first copy all your code including your CSS, second choose to validate your CSS by entering the URL of a document, third paste your code into the box for the URL, you will be able to validate the CSS of your document.
Correct answer: b. False

Question 13

Consider the following CSS validation error:
Line 9, body: Value Error: font-size Unknown dimension 100pct
  body { 
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100pct; 
  }
Based on this information, what should you do to fix the problem?
Correct answer: e. Both b and c

Question 14

When your CSS validates, the Validator results window should provide you with‐
Correct answer: b. code for adding a W3C CSS logo to the bottom of your web page to signify that your page is standards-compliant.

Question 15

Some accessibility issues can't be automatically detected by a validator and require human judgment. In this case the web accessibility tools will—
Correct answer: b. prompt you to inspect issues that require human judgement.

Question 16

If you wish to test your site's accessibility with an online accessibility checker but your site only exists on your local drive and is not yet available on the Internet, you will need a validation tool that—
Correct answer: e. Either a or b

Question 17

In general, it is sensible for a designer to design a site to meet his or her own needs and preferences. If the site meets the needs of the designer, than testing how others use the site is unnecessary.
Correct answer: b. False

Question 18

Usability testing is recommended because—
Correct answer: d. All of the above

Question 19

Usability can be defined by all of the following components except which of the following:
Correct answer: c. Variability

Question 20

A usability test involves the following steps:
Correct answer: a. Get a representative user to help you out, ask the user to perform representative tasks, observe what the user does.