1) Charts and 3D Graphs
2) 2D Graphs
3) 3D Graphs
4) Charts and 2D Graphs
Ans: 4) Charts and 2D Graphs
Q.2 The following are true about Canvas, except __________
1) Canvas is well suited for intense graphics
2) Canvas draws graphics on the fly using JavaScript
3) Each shape in Canvas is looked at as an object
4) Canvas renders graphics pixel by pixel
Ans: 3) Each shape in Canvas is looked at as an object
Q.3 How do you place a canvas element with an ID of canvas1 into a JavaScript variable?
1) var canvas1 = document.get('#canvas1');
2) var canvas1 = getElementById('canvas1');
3) var canvas1 = document.getElement('canvas1');
4) var canvas1 = document.getElementById('canvas1');
Ans: 4) var canvas1 = document.getElementById('canvas1');
Q.4 The following are true about SVG graphics, except ________
1) Graphics in SVG are defined in XML
2) SVGs do not lose quality when zoomed
3) SVG is mostly used for graphs
4) Graphics in SVG are defined using JavaScript
Ans: 4) Graphics in SVG are defined using JavaScript
Q.5 Which of the following is true about 'canvas' tag in HTML5?
(I) Easy way to draw graphics using JavaScript (II) Can be used to make Animations
1) II
2) Both I and II
3) I
4) None of the options
Ans: 2) Both I and II
No comments:
Post a Comment
If you have any doubts, Please let us know.