Name: 
 

Skills Practice - HTML/XHTML - Tutorial 8



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

 1. 

One of the most popular and useful features of the Web is the ability to transfer information through the use of sound and video.
 

 2. 

One of the primary goals when using multimedia is to create media clips that are compact in size without sacrificing quality.
 
 
nar001-1.jpg
 

 3. 

The item marked 2 in the figure above is an example of external media.
 

 4. 

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

 5. 

A sound wave is a discontinuous function.
 

 6. 

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

 7. 

Increasing the sample resolution creates a digital sound file that represents the analog sound more accurately and results in a smaller file size.
 

 8. 

Stereo provides a richer sound than mono, but at the expense of approximately quadrupling the size of the sound file.
 

 9. 

MP3 is an open standard, allowing for greater innovation from developers creating MP3-related software.
 

 10. 

When multimedia elements were first added to Web pages, all media was streaming.
 

 11. 

Some sound clips have copyright restrictions.
 

 12. 

If you do not want to create your own sound clips, many sites on the Web maintain archives of sound clips that you can download.
 

 13. 

Because media clips tend to be large, it is a good idea to include information about their format and size in your Web page.
 

 14. 

When your browser encounters a link to an external file, like a sound file, it checks to see if there is a program installed on your system designed to handle that type of file.
 

 15. 

A browser does not need access to a plug-in in order to use embedded objects.
 

 16. 

One problem with plug-ins is that they require users to download and install additional software before being able to view the Web page.
 
 
nar002-1.jpg
 

 17. 

According to the HTML code in the figure above, the sound clip on this Web page will play automatically.
 

 18. 

The item marked 1 in the figure above is an embedded video clip.
 

 19. 

The items marked 2 in the figure above are the width and height of the clip controls.
 

 20. 

You can reduce the size of your video files by simply reducing the size of the video frames.
 

 21. 

Video players for AVI files are only available for the Macintosh operating system.
 

 22. 

Using the preview attribute of the <img> tag allows you to display a GIF or JPEG image as a preview of the inline video clip.
 

 23. 

A Java applet is an external file that is downloaded and executed by your browser.
 

 24. 

Some applets can appear outside of your browser, in separate windows that can be resized, minimized, and placed on the desktop.
 

 25. 

Some Java applets require several .class files.
 

 26. 

With a scrolling marquee, the default direction is down.
 

 27. 

The current specifications for HTML and XHTML call for the use of the object element to be replaced by the embed and applet elements.
 

 28. 

Each MIME data type has a name associated with it.
 

 29. 

Each MIME data type has a name associated with it.
 

Modified True/False
Indicate whether the statement is true or false. If false, change the identified word or phrase to make the statement true.
 

 30. 

A(n) inline media clip works like an inline image and can be played within the Web page itself. _________________________

 

 31. 

An advantage of using a(n) inline file is that users are not required to retrieve the multimedia clip, but only do so if they want to. _________________________

 

 32. 

A downside of using external media is that the user is forced to wait for the clip to be retrieved by the browser. _________________________

 

 33. 

With respect to a sound wave, the lower the amplitude, the louder the sound. _________________________

 

 34. 

Sounds with high frequency have lower pitches. _________________________

 

 35. 

SND is one of the most common sound formats on the Web; support for this format is built in to the Microsoft Windows operating system and both of the leading browsers. _________________________

 

 36. 

The various sound formats are used by different operating systems and provide varying levels of sound quality and sound compression. _________________________

 

 37. 

The quickbegin attribute is used to determine whether or not the browser starts the embedded clip automatically when the Web page is loaded. _________________________

 

 38. 

Your video editor usually allows you to choose the codec for your video file. _________________________

 

 39. 

A frame size of 160 pixels wide by 120 pixels high is considered standard on the Web. _________________________

 

 40. 

MPEG-1 files are appropriate for digital television and DVDs. _________________________

 

 41. 

MPEG-1 files are low-resolution files used on the Web for short animated files. _________________________

 

 42. 

Both Internet Explorer and Netscape are capable of displaying AVI and MOV files directly within the browser with the use of plug-ins. _________________________

 

 43. 

HotJava was a Java compiler, meaning that it could understand and run Java programs. _________________________

 

 44. 

The TEXT parameter of a Java applet specifies whether the text in the applet window is repeated. _________________________

 

 45. 

With the <marquee> tag, the default for the begin attribute is 2 (seconds). _________________________

 

 46. 

With the behavior attribute of the <marquee> tag, the reverse value causes the text to reverse its direction when it reaches the container’s edge. _________________________

 

 47. 

With the <marquee> tag, the scrollamount attribute determines the amount of space, in pixels, that the text moves each time it advances across the page. _________________________

 

 48. 

ActiveX was born as Microsoft’s response to Java. _________________________

 

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

 49. 

Large sound and video files cause the most trouble for users with low-____ connections.
a.
bandwidth
b.
resolution
c.
frequency
d.
intensity
 

 50. 

Each measurement of a sound wave is called a(n) ____.
a.
index
b.
sample
c.
metric
d.
cycle
 

 51. 

The sampling rate is measured in ____.
a.
MHz
b.
MB
c.
KHz
d.
GB
 

 52. 

Which of the following is a component to the sound wave?
a.
frequency
b.
amplitude
c.
sample rate
d.
Both A and B
 
 
nar003-1.jpg
 

 53. 

The item marked 1 in the figure above is the wave’s ____.
a.
amplitude
b.
sample rate
c.
frequency
d.
resolution
 

 54. 

The item marked 2 in the figure above is the wave’s ____.
a.
amplitude
b.
frequency
c.
resolution
d.
sample rate
 

 55. 

Which of the following are commonly used sample resolution values?
a.
1 bit, 2 bit, and 4 bit
b.
4 bit, 8 bit, and 12 bit
c.
8 bit, 16 bit, and 32 bit
d.
8 bit, 16 bit, and 64 bit
 

 56. 

For most applications, saving sound files at the ____ bit resolution provides a good balance of sound quality and file size.
a.
1
b.
4
c.
8
d.
16
 

 57. 

When determining the number of channels to use in creating a sound file, the choice is between stereo or ____ sound.
a.
monaural
b.
telephonic
c.
DAT
d.
resolved
 

 58. 

Which of the following sound qualities is an example of monaural sound?
a.
radio
b.
telephone
c.
CD
d.
All of the above
 

 59. 

Which of the following do you need to create a sound file?
a.
sound card
b.
speakers
c.
microphone
d.
All of the above
 

 60. 

____ was developed by Apple for use on the Macintosh operating system.
a.
AU
b.
MIDI
c.
AIFF
d.
MPEG
 

 61. 

____ sound files have 8-bit sample resolutions, use a sampling rate of 8 KHz, and are recorded in mono.
a.
AU
b.
AIFF
c.
RealAudio
d.
WAV
 

 62. 

The ____ format represents sound by recording each note’s pitch, length, and volume.
a.
RealAudio
b.
MIDI
c.
WAV
d.
SND
 

 63. 

The most recent ____ standard is MP3.
a.
MIDI
b.
RealAudio
c.
MPEG
d.
AIFF
 

 64. 

The ____ format is not widely supported on the Web.
a.
WAV
b.
MPEG
c.
RealAudio
d.
SND
 

 65. 

____ files can be recorded in 8-bit or 16-bit sample resolutions, in stereo or mono, and under a wide range of sampling rates.
a.
WAV
b.
SND
c.
MPEG
d.
AU
 

 66. 

Web sites designed primarily for UNIX workstations often use the ____ sound format.
a.
RealAudio
b.
AU
c.
AIFF
d.
MIDI
 

 67. 

If your users primarily work on Macintosh systems, you should consider using ____.
a.
AIFF
b.
SND
c.
WAV
d.
Either A or B
 

 68. 

The most common sound file format on the Web today is ____.
a.
AU
b.
AIFF
c.
MP3
d.
MIDI
 

 69. 

Since its introduction, ____ has expanded past the confines of the Web and is readily available in portable music players and car stereos.
a.
MP3
b.
MIDI
c.
AIFF
d.
WAV
 

 70. 

A ____ sound format must be completely downloaded by the user before it can be played.
a.
streaming
b.
nonstreaming
c.
contiguous
d.
digital
 

 71. 

RealAudio introduced ____ media in which media clips, including both sound and video, are processed in a steady and continuous stream as they are downloaded by the browser.
a.
nonstreaming
b.
contiguous
c.
streaming
d.
digital
 

 72. 

____ is a standard for synthesizers and sound cards.
a.
WAV
b.
MP3
c.
AIFF
d.
MIDI
 

 73. 

The ____ format is limited to music and cannot be used for general sounds, such as speech.
a.
MIDI
b.
AIFF
c.
WAV
d.
MP3
 

 74. 

____ are programs that enable the browser to work with an embedded object.
a.
Applets
b.
Plug-ins
c.
Browslets
d.
Either A or C
 

 75. 

With the embed element, the width and height of the object are measured in ____.
a.
points
b.
inches
c.
pixels
d.
picas
 

 76. 

With the <embed> tag, enter a value of ____ = “true” for the clip to begin automatically.
a.
autobegin
b.
selfbegin
c.
quickbegin
d.
autostart
 

 77. 

With the <bgsound> tag, the value of the ____ attribute can range from -10,000 up to 10,000.
a.
balance
b.
loop
c.
volume
d.
target
 

 78. 

With the <bgsound> tag, the value of the volume attribute ranges from 0 (muted) up to ____.
a.
1,000
b.
10,000
c.
100,000
d.
1,000,000
 

 79. 

The default loop value for the <bgsound> tag is ____.
a.
0
b.
none
c.
1
d.
10
 

 80. 

The number of frames shown in each unit of video is expressed as ____.
a.
MHz
b.
GHz
c.
fz
d.
fps
 

 81. 

Developed by Microsoft, ____ is a popular streaming video format, in which files are often smaller than other streaming video formats.
a.
RealVideo
b.
MPEG
c.
QuickTime
d.
Windows Media
 

 82. 

A common video file format developed by Microsoft, ____ video quality can be very good at smaller resolutions, but files tend to be rather large.
a.
AVI
b.
MPEG
c.
QuickTime
d.
RealVideo
 

 83. 

____ is a video format developed by Apple Computer for Windows and Apple computers.
a.
MPEG
b.
AVI
c.
RealVideo
d.
QuickTime
 

 84. 

To embed a video file, you can use the ____ tag.
a.
<video>
b.
<link>
c.
<embed>
d.
<inline>
 

 85. 

To embed a video file, you must specify a source for the embedded video clip with the ____ attribute and a size for the clip using the height and width attributes.
a.
link
b.
frame
c.
embed
d.
src
 

 86. 

The ____ tag provides a way to support older browsers that do not recognize the <embed> tag.
a.
<noembed>
b.
<video>
c.
<media>
d.
<audio>
 

 87. 

The ____ attribute allows you to specify a video clip that is associated with an inline image.
a.
inline
b.
dynsrc
c.
image
d.
videolink
 

 88. 

An applet is displayed as an embedded object on your Web page in an applet ____.
a.
frame
b.
manager
c.
window
d.
index
 

 89. 

To write your own Java applet, you need a(n) ____.
a.
JDK
b.
applet window
c.
external file
d.
All of the above
 

 90. 

The executable filename for a Java program is called a(n) ____ file.
a.
.exe
b.
.class
c.
.java
d.
.js
 

 91. 

Compiling a Java file creates a(n) ____ file that can run by itself without the JDK.
a.
resolved
b.
target
c.
executable
d.
parameter
 

 92. 

In the <applet> tag, the ____ attribute provides a text description of the applet for browsers that do not support applets.
a.
alt
b.
text
c.
string
d.
preload
 

 93. 

In the <applet> tag, the ____ attribute specifies the location of the .class file, if it is different from the Web page.
a.
location
b.
codebase
c.
whereclass
d.
wherefile
 

 94. 

In the <applet> tag, the ____ attribute specifies the filename of the .class file.
a.
file
b.
filename
c.
code
d.
class
 

 95. 

The object element replaces which of the following elements?
a.
img
b.
embed
c.
applet
d.
All of the above
 

 96. 

In the <object> tag, the ____ attribute is used to indicate the source of the data for the embedded object.
a.
data
b.
classid
c.
source
d.
codebase
 

 97. 

In the <object> tag, the ____ attribute indicates the type of data to be embedded.
a.
sort
b.
type
c.
category
d.
data
 

 98. 

For which of the following types of files do you need to specify a value for the classid attribute in the <object> tag?
a.
inline images
b.
video files
c.
Java applets
d.
All of the above
 

Completion
Complete each statement.
 

 99. 

____________________ is a measure of the amount of data that can be sent through a communications circuit each second.
 

 

 100. 

The ____________________ is the height of a sound wave.
 

 

 101. 

The ____________________ is the speed at which the sound wave moves.
 

 

 102. 

The number of samples taken per second is called the sampling ____________________.
 

 

 103. 

Sample ____________________ indicates the precision in measuring the sound within each sample.
 

 

 104. 

MIDI stands for ______________________________.
 

 

 105. 

____________________ applications help the browser to interpret and present an external file.
 

 

 106. 

A(n) ____________________ object is any media clip, program, or other object that can be run or viewed from within the Web page.
 

 

 107. 

In a video file, each ____________________ represents a single image.
 

 

 108. 

The number of frames shown in each unit of time is called the ____________________ and is expressed as frames per second.
 

 

 109. 

One way of controlling the size of a video file is by compressing each ____________________.
 

 

 110. 

The technique of compressing and decompressing video frames is called a(n) ____________________.
 

 

 111. 

If your video clip contains a(n) ____________________ track, you can reduce the sampling rate, sample resolution, or the number of channels to further reduce the size of the video file.
 

 

 112. 

Developed by Apple Computer for the Macintosh, ____________________ movies can also be played in Windows if the user has installed the proper software and drivers.
 

 

 113. 

Developed by RealNetworks, ____________________ uses streaming media technology to provide live video over low- and high-bandwidth connections.
 

 

 114. 

Each Java program is called a(n) ____________________.
 

 

 115. 

In the process of ____________________, a Java file is changed into an executable file that can be run by itself without the JDK.
 

 

 116. 

In the behavior attribute of the <marquee> tag, the ____________________ behavior stops the text once it reaches the end of the container.
 

 

 117. 

MIME stands for ______________________________.
 

 

Matching
 
 
Identify the letter of the choice that best matches the phrase or definition.
a.
bandwidth
e.
streaming
b.
amplitude
f.
embedded object
c.
frequency
g.
codec
d.
nonstreaming
h.
applet
 

 118. 

A Java program
 

 119. 

A measure of the amount of data that can be sent through a communications circuit each second
 

 120. 

Format that must be completely downloaded by the user before it can be played
 

 121. 

The speed at which a sound wave moves
 

 122. 

Technique of compressing and decompressing video frames
 

 123. 

Any media clip that can be run or viewed from within the Web page
 

 124. 

The height of a sound wave
 

 125. 

Format in which media clips are processed in a steady and continuous stream as they are downloaded by the browser
 

Short Answer
 

 126. 

In general terms, how do sound formats differ?
 

 127. 

What is the advantage and disadvantage of RealAudio files compared to AU or WAV files?
 

 128. 

What happens if you try to play a sound clip and the browser does not find a helper application?
 

 129. 

What is the main problem with plug-ins?
 

 130. 

What plug-ins do Netscape and Internet Explorer provide for embedded sound clips?
 

 131. 

What is the syntax of the <embed> tag?
 

 132. 

How do you play a background sound continuously using the <bgsound> element?
 

 133. 

To what do “width” and “height” in the <embed> tag refer?
 

 134. 

What is the syntax of the <bgsound> tag?
 

 135. 

What is one way to ensure that your video clips can reach the maximum audience?
 

 136. 

What is the general syntax of the <noembed> tag?
 

 137. 

What is the syntax of the <applet> tag, including parameters?
 

 138. 

What is an advantage of the codebase attribute in the <applet> tag?
 

 139. 

Is it appropriate to use the codebase attribute to run someone else’s Java applet from that person’s Web server?
 

 140. 

If you place text in a <marquee> tag, how will it display on browsers that do not support scrolling text?
 

 141. 

Why should you show restraint when it comes to the <marquee> tag?
 

 142. 

What are the four types of embedded objects that can exist on your Web page?
 

 143. 

Explain what the codetype and data attributes of the object element specify.
 

 144. 

What are the repercussions if you do not specify a value for the type attribute?
 

 145. 

What are the MIME names for the following types of files: WAV, MIDI, and MP3?
 

Essay
 

 146. 

What are the two ways in which multimedia can be added to a Web page? What are the advantages and disadvantages of each?
 

 147. 

What is the MIDI format? What are the advantages and disadvantages of MIDI?
 

 148. 

What should you do if you want to include a background sound on a page to be viewed on browsers other than Internet Explorer? Write an example of a tag to accomplish this.
 

 149. 

Describe three attributes that you can use in the <img> tag along with the dynsrc tag.
 

 150. 

Provide at least three tips for using multimedia in your Web page.
 



 
Check Your Work     Start Over