Notes: Answer: a
Explanation: The code used to produce graphics on the client side is typically much smaller than the images themselves, creating substantial bandwidth savings.
568). Which of the following uses a lot of CPU cycles?
Notes: Answer: c
Explanation: Dynamic graphics for data, means simulating motion or movement using the computer. It may also be thought of as multiple plots linked by time. Dynamically generating graphics from real-time data uses a lot of CPU cycles.
569). Which HTML element is used to include images?
Notes: Answer: d
Explanation: Image replacement is a technique developed to allow designers to use image-based typesetting while meeting accessibility requirements. One common use for image replacement is to implement image rollovers, in which an image changes when the mouse pointer moves over it.
571). When is JavaScript called obtrusive?
[A]JavaScript code is medium sized [B] JavaScript code is small [C] JavaScript code is so large [D]JavaScript code is Very small
Notes: Answer: c
Explanation: When the amount of JavaScript code is so large that it effectively obscures the HTML, we call JavaScript as obtrusive. On the other hand unobtrusive JavaScript is a best practice methodology for attaching JavaScript to the front-end of a website.
572). Which is a possible way of finding all the img elements in the document?
Notes: Answer: b
Explanation: The best suited option is document.image[] to find all img elements in the document.[index] is used to specify the index of which img tag is to be selected.
573). Which of the following elements are used to include audio?
Notes: Answer: c
Explanation: Both audio and video support a controls attribute. When present, it specifies that audio controls should be displayed. Both audio and video support a controls attribute.
575). Which of the following is not the property of the video tag?
Notes: Answer: c
Explanation: The video tag does not contain a breadth property. The width and height property specifies the width and height of the video.
576). Which of the following is the parameter used to invoke the Audio() constructor?
[A] File type [B]Music type [C] Both File and Music [D]Video type
Notes: Answer: a
Explanation: The valueOf() method returns the primitive value of a number. It performs the calculations in the number and then displays the result.
579). What will be the output of the following JavaScript code?
Notes: Answer: d
Explanation: The toPrecision() method formats a number to a specified length. A decimal point and nulls are added (if needed), to create the specified length.
580). What will be the output of the following JavaScript code?
Notes: Answer: a
Explanation: This method formats a number into a string, using language specific format. In this example we use the “fi-FI” value to specify the locale number format in FINLAND.
581). What will be the output of the following JavaScript code?
Notes: Answer: c
Explanation: The POSITIVE_INFINITY property represents positive infinity. Positive infinity can be explained as something that is higher than any other number.