ExamVeda
Login
Home
1
What is the advantage of the code produced graphics being smaller than the images themselves?
Discuss
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?
Discuss
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?
Discuss
Answer & Solution
Answer: Option B
Solution:
Web pages include images using the HTML img element.
4
What is the purpose of image replacement?
Discuss
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?
Discuss
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.
6
Which is a possible way of finding all the img elements in the document?
Discuss
Answer & Solution
Answer: Option B
Solution:
The best suited option is document.image[] to find all img elements in the document.
7
Which of the following elements are used to include audio?
Discuss
Answer & Solution
Answer: Option A
Solution:
The audio tag is used to include audio in the HTML document.
8
Which of the following attributes are common to both audio and video?
Discuss
Answer & Solution
Answer: Option C
Solution:
Both audio and video support a controls attribute.
9
Which of the following is not the property of the video tag?
Discuss
Answer & Solution
Answer: Option C
Solution:
The video tag does not contain a breadth property.
10
Which of the following is the parameter used to invoke the Audio() constructor?
Discuss
Answer & Solution
Answer: Option C
Solution:
The parameter type of the Audio() constructor is any file type that contains audio to be played.