Name: 
 

IT125SS17 Study Guide: Web Pres & Dev, Tables & Forms - Chaps 7-10



ins002-1.jpgThis Study Guide is organized with questions grouped as follows: MC and Matching.  The questions are drawn from questions at the end of each chapter, the author’s Test Bank, and lecture. 
This constitutes the “test bank” for Quiz 3.
Select answers using the pull-down windows in the boxes to left of each question (do not use roller-wheel on mouse as it will shift answers). 
All questions have equal weight. 
When completed, select the "Check Answers" button at the bottom of the Webpage.  Results are returned only to you.  You may change selections anytime prior to completing Study Guide and you may take as often as desired.

Multiple Choice
Identify the letter of the choice that best completes the statement or answers the question.
 

 1. 

Chapter 7 Multiple Choice Questions
How would you define a fragment identifier at the top of a page, called “top”?
a.
<div id="top">
b.
<div bookmark="top">
c.
<div id="#top">
d.
<div href="top">
 

 2. 

How would you link to the named fragment  #school on the page resume.html from the home page of the site?
a.
<a href="resume.html#school">Educational Background</a>
b.
<a name="resume.html#school"> Educational Background </a>
c.
<a link="resume.htmlschool"> Educational Background </a>
d.
<a link="resume.html#school"> Educational Background </a>
 

 3. 

The __________ attribute of the anchor tag can cause the new web page to open in its own browser window.
a.
target
b.
window
c.
id
d.
href
 

 4. 

When do you need to use a fully qualified URL in a hyperlink?
a.
when creating an internal link to the same web page
b.
when linking to a page in another folder on the same site
c.
when linking to a page on an external web site
d.
never
 

 5. 

What is the term used to describe image file that contains multiple small graphics?
a.
thumbnail image
b.
sprite
c.
image link
d.
viewport
 

 6. 

The ________ meta tag configures scale and dimension on mobile web page display.
a.
viewport
b.
description
c.
sprite
d.
media query
 

 7. 

Use the _______ property in the HTML link tag to to associate a web page with a style sheet for printing.
a.
media="print"
b.
out="printer"
c.
media="paper"
d.
media="screen"
 

 8. 

__________________ will cause an object not to display.
a.
display: block;
b.
display: 0px;
c.
display: none;
d.
display: hide;
 

 9. 

A ______ determines the capability of the mobile device, such as screen resolution, and directs browsers to CSS. 
a.
sprite
b.
viewport
c.
media query
d.
fragment identifier
 

 10. 

Select a recommendation for mobile web design from the choices listed below.
a.
Use a single column page layout
b.
Use large images
c.
Use pt units for font sizes
d.
None of the above are best practices for mobile web design.
 

 11. 

Select a recommendation for mobile web design from the choices listed below.
a.
Use a two-column page layout
b.
Use images that display text
c.
Use percentage or em units for font sizes
d.
Configure all hyperlinks to open in new browser windows
 

 12. 

Include the keyword _____ in a media query to cause older, non-supporting browsers to ignore the media query.
a.
viewport
b.
meta
c.
skip
d.
only
 

 13. 

The ______attribute indicates if a style sheet configures for screen display or the printed page.
a.
media
b.
display
c.
internal
d.
viewport
 

 14. 

Which pseudo-element can be used to generate content that precedes an element?
a.
:after
b.
:before
c.
:content
d.
:first-line
 

 15. 

What is the purpose of the content property?
a.
to generate content that is added to the web page document
b.
to configure the text size of the entire web page document
c.
to display a pop-up window
d.
to configure mobile display only
 

 16. 

Components of responsive web design include:
a.
fluid layout, flexible images, media queries
b.
valid syntax, embedded CSS, media queries
c.
fluid layout, valid syntax, embedded CSS
d.
flexible images, media queries, valid syntax
 

 17. 

Which CSS property configures a flex container?
a.
flex
b.
display
c.
flex-item
d.
justify-content
 

 18. 

Which CSS property configures multiple lines in a flex container?
a.
justify-content
b.
flex-direction
c.
flex-wrap
d.
flex
 

 19. 

The purpose of the ____________ element is to provide a method for a browser to display different images depending on specific criteria indicated by the web developer.
a.
media
b.
target
c.
picture
d.
sizes
 

 20. 

The purpose of the img element’s ______ attribute is to provide a method for a browser to display different images depending on specific criteria indicated by the web developer.
a.
picture
b.
srcset
c.
sizes
d.
media
 

 21. 

Chapter 8 Multiple Choice Questions
You may refer to the following table from the https://www.w3schools.com/html/html_tables.asp website to answer some of the following questions.
mc021-1.jpg
Use the _____ tag pair to begin and end a table row.
a.
<td> </td>
b.
<tr>  </tr>
c.
<table> </table>
d.
none of the above
 

 22. 

Use the ______ attribute to configure the width of a table border.
a.
tableborder
b.
width
c.
border
d.
none of the above
 

 23. 

A table with a width set to 600 pixels will look _______ on a monitor with resolution set to 640 x 480 than on a monitor with resolution set to 1024 x 768
a.
larger
b.
smaller
c.
the same
d.
more distorted
 

 24. 

When using HTML5 syntax, the table element’s __________ attribute is the only valid selection below:
a.
colspan
b.
colspacing
c.
colpadding
d.
summary
 

 25. 

Select the item below that lists elements used in an HTML table:
a.
table, head, tfoot
b.
table, tr, tt
c.
thead, body, tr
d.
table, tr, td
 

 26. 

Use _______ element to indicate table column headings or table row headings.
a.
<tr>
b.
<th>
c.
<thead>
d.
<head>
 

 27. 

Use the ______ attribute on a <td> element to associate it with a table heading cell.
a.
th
b.
headers
c.
heading
d.
title
 

 28. 

To configure the table cells to share a common border and eliminate the default space between table cells configure ___________.
a.
border: none;
b.
border-spacing: none;
c.
border-spacing: 0;
d.
border: collapse;
 

 29. 

The purpose of the _______ element is to describe the contents of a table.
a.
<summary>
b.
<caption>
c.
<title>
d.
<source>
 

 30. 

Use the CSS ______ property to configure the cellpadding of a table.
a.
padding
b.
margin
c.
cellpadding
d.
none of the above
 

 31. 

An HTML table is comprised of ____ and ______.
a.
lines and text
b.
headers and body
c.
rows and columns
d.
none of the above
 

 32. 

Use the ________ tag pair to configure a table head row group.
a.
<thead> .. </thead>
b.
<tgroup> .. </tgroup
c.
<tbody> .. </tbody>
d.
<tfoot> .. </tfoot>
 

 33. 

Use the ________ tag pair to configure a table footer row group.
a.
<thead> .. </thead>
b.
<tgroup> .. </tgroup>
c.
<tbody> .. </tbody>
d.
<tfoot> .. </tfoot>
 

 34. 

Use the headers attribute on the ___ tag to correspond to the id attribute on a <th> tag.
a.
<thead>
b.
<td>
c.
<tr>
d.
<table>
 

 35. 

Is the following code valid in HTML5?
<table cellspacing="5" cellpadding="5">
a.
No, the cellspacing and cellpadding attributes are obsolete.
b.
No, the same value cannot be provided for both cellspacing and cellpadding.
c.
Yes.
d.
Only cellspacing="5" is valid.
 

 36. 

Is the following CSS code valid?
table { border: 2px #000000 solid;
            border-spacing: 0;
}
a.
Yes.
b.
No, there is no border-spacing property.
c.
No, there is no border property.
d.
No, 0 is not a valid value for the border-spacing property.
 

 37. 

Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table?
a.
:last-of-type
b.
:last-row
c.
:tfoot
d.
This cannot be done with CSS.
 

 38. 

Which of the following CSS3 pseudo-elements will be useful when configuring every other row of a table?
a.
:last-of-type
b.
:nth-of-type(n)
c.
every-other-type
d.
This cannot be done with CSS.
 

 39. 

Which of the following CSS properties positions the caption of a table?
a.
caption
b.
caption-side
c.
thead
d.
spacing
 

 40. 

Which of the following CSS3 properties configure the alignment of text within a table?
a.
align
b.
caption
c.
text-align
d.
border-spacing
 

 41. 

Chapter 9 Multiple Choice Questions
You may refer to the following table from https://www.w3schools.com/html/html_form_elements.asp website to answer some of the following questions.
mc041-1.jpg
Select the statement below that is true about the purpose of forms.
a.
The <form> tag is optional
b.
It is recommended to use mailto: as the action on a form since that is the easiest for the web developer
c.
A form can be used to pass information to a program or script on the web server
d.
none of the above is true
 

 42. 

Select the HTML tag below that configures a button that, when clicked, will automatically reset form fields to their default values.
a.
<input type="reset">
b.
<button type="reset">Reset</button>
c.
<input type="button" value=“Reset” >
d.
both a and b
 

 43. 

Use the _____ attribute on the <form> tag to specify the name and location of the script that will process the form control values.
a.
action
b.
process
c.
method
d.
none of the above
 

 44. 

Select the form control below that does not use the <input> tag.
a.
text box
b.
select list
c.
checkbox
d.
radio button
 

 45. 

Select the HTML tag below that configures a textbox with the name “email” and a width of 40 characters.
a.
<input type="text" id="email" width="40" >
b.
<input type="text" name="email" size="40" >
c.
<input type="text" name="email" space="40" >
d.
<input type="text" width="40" >
 

 46. 

Select the form control below that would be appropriate to accept comments about your web site.
a.
select list
b.
text box
c.
scrolling text box
d.
None of the above
 

 47. 

You would like to conduct a survey and ask your web page visitors to indicate the computer operating systems that they use. Each visitor could use more than one computer operating system.
Select the form control that is best to use for this purpose.
a.
check box
b.
radio button
c.
text box
d.
scrolling text box
 

 48. 

An order form contains an area for web visitors to select their state or province. You need to limit the amount of space on the form that is used for this feature.
Select the form control that is best to use for this purpose.
a.
check box
b.
radio button
c.
text box
d.
select list
 

 49. 

Choose the HTML tag below that would configure a scrolling text box with the name “feedback”, 3 rows, and 60 characters.
a.
<textarea name="feedback" width="60" rows="3"></textarea>
b.
<input type="textarea" name="feedback" size="60" rows="3" >
c.
<textarea name="feedback" rows="3" cols="60"></textarea>
d.
none of the above
 

 50. 

Select the HTML below that would associate a label displaying the text “Phone” with the text box named customerPhone.
a.
Phone: <input type="textbox" name="customerPhone" >
b.
<label>Phone: <input type="text" name="customerPhone" ></label>
c.
<label for="Phone">Phone: </label><input type="text"
d.
both b and c
 

 51. 

Select the attribute used to limit the number of characters that a text box will accept.
a.
size
b.
maxlength
c.
limit
d.
columns
 

 52. 

Select the tag used to visually group a number of form controls.
a.
<group>
b.
<fieldset>
c.
<form>
d.
none of the above
 

 53. 

Select the attribute used to limit the width of a text box as displayed in a browser.
a.
size
b.
maxsize
c.
limit
d.
columns
 

 54. 

Select the type of form control that “disguises” the characters that are typed.
a.
text
b.
password
c.
encrypt
d.
textbox
 

 55. 

Select the form control from the choices below that may be used to submit a form.
a.
<input type="submit" >
b.
<submit></submit>
c.
<input type="button" value="submit" >
d.
<select option="submit" >
 

 56. 

_________________ is a standard method or protocol for web pages to request special processing on the web server, such as database queries, sending e-mails, or handling form data.
a.
<fieldset>
b.
Common Gateway Interface
c.
JavaScript
d.
none of the above
 

 57. 

What attributes are valid for the <select> tag?
a.
name, id, multiple
b.
name, id, multiple, rows, cols
c.
name, id, multiple, selected
d.
name, id, multiple, checked
 

 58. 

When configuring a group of radio button form controls, the value of the ______ attribute on each radio button must be the same
a.
name
b.
id
c.
value
d.
none of the above
 

 59. 

Select the true statement from the choices below.
a.
A scrolling text box is created using an input element with type=”textarea”.
b.
A text box is created using the input element with type=”box”.
c.
A select list is created using select and input elements.
d.
None of the above statements are true.
 

 60. 

The purpose of the __________ is to configure a label for a <fieldset>.
a.
<label>
b.
<p>
c.
<form>
d.
<legend>
 

 61. 

Select the value of the type attribute that configures an HTML5 spinner control.
a.
spinner
b.
range
c.
number
d.
input
 

 62. 

Select the value of the type attribute that configures an HTML5 slider control.
a.
spinner
b.
range
c.
number
d.
input
 

 63. 

Select the true statement from those listed below.
a.
The input element with type=”email” will cause all browsers to edit for a valid e-mail address.
b.
The required attribute will cause all browsers to verify that the user has entered information into the form control.
c.
The input element with type=”date” will cause all browsers to display a calendar control.
d.
The input element with type=”email” will cause browsers that do not support the attribute to display a text box.
 

 64. 

The HTML5 _____________ form control provides the user with a selection of choices along with an option to enter information.
a.
select list
b.
check box
c.
datalist
d.
slider
 

 65. 

Choose the item below that is not a valid value for the input element’s type attribute.
a.
radio
b.
url
c.
e-mail
d.
text
 

 66. 

Chapter 10 Multiple Choice Questions
A long-standing methodology used to develop information systems is the
a.
System Development Life Cycle
b.
Service Delivery Life Cycle
c.
System Development Life Chain
d.
none of the above
 

 67. 

The methodology used by web project teams is usually:
a.
the SDLC
b.
a derivative of the SDLC similar to the one discussed in this chapter
c.
decided on as the project is built
d.
web sites do not require the use of a development methodology
 

 68. 

Select the tasks that should be performed when a website is tested.
a.
check all of the hyperlinks within the site.
b.
view the site in a variety of Web browsers.
c.
view the site in a variety of screen resolutions.
d.
all of the above
 

 69. 

Select the items involved in the role of an Information Architect.
a.
defining the site organization, navigation, and labeling
b.
attending all meetings and collecting all information
c.
managing the project
d.
none of the above
 

 70. 

The Analysis Phase of a web site project determines
a.
“what” the site will do – not “how” it will be done
b.
the information topics of the site
c.
the content requirements of the site
d.
all of the above
 

 71. 

In the _____ Phase a prototype of the website will often be created.
a.
Design Phase
b.
Conceptualization Phase
c.
Production Phase
d.
Analysis Phase
 

 72. 

Select an activity of the Production Phase.
a.
a web authoring tool is often used
b.
the graphics, web pages, and other components are created
c.
the web pages are individually tested
d.
all of the above
 

 73. 

Select an activity of the Evaluation Phase
a.
choose a web authoring tool 
b.
verify that the HTML passes W3C validation
c.
determine if the goals for the website have been met
d.
none of the above
 

 74. 

______________  is a popular choice for small websites.
a.
Virtual Hosting
b.
Free Web Hosting
c.
Dedicated Hosting
d.
Co-located Hosting
 

 75. 

___________ is appropriate for large to enterprise websites.
a.
Virtual Hosting
b.
Free Web Hosting
c.
Dedicated Hosting
d.
none of the above
 

 76. 

The type of testing that observes how actual web page visitors use a website is called____.
a.
Visitor testing
b.
Usability testing
c.
beta testing
d.
client acceptance testing
 

 77. 

The _______________ determines appropriate use of graphics on the site, creates and edits graphics.
a.
Project Manager
b.
Copy Editor
c.
Graphic Designer
d.
Information Architect
 

 78. 

The _________ operating system(s) treat uppercase and lowercase letters differently.
a.
UNIX
b.
Linux
c.
Windows
d.
both a and b
 

 79. 

An alternative to creating all or part of a website within your organization is to use____.
a.
outsourcing
b.
ready-made web site
c.
a free web page at a free web host
d.
none of the above
 

 80. 

Before selecting a web host provider, it is a good idea to____.
a.
try to contact their technical support
b.
make sure they are the cheapest possible
c.
carefully read their service level agreementa free web page at a free web host
d.
both a and c
 

 81. 

A _____________ is a word, phrase, symbol, or design that identifies and distinguishes the source of the goods of one party from those of others.
a.
copyright
b.
trademark
c.
domain name
d.
web host
 

 82. 

A _______________ involves the exclusive use of a rented computer and connection to the Internet that is housed in the web hosting company's premises.
a.
virtual hosting agreement
b.
dedicated web server
c.
co-located web server
d.
private registration
 

 83. 

The _______________ focuses on the user’s experience with the website.
a.
Project Manager
b.
UX Designer
c.
Graphic Designer
d.
Information Architect
 

 84. 

What do team members do during the Analysis phase of a website project?
a.
determine what the site will do, not how it will be done
b.
determine the information topics of the site
c.
determine the content requirements of the site
d.
all of the above
 

 85. 

Which of the following are included in the role of an information architect?
a.
being instrumental in defining the site organization, navigation, and labeling
b.
attending all meetings and collecting all information
c.
managing the project
d.
none of the above
 

 86. 

What is the purpose of private registration for a domain name?
a.
It protects the privacy of your website.
b.
It is the cheapest form of domain name registration.
c.
It protects the privacy of your contact information.
d.
None of the above
 

 87. 

Which methodology is often used by web project teams?
a.
the SDLC
b.
a derivative of the SDLC that is similar to the one discussed in our text
c.
a methodology that is decided as the project is built
d.
no development methodology is necessary
 

 88. 

Which of the following should be included when testing a website?
a.
checking all of the hyperlinks within the site b. viewing the site in a variety of web browsers
b.
viewing the site in a variety of web browsers
c.
viewing the site in a variety of screen resolutions
d.
all of the above
 

 89. 

In which phase is a prototype of the website often created?
a.
Design phase
b.
Conceptualization phase
c.
Production phase
d.
Analysis phase
 

 90. 

Which web hosting option is characterized by “exclusive use of a computer and connection to the Internet that is housed on the web hosting company’s premises”?
a.
dedicated hosting
b.
free web hosting
c.
virtual hosting
d.
co-located hosting
 

Matching
 
 
Chapters 7, 8, & 10 True/False
a.
True
b.
False
 

 91. 

A benefit of using the CSS Sprites technique is to decrease the number of HTTP request calls to the web server.
 

 92. 

The W3C’s concept of “One Web” relates to providing a single resource that is configured for optimal display on multiple types of devices.
 

 93. 

It is possible to use CSS to configure page breaks in a printed web page.
 

 94. 

A hyperlink with the phone: scheme may cause a web browser on a mobile device to initiate a phone call.
 

 95. 

Mobile web pages should contain exactly the same content as web pages intended for display on desktop browsers.
 

 96. 

The CSS border-spacing property can be used to configure the horizontal and vertical spacing of table borders.
 

 97. 

The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell.
 

 98. 

It is recommended to register multiple domain names for a website.
 

 99. 

There is no reason to consider the operating system of the web server when selecting a Web host.
 

 100. 

Commercial businesses should register a domain name with an .org TLD.
 



 
Check Your Work     Start Over