MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Javascript
Document Object Model And Event Handling
Quiz 5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Q.1
Which API allows scripts in a document from one server to exchange messages with scripts?
Cross-Document Messaging API
Web application API
Both Cross-Document Messaging API & Web application API
None of the mentioned
Q.2
Which of the following property specifies the string of text that was entered?
message
data
string
text
Q.3
The focus and blur events are also part of
Element events
Handler events
Window events
Scroll events
Q.4
The element that can also register handlers for load and error events is
html
img
body
form
Q.5
When are the mouse events generated?
When user clicks the mouse over a document
When user moves over a document
All of the mentioned
None of the mentioned
Q.6
The properties that specify the position and button state of the mouse are
clientX and clientY
clientY and clientX
altKey and ctrlKey
metaKey and shiftKey
Q.7
Which event is fired when a document and all of its external resources are fully loaded and displayed to the user?
Window
Load
Element
Handler
Q.8
Which is the alternative to the load event?
readychange
changestate
readystatechange
contentloader
Q.9
The events that is emulated by the jQuery library are
focusarea and focusover
focusall and focusnone
focusdown and focusup
focusin and focusout
Q.10
Which event is triggered sooner when the document and its elements are ready to manipulate?
DOMContentLoaded
readystatechange
Both DOMContentLoaded & readystatechange
None of the mentioned
Q.11
Which of the following keys are set to true when the keyboard modifier keys are held down?
altKey
ctrlKey
metaKey
all of the mentioned
Q.12
How to detect and respond to mouse drags?
Registering a mouseover handler
Releasing a mousedown handler
Registering a mousedown handler
None of the mentioned
Q.13
The events that are not triggered directly by user activity are called
Device-independent input events
Device-dependent input events
User interface events
State change events
Q.14
The video and the audio belong to the
Timers and error handlers
API-Specific events
State change events
User interface events
Q.15
Which is the opposite to the load event in JavaScript?
dontload
postload
preload
unload
Q.16
Which is the property that is triggered in response to JavaScript errors?
onexception
onmessage
onerror
none of the mentioned
Q.17
When is the mouseover event fired?
When mouse is moved over a new element
When mouse is clicked
When mouse is both moved and clicked
None of the mentioned
Q.18
The client-side JavaScript’s asynchronous programming model contains
Timers and error handlers
User interface events
State change events
API-specific events
Q.19
Which are the events that have default actions that can be canceled by event handlers?
Submit and form-related events
Reset and form-related events
Submit and reset events
None of the mentioned
Q.20
The events that represents occurrences related to the browser window are
Window
Element
Display
Handlers
Q.21
Which event can be fired on any scrollable document element?
Window
Scroll
Load
Unload
Q.22
How does IndexedDB provide atomicity?
Grouping among the data
Grouping within a transaction
Grouping the data
None of the mentioned
Q.23
Which of the following is a feature of the IndexedDB API?
Simplifies the transaction management
Need not manage the transaction at all
Enhances the storage
None of the mentioned
Q.24
What is the alternate way to search in an IndexedDB API?
Key
Address
Indexes
All of the mentioned
Q.25
Which is the function used to look up an object?
put()
set()
get()
look()
Q.26
Which is the method to look up the objects for a range of keys?
lookRange()
openCursor()
lookall()
None of the mentioned
Q.27
The Client-Side Databases are stored in the
The JavaScript code
User’s computer
Both JavaScript code and User’s computer
None of the mentioned
Q.28
Which of the following use the Web SQL Database?
Chrome
Firefox
IE
All of the mentioned
Q.29
The localStorage and sessionStorage belongs to
Window object
Element object
Hash object
DOM object
Q.30
What is the main difference between localStorage and sessionStorage?
Lifetime
Scope
Both Lifetime and Scope
None of the mentioned
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page