1. What is the advantage of the code produced graphics being smaller than the images themselves? A. Bandwidth saving B. Increase in bandwidth C. Dynamic advantages D. None of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A Solution: The code used to produce graphics on the client side is typically much smaller than the images themselves, creating a substantial bandwidth savings.
2. Which of the following uses a lot of CPU cycles? A. GUI B. Statically generated graphics C. Dynamically generated graphics D. All of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C Solution: Dynamically generating graphics from real-time data uses a lot of CPU cycles.
3. Which HTML element is used to include images? A. image B. img C. src D. sourceimg Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B Solution: Web pages include images using the HTML img element.
4. What is the purpose of image replacement? A. To replace an image B. To implement special effects C. Removal of image rollovers D. Implementation of image rollovers Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D Solution: One common use for image replacement is to implement image rollovers, in which an image changes when the mouse pointer moves over it.
5. When is JavaScript called obtrusive? A. JavaScript code is medium sized B. JavaScript code is so small C. JavaScript code is so large D. All of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C Solution: When the amount of JavaScript code is so large that it effectively obscures the HTML, we call JavaScript as obtrusive.