Chapter 11
List at least two reasons not to use audio or video on a web page.
Answers will vary but may include the following: large file size to download, uneven support of browser plug-ins, and the time, talent,a nd software required to create audio or video content.
Describe a type of copyright license that empowers the author/artist to grant some, but not all, rights for using his or her work.
Creative Commons at http://ceative.commons.org provides a free service that allows authors and artists to register a type of a copyright license. The Creative Commons license informs others exactly what they can and cannot do with the creative work.
The _____________________________ defines every object and element on a web page.
Document Object Model (DOM)
When displaying a Java applet, the browser invokes the _________________________ to interpret the bytecode into the appropriate machine language.
Java Virtual Machine (JVM)
A file that contains a Flash animation uses the ___________________ file extension.
a. .class b. .swf (correct) c. .mp3 d. .flash
Which code provides a hyperlink to an audio file called hello.mp3?
a. <object data="hello.mp3"> b. <a href="hello.mp3">Hello (Audio File)</a>(correct) c. <object data="hello.mp3"></object> d. <link src="hello.mp3>
Which of the following can describe Ajax?
a. It is an object-based scripting language. b. It is the same as Web 2.0 c. It is a web development technique for creating interactive web applications. (correct) d. It is an obsolete technology.
Which of the following is true of Java applets?
a. Java applets are contained in files with the .class extension. (correct) b. Java applets are not copyrighted. c. Java applets must be saved in a different folder than web pages. d. Java is an advanced form of JavaScript.
Which of the following statements is true?
a. JavaScript is an object-based scripting language. (correct) b. JavaScript is an easy form of Java. c. JavaScript was created by Microsoft. d. JavaScript is an obselete technology.
What happens when a browser does not support the video or audio element?
a. The computer crashes. b. The web page does not display. c. The fallback content, if it exists, will display. (correct) d. The browser closes.
Which of the following is an open-source video codec?
a. Theora (correct) b. Vorbis c. MP3 d. Flash
Which of the following should you do to provide for usability and accessibility?
a. Use video and sound whenever possible. b. Supply text descriptions of audio and video files that appear on your web pages. (correct) c. Never use audio and video files. d. None of the above
What type of files are .wav, .aiff, .mid, and .au?
a. audio files (correct) b. video files c. both audio and video files d. image files
Which property provides a way for you to rotate, scale, skew, or move an element?
a. display b. transition c. transform (correct) d. relative
A(n) _________________________ is a protocol that allows software components to communicate--interacting and sharing data.
application programming interface (API)
Use of a copyrighted work for purposes such as criticism, reporting, teaching, scholarship, or research is called ______________________.
fair use
The file extensions .webm, .ogv, and .m4v indicate types of ____________________ files.
video