MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Javascript
Invocation And Performance Navigation
Quiz 2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
What is the method used to create an element in the HTML DOM?
createDOMelement()
createElement()
createDOMElement()
none of the mentioned
Q.2
What is the purpose of the method createDocumentFragment()?
Creates a fragment object
Creates a document fragment
Creates imaginary node object
None of the mentioned
Q.3
What is the default value of the asyc attribute?
0
1
False
True
Q.4
What is the purpose of script loading?
Load Scripts programmatically
Load JavaScript files manually
Load JavaScript files programmatically
All of the mentioned
Q.5
What will happen if the browser encounters a script tag without an src attribute?
Throws an error
Throws an exception
Sends it to the compiler
Sends it to the interpreter
Q.6
What is the solution to the absence of a script tag without an src attribute?
Resend the scripts
Create inline JavaScript
All of the mentioned
None of the mentioned
Q.7
How to get a particular value using the tagged name?
getElementbyID()
getElementsbyName()
getElementsbyTagName()
getTagName()
Q.8
What should be the type of the script_url?
Object
String
Array
Any of the mentioned
Q.9
Which of the following gets converted to DOM elements by the rendering engine?
Tokens
Strings
Address
All of the mentioned
Q.10
Which of the below does not belong to the Render Engine work flow?
Paint DOM elements
Parse Content
uild DOM nodes in render tree
None of the mentioned
Q.11
Which is the next step after retrieving the content in chunks?
Paint DOM elements
Parse Content
Build DOM nodes in render tree
None of the mentioned
Q.12
What will happen after executing the script?
Execute script
Layout positioning of DOM elements
Paint DOM elements
Build DOM nodes in render tree
Q.13
What would happen if there were no script tags?
Build DOM nodes in render tree
Layout positioning of DOM elements
Paint DOM elements
Execute script
Q.14
When does the browser stop rendering the HTML?
Inline JavaScript block
External JavaScript file
Both Inline JavaScript block & External JavaScript file
None of the mentioned
Q.15
Which of the following handles painting the content on to the screen?
Rendering engine
JavaScript Interpreter
UI Layer
Network Layer
Q.16
What does the usedJsHeapSize property indicate?
Amount of memory used
Amount of memory unused
Amount of memory used & unused
None of the mentioned
Q.17
How many properties are available in a memory object?
1
2
3
4
Q.18
What is a heap in JavaScript?
Collection of Java objects
Collection of JavaScript objects
Collection of memory usage values
Collection of data stored in memory
Q.19
Which of the following constants has the value 255?
TYPE_NAVIGATE
TYPE_RELOAD
TYPE_BACK_FORWARD
TYPE_RESERVED
Q.20
What is the purpose of the constant TYPE_RELOAD?
Reload performed
Reload not performed
Reload must be performed
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
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