Answer: b. loadeddata
Explanation: The loadeddata event is fired when the first frame of the media has finished loading. This event occurs when data for the current frame is loaded, but not enough data to play next frame of the specified audio/video.
Answer: a. Yes
Explanation: Waiting event is generated when the requested operation (such as playback) is delayed pending the completion of another operation (such as a seek). This event is fired when a video stops because it needs to buffer the next frame. Waiting event can also be used on <audio> elements, but it is mostly used for videos.
Answer: b. watchPosition()
Explanation: The watchPosition() method returns the current position of the device and continues to return updated position as the user moves (like the GPS in a car).
Answer: b. dataTransfer.dropEffect [ = value ]
Explanation: The DataTransfer.dropEffect gets the type of drag-and-drop operation currently selected or sets the operation to a new type. The value must be none, copy, link or move. This property controls the feedback (typically visual), the user is given during a drag and drop operation.
Answer: b. Local Storage
Explanation: Local storage is designed for storage that spans multiple windows, and lasts beyond the current session. Local storage object stores the data with no expiration date. The data will not be deleted when the browser is closed, and will be available the next day, week, or year.
Answer: a. Session Storage
Explanation: Session storage is designed for scenarios where the user is carrying out a single transaction, but could be carrying out multiple transactions in different windows at the same time. Session storage object stores the data for only one session. The data is deleted when the user closes the specific browser tab.