1. Which method is used to obtain the “drawing context” object ?
Correct Answer is : getContext()
2. What is the returning value of the getContext() method?
Correct Answer is : CanvasRenderingContext2D object
3. Which is the method invoked to begin a path?
Correct Answer is : beginPath()
4. Which is the method invoked to connect the last vertex back to the first?
Correct Answer is : closePath()
5. Which of the following are not the properties of a canvas object?
Correct Answer is : lineSize
6. Which of the following is a property used to check how crisp or fuzzy shadows are?
Correct Answer is : shadowBlur
7. How do you restore a saved coordinate system?
Correct Answer is : restore()
8. The type that specifies what kind of event occurred is ____________
Correct Answer is : event type
9. Which is the object on which the event occurred or with which the event is associated?
Correct Answer is : event target
10. In general, event handler is nothing but ____________
Correct Answer is : function
11. When will the browser invoke the handler?
Correct Answer is : Specified event occurs
12. Which property specifies the property of the event?
13. The process by which the browser decides which objects to trigger event handlers on is ____________
Correct Answer is : Event propagation
14. Which form of event propagation handles the registered container elements?
Correct Answer is : Event Capturing
15. The events that are directly tied to a specific input device are ____________
Correct Answer is : Device-dependent input events
16. The high-level events among the following events are ____________
Correct Answer is : User interface events
17. The events that are not directly tied to a specific input device are _____________
Correct Answer is : Device-independent events
18. What does an History object contain?
19. The history object is a part of which object?
Correct Answer is : Window
20. How many methods are there in the History object?