HTML5 Canvas - MCQs
HTML5 Canvas - MCQs
1) HTML5 element <canvas> gives you an easy and powerful way to draw graphics using JavaScript. A) True
B) False
View Answer / Hide Answer2) Which method is used to increase or decrease the units in a canvas grid.A) Canvas Transform
B) Canvas Rotation
C) Canvas Scaling
D) Canvas Composition
View Answer / Hide AnswerANSWER: C) Canvas Scaling
3) Which method is used to mask off certain areas or clear sections from the canvas.A) Canvas Transform
B) Canvas Rotation
C) Canvas Scaling
D) Canvas Composition
View Answer / Hide AnswerANSWER: D) Canvas Composition
4) Which version does not support for HTML5 canvas natively?A) Firefox
B) Safari
C) Chrome
D) IE8
View Answer / Hide Answer5) The latest versions of Firefox, Safari, Chrome and Opera all does not support for HTML5 Canvas.A) True
B) False
View Answer / Hide Answer6) The canvas element has a DOM method it is called.A) getContext
B) getId
C) getElement
D) None of the above
View Answer / Hide Answer7) HTML5 element <canvas> can be used to.A) Draw graphics
B) Photo compositions
C) Animations
D) All the mentioned above
View Answer / Hide AnswerANSWER: D) All the mentioned above
8) The HTML canvas is aA) Three-dimensional grid
B) One-dimensional grid
C) Two-dimensional grid
D) None of the above
View Answer / Hide AnswerANSWER: C) Two-dimensional grid
9) To draw text on a canvas, which property and method is used.A) font
B) fillText(text,x,y)
C) stokeText(text,x,y)
D) Both A & B
View Answer / Hide AnswerANSWER: C) stokeText(text,x,y)
Discussion
- RE: HTML5 Canvas - MCQs -Vijay (04/12/15)
- Good Collection
Excellent work