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 3
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
What is the special feature of the modern web applications?
Can alter contents without loading document
Must load the document to manipulate
All of the mentioned
None of the mentioned
Q.2
The decodeURIComponent() is defined by
Server-side JavaScript
Client-side JavaScript
Both Server-side and Client-side JavaScript
None of the mentioned
Q.3
Which is the method that removes the current document from the browsing history before laoding the new document?
modify()
assign()
replace()
remove()
Q.4
The URL property belongs to which of the following object?
Document
Element
Location
All of the mentioned
Q.5
What does the location property represent?
Current DOM object
Current URL
Both DOM object and URL
None of the mentioned
Q.6
Why is the replace() method better than the assign() method?
Reliable
Highly managable
More efficient
Handles unconditional loading
Q.7
What is the purpose of the assign() method?
Only loading
Loading of window and display
Displays already present window
Unloading of window
Q.8
The history property belongs to which object?
Element
Window
History
Location
Q.9
Which among the following is not a property of the Location object?
protocol
host
hostee
hostname
Q.10
What is the return type of the hash property?
Query string
Packets
String
Fragment identifier
Q.11
What is the function used to extract arguments from the search property of a URL?
urlArgs()
url()
hash()
none of the mentioned
Q.12
The setTimeout() belongs to which object?
Element
Window
Location
None of the mentioned
Q.13
Which method receives the return value of setTimeout() to cancel future invocations?
clearTimeout()
clearInterval()
clearSchedule()
none of the mentioned
Q.14
What will happen if we call setTimeout() with a time of 0 ms?
Placed in stack
Placed in queue
Will run continuously
None of the mentioned
Q.15
To which object does the location property belong?
Window
Position
Element
Location
Q.16
What is the result of the following code snippet?
window
.
location
===
document
.
location
False
True
0
1
Q.17
Which function among the following lets to register a function to be invoked once?
setTimeout()
setTotaltime()
setInterval()
none of the mentioned
Q.18
Which function among the following lets to register a function to be invoked repeatedly after a certain time?
setTimeout()
setTotaltime()
setInterval()
none of the mentioned
Q.19
Which is the handler method used to invoke when uncaught JavaScript exceptions occur?
Onhalt
Onerror
Both onhalt and onerror
None of the mentioned
Q.20
Which property is used to obtain browser vendor and version information?
modal
version
browser
navigator
Q.21
Which property is used to specify the key type when pressed?
keyCode
keyType
keyName
keyProperty
Q.22
Which method receives the return value of setInterval() to cancel future invocations?
clearInvocation()
cancelInvocation()
clearInterval()
None of the mentioned
Q.23
Which node type represents the root-node of the DOM tree?
Document
DocumentFragment
DocumentType
Entity
Q.24
What is the purpose of the DocumentFragment node type?
To hold a portion of a document
To split the document into fragments
To hold the entire document
None of the mentioned
Q.25
What does a Node object represent?
Single node
Set of nodes
Sequence of nodes
Node array
Q.26
How many nodetype – named constants are available?
13
11
12
10
Q.27
Which of the following Node types have a node value equal to null?
Document
DocumentFragment
DocumentType
All of the mentioned
Q.28
What does the nodeName of the nodeType Document return?
doctype name
target
#comment
#document
Q.29
What is the purpose of the method item()?
Returns node after the specified index
Returns node before the specified index
Returns node at specified index
None of the mentioned
Q.30
How can the nodes in the node list be accessed?
Key
Index number
Looping
All 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