43 Answers to Review Questions. “Digital Media Primer” Yue-Ling Wong
Chapter 13
1. An event is ___.
A. something that happens, such as mouse clicks, keystrokes, and touches (for touch enabled
devices), while a program is running and
B. an object that listens for things, such as mouse clicks, keystrokes, and touches (for touch enabled
devices)
C. a function that will be executed when mouse clicks, keystrokes, or touches (for touch enabled
devices) occur
2. An event listener is ___.
A. something that happens, such as mouse clicks, keystrokes, and touches (for touch enabled
3. An event handler is ___.
A. something that happens, such as mouse clicks, keystrokes, and touches (for touch enabled
devices), while a program is running and interru
B. an object that listens for events, such as mouse, keyboard, and touch events
C. a function that will be executed when the event occurs
4. myCanvas.addEventListener(“mouseup”, popupAMessage);
For the above statement, the target of the event is ___.
5. myCanvas.addEventListener(“mouseup”, popupAMessage);
For the above statement, the name or type of the event is ___.
A. myCanvas
B. addEventListener
C. “mouseup”
D. popupAMessage
6. myCanvas.addEventListener(“mouseup”, popupAMessage);
For the above statement, the name of the handler function of the event is ___.
A. myCanvas
B. addEventListener
C. “mouseup”
D. popupAMessage