ExamVeda
Login
Home
61
The type that specifies what kind of event occured is
Discuss
Answer & Solution
Answer: Option A
Solution:
The event type is a string that specifies what kind of event occurred) The type “mousemove”, for example, means that the user moved the mouse.
62
Which is the object on which the event occured or with which the event is associated?
Discuss
Answer & Solution
Answer: Option B
Solution:
The event target is the object on which the event occurred or with which the event is associated. When we speak of an event, we must specify both the type and the target.
63
In general, event handler is nothing but
Discuss
Answer & Solution
Answer: Option A
Solution:
An event handler is in general, a function that handles or responds to an event.
64
When will the browser invoke the handler?
Discuss
Answer & Solution
Answer: Option C
Solution:
When an event of the specified type occurs on the specified target, the browser invokes the handler.
65
Which property specifies the property of the event?
Discuss
Answer & Solution
Answer: Option A
Solution:
All event objects have a type property that specifies the event type.
66
The process by which the browser decides which objects to trigger event handlers on is
Discuss
Answer & Solution
Answer: Option D
Solution:
Event propagation is the process by which the browser decides which objects to trigger event handlers on.
67
Which form of event propogation handles the registered container elements?
Discuss
Answer & Solution
Answer: Option C
Solution:
Another form of event propogation, known as event capturing, handlers specially registered on container elements have the opportunity to intercept ( or “capture” ) events before they are delivered to their actual target.
68
The events that are directly tied to a specific input device are
Discuss
Answer & Solution
Answer: Option B
Solution:
These are events that are directly tied to a specific input device, such as the mouse or keyboard) They include legacy event types such as “mousedown”, “mousemove”, “mouseup”, “keydown”, “keypress”, and “keyup” and also new touch specific events like “touchmove” and “gesturechange”.
69
The high-level events among the following events are
Discuss
Answer & Solution
Answer: Option A
Solution:
UI events are higher-level events, often on HTML form elements that define a user interface for a web application. They include the focus event (when a text input field gains keyboard focus), the change event when the user changes the value displayed by a form element, and the submit event when the user clicks a Submit button in a form.
70
The events that are not directly tied to a specific input device are
Discuss
Answer & Solution
Answer: Option B
Solution:
These are input events that are not directly tied to a specific input device. The click event, for example, indicates that a link or button (or other document element) has been activated) This is often done via a mouse click, but it could also be done by keyboard or (on touch-sensitive devices) by gesture.