Sie sind auf Seite 1von 9

Test 2 CS215 Spg 12

True/False
Indicate whether the statement is true or false.

____

1. The table marked 1 in the figure above has a frame value of border.

____

2. The table marked 5 in the figure above has a frame value of lhs.

____

3. A password text box hides text entered by the user.

____

4. To move to the next text box, press the Alt key while holding down the Shift key.

____

5. The item marked 1 in the figure above is an example of embedded media.

____

6. The tradeoff in increasing the sampling rate is that it decreases the size of the sound file.

____

7. The frame element is used to describe how frames are organized and displayed within the browser window.

____

8. The ampersand instructs the browser to allocate any unclaimed space in the frameset to the given row or
column.

____

9. You must insert the <frameset> tag between the opening and closing <frame> tags.

____ 10. In HTML, browsers usually reject documents that violate HTML syntax.
____ 11. When a validator reports that the end tag for an element is missing, it always means that a two-sided tag is
missing an end tag.
____ 12. Once you have a document that passes the validation test, you may want to make a note of this on your Web
page.
____ 13. JavaScript code can be inserted directly into an HTML or XHTML file, or placed in a separate text file that is
linked to the Web page.
____ 14. Function parameters must be placed within parentheses, following the function name, and the parameters
must be separated by periods.
Multiple Choice
Identify the choice that best completes the statement or answers the question.
____ 15. In the <caption> tag, an alignment value of ____ places the caption above the table.
a. above
c. top
b. over
d. central
____ 16. A ____ table contains only text, evenly spaced on the Web page in rows and columns.
a. columnar text
c. preformatted text
b. row-based
d. graphical
____ 17. To create a cell that spans two rows in a table, you enter the <td> tag as ____.
a. <td colspan>2>
c. <td rowspan=2>
b. <td rowspan>2>
d. <td colspan=2>
____ 18. By default, cell text is placed ____.
a. in the middle of the cell, aligned with the cells right edge
b. in the middle of the cell, aligned with the cells left edge
c. at the bottom of the cell, aligned with the cells right edge
d. at the bottom of the cell, aligned with the cells left edge
Case-Based Critical Thinking Questions
Case 5-1

Crystal is trying to build a table to display her inventory of items she sells in her online boutique. She wants
to display the picture, name, quantity in stock, and price for each item.
____ 19. How many columns would Crystal's table need to have as a minimum?
a. 2
c. 4
b. 3
d. 5
Case-Based Critical Thinking Questions
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.
____ 20. Julio wants the display the name of the band at the top of the table. Which element should he use to do this?
a. tbody
c. td
b. caption
d. colgroup
____ 21. Information entered into a field is called the field ____.
a. index
c. attribute
b. rating
d. value

____ 22. The items marked ____ in the accompanying figure are input boxes.
a. 1
c. 4
b. 2
d. 7
____ 23. The item marked 5 in the accompanying figure is a ____ set.
a. text
c. check
b. field
d. form
____ 24. If you do not include the type attribute in an <input> tag, the Web browser assumes that you want to create
a(n) ____.
a. check box
c. option button
b. input box
d. submit button
____ 25. ____ buttons can be placed into a group so that selecting one deselects all of the others.
a. Checkbox
c. Command
b. Image
d. Radio
____ 26. To group option buttons so that selecting one deselects all of the others, you must make the ____ attribute the
same.
a. name
c. id
b. type
d. value
____ 27. To make a check box selected by default, you add ____.
a. selected="true"
c. checked="checked"
b. selected="selected"
d. checked="true"
____ 28. In a text area, if wrap is set to ____, text wraps automatically to the next row when it extends beyond the
width of the text box.
a. soft
c. off
b. hard
d. either a or b
____ 29. Internet Explorer inserts the Flash Player as a(n) ____ control.
a. Class
c. AVI
b. Quicktime
d. ActiveX
Case-Based Critical Thinking Questions
Case 7-2
Laser Cats is a techno band that has created a Web site to provide people with information about them as well
as tour dates, band pictures, and concert clips.
____ 30. Each band member has a picture and a video. To set it up so that either the video or the picture displays, they
could use a(n) ____ if they knew their audience uses Internet Explorer.
a. conditional comment
c. dynamic resource
b. optional source
d. flash source
____ 31. If you use a frame, you should also provide a ____ version.
a. frame border
c. frame set
b. nonframed
d. scaled back

____ 32. In the figure above, which part is the logo frame?
a. 1
c. 3
b. 2
d. none of the above
____ 33. In the figure above, which part is the content frame?
a. 1
c. 3
b. 2
d. none of the above
____ 34. The general syntax for creating an HTML file with frames includes ____.
a. the organization of the frames
b. the way the frames are displayed
c. the documents displayed within the frames
d. all of the above
____ 35. Which of the following aspects of a frames appearance can you control?
a. the appearance of scroll bars
b. the size of the margin between the source document and the frame border
c. whether or not the user is allowed to resize the frames
d. Any of the above
____ 36. In the <frame> tag, if scrolling is set to ____, the scroll bars will display.
a. yes
c. show
b. on
d. display
____ 37. To allow your Web site to be viewable using browsers that do not support frames, as well as by those that do,
you can use the ____ tag to create a section of your HTML file containing code for browsers incapable of
viewing frames.
a. <noframeset>
c. <noframes>
b. <body>
d. <frames>

Case-Based Critical Thinking Questions


Case 8-2
Marie's Violin shop has just decided to go global by creating a Web site. Charlene is intending to build the site
using frames. She has a company logo in a graphics file, and then wants to have the content show below it on
the left and the navigational links show below it on the right.
____ 38. Charlene was thinking about changing the content area to have two rows. How many framesets would she
need to do this?
a. 3
c. 1
b. 2
d. 0
____ 39. Which attribute(s) are required for the img tag?
a. alt
c. a and b
b. src
d. none of the above

____ 40. In the figure above, the item numbered 2 indicates the ____.
a. XML parser
c. DTD id
b. DTD declararation
d. XML prolog
Case-Based Critical Thinking Questions
Case 9-1
Franks custom carpentry has a Web site that is designed to appeal to all sorts of customers. Frank wants his
site to be compatible even with users who might even still use dialup and older browsers.
____ 41. In Franks case, he should probably use which XHTML DTD to cover the most browsers?
a. strict
c. transitional
b. frameset
d. none of the above
Case-Based Critical Thinking Questions
Case 9-2
Under the Sea is a scuba shop that sells new wave scuba gear to hip urban teens and young adults. The Web
developer, Mary, wants the pages to be designed for use on cell phones and other hand-held devices their
young audiences carry.
____ 42. The Web developer wants to make the pages their best, so she should make the pages ____.
a. well-formed
c. both a and b
b. valid
d. none of the above
____ 43. On her online order form, how should she build the attribute for the checkbox that will be selected by default
when page is viewed?

a. checked="checked"
b. checked="ok"
____ 44. ____ is essentially junk e-mail.
a. Spam
b. Client-side

c. selected="selected"
d. selected="ok"
c. Server-side
d. An e-mail harvester

____ 45. ____ is an interpreted language, meaning that the program code is executed directly without compiling.
a. JavaScript
c. C++
b. Java
d. All of the above
____ 46. You use the ____ tag to distinguish JavaScript code from the text that you want displayed on a Web page.
a. <code>
c. <script>
b. <JavaScript>
d. <js>
____ 47. Another method to write text to the Web page is the ____ method.
a. document.writeln()
c. document.insrtln()
b. document.writeline()
d. document.insrtline()
____ 48. In naming a variable, the first character must be either a letter or a(n) ____.
a. underscore
c. number sign
b. pound sign
d. ampersand
____ 49. When used with both numbers and text, the ____ symbol treats the numbers as text.
a. ++
c. *
b. +
d. ~
____ 50. When variables are not strictly tied to specific data types, programmers refer to the language as a ____ typed
language.
a. strongly
c. weakly
b. loosely
d. strictly
____ 51. A reference to an external Javascript file is normally placed in the ____ section of an HTML document,
according to good design principles.
a. body
c. title
b. head
d. paragraph

Test 2 CS215 Spg 12


Answer Section
TRUE/FALSE
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.

ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:

F
T
T
F
T
F
F
F
F
F
F
T
T
F

PTS:
PTS:
PTS:
PTS:
PTS:
PTS:
PTS:
PTS:
PTS:
PTS:
PTS:
PTS:
PTS:
PTS:

1
1
1
1
1
1
1
1
1
1
1
1
1
1

REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:

HTML 296
HTML 296
HTML 353
HTML 380
HTML 413
HTML 414
HTML 483
HTML 485
HTML 487
HTML 527
HTML 544
HTML 551
HTML 568
HTML 583

C
PTS:
C
PTS:
C
PTS:
B
PTS:
C
PTS:
B
PTS:
Critical Thinking
D
PTS:
A
PTS:
B
PTS:
B
PTS:
D
PTS:
A
PTS:
C
PTS:
D
PTS:
D
PTS:
C
PTS:
B
PTS:
A
PTS:
C
PTS:
D
PTS:
D
PTS:
A
PTS:
C
PTS:

1
1
1
1
1
1

REF:
REF:
REF:
REF:
REF:
REF:

HTML 284
HTML 291
HTML 279
HTML 297|HTML 298
HTML 273 TOP: Critical Thinking
HTML 273|HTML 285

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:

HTML 346
HTML 347
HTML 351
HTML 353
HTML 366
HTML 366
HTML 378
HTML 381
HTML 435
HTML 446 TOP: Critical Thinking
HTML 481
HTML 483
HTML 483
HTML 483|HTML 484
HTML 490
HTML 490
HTML 502

MULTIPLE CHOICE
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.

ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
TOP:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:

38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.

ANS:
ANS:
ANS:
ANS:
ANS:
TOP:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:
ANS:

A
PTS:
C
PTS:
C
PTS:
C
PTS:
C
PTS:
Critical Thinking
A
PTS:
A
PTS:
A
PTS:
C
PTS:
A
PTS:
A
PTS:
B
PTS:
C
PTS:
B
PTS:

1
1
1
1
1

REF:
REF:
REF:
REF:
REF:

HTML 488 TOP: Critical Thinking


HTML 537
HTML 538
HTML 533 TOP: Critical Thinking
HTML 531|HTML 532

1
1
1
1
1
1
1
1
1

REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:
REF:

HTML 532
HTML 564
HTML 568
HTML 569
HTML 573
HTML 578
HTML 581
HTML 581
HTML 590

TOP: Critical Thinking

Das könnte Ihnen auch gefallen