Review Questions Ch 11

pdf

School

University of the Fraser Valley *

*We aren’t endorsed by this school

Course

145

Subject

Computer Science

Date

Jan 9, 2024

Type

pdf

Pages

4

Uploaded by GeneralKingfisher3554

Report
Review Questions Multiple Choice 1. Which property provides a way for you to rotate, scale, skew, or move an element? a. display b. transition c. transform d. relative ANSWER: (c) 2. Which code provides a hyperlink to an audio file called hello.mp3? a. <audio data="hello.mp3"> </audio> b. <a href="hello.mp3">Hello (Audio File)</a> c. <canvas data="hello.mp3"></canvas> d. <link src="hello.mp3"> ANSWER: (b) 3. What type of files are .wav, .aiff, .mid, and .au? a. audio files b. video files c. both audio and video files d. image files ANSWER: (a) 4. 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. c. Never use audio and video files. d. none of the above
ANSWER: (b) 5. 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. d. The browser closes. ANSWER: (c) 6. Which of the following is an object-based, client-side scripting language? a. JavaScript b. HTML c. CSS d. API ANSWER: (a) 7. Which is an HTML API that stores information on the client? a. web storage b. geolocation c. canvas d. client storage ANSWER: (a) 8. Which of the following is an open-source video codec? a. Theora b. Vorbis c. MP3 d. Wave ANSWER: (a) 9. Which elements can be used to configure an interactive widget?
a. hide and show b. details and summary c. display and hidden d. title and summary ANSWER: (b) 10. Which of the following can describe Ajax? a. It is an object-based scripting language. b. It is a useful HTML element. c. It is a web development technique for creating interactive web applications. d. It is a CSS property. ANSWER: (c) Fill in the Blank 11. A(n) is a protocol that allows software components to communicate—interacting and sharing data. ANSWER: (Protocol) 12. Use of a copyrighted work for purposes such as criticism, reporting, teaching, scholarship, or research is called . ANSWER: (fair use) 13. The file extensions .webm, .ogv, and .m4v indicate types of files. ANSWER: (video)
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
14. CSS animations provide a way to animate the values of over time. ANSWER: (CSS properties) 15. The defines every object and element on a web page. ANSWER: (Document Object Model) Short Answer 16. List at least two reasons not to use audio or video on a web page. ANSWER: Avoiding audio or video on a webpage is prudent for accessibility reasons, as some users may find such content challenging due to disabilities. Additionally, large media files can impede page load times, adversely affecting the user experience. 17. Describe a type of copyright license that empowers the author/artist to grant some, but not all, rights for using his or her work. ANSWER: A Creative Commons license allows authors/artists to selectively grant usage rights for their work, offering a flexible approach where some, but not all, rights are conveyed.