MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Javascript
Caching And Debugging
Quiz 4
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
Q.1
A Blob URL can be created using which of the following function?
createURL()
createObjectURL()
designURL()
URLCreation()
Q.2
Which is the function that allows a worker to terminate itself?
close()
exit()
terminate()
halt()
Q.3
Why shouldn’t JavaScript functions not be too long?
User friendliness
Tie up event loops
Browser becomes unresponsive
All of the mentioned
Q.4
The object that looks to the thread that creates it is
Window
Worker
Element
Hash
Q.5
Which of the following is a global object for a new worker?
WorkerGlobalScope
Worker
WorkerScope
Window
Q.6
The blobs are broken into smaller pieces using which of the following functions?
partition()
cut()
sliceall()
slice()
Q.7
Which algorithm supports blobs?
Structured clone algorithm
Double buffer algorithm
Chen’s algorithm
Retrieval algorithm
Q.8
In which way can the closure compiler can be used?
Open source
Run time application
Web application
Only Open source and Web application
Q.9
What is the purpose of the advanced mode in the closure compiler?
Renames variables
Renames function
Both Renames variables and function
None of the mentioned
Q.10
Why is a closure template used?
Statically updating in JavaScript
To increase the efficiency and convenience
Dynamically generating HTML in Java and JavaScript
All of the mentioned
Q.11
In what way does the closure compiler help in checking the code?
Warnings
Suddenly aborts
Rejects malicious inputs
All of the mentioned
Q.12
What is the function of the closure compiler?
Download faster
Run faster
Both Download faster and Run faster
None of the mentioned
Q.13
In how many modes can the closure compiler be run?
1
2
3
4
Q.14
What is the purpose of the simple mode?
Removes whitespaces
Does not remove white spaces
Removes the unwanted words
None of the mentioned
Q.15
What is a closure compiler UI?
Run time application
Web application
Standalone application
All of the mentioned
Q.16
What are the benefits of closure compiler?
Efficiency
Code checking
Both Efficiency and Code checking
None of the mentioned
Q.17
In what way is the closure compiler efficient?
Increases the size of the JavaScript files
Reduces the size of the JavaScript files
Reduces the execution time
Reduces the speed
Q.18
During the traversing through the stack, where does it go after it goes to the namespace?
Window
Function
Document
Location
Q.19
During the traversing through the stack, where does it go after it goes to the window?
Namespace
Function
Document
None of the mentioned
Q.20
During the traversing of the stack when you create a locally scoped variable, where does it go after it goes to the namespace?
Window
Function
Document
Location
Q.21
What is the function used to stop capturing the ad hoc timing ?
stopadhoc()
stopTimer()
stopTimeLogging()
none of the mentioned
Q.22
During the traversing of the stack when you create a locally scoped variable, where does it go after it goes to the location?
Window
Function
Document
None of the mentioned
Q.23
What does the interpreter do when you reference variables in other scopes?
Traverses the queue
Traverses the stack
Finds the bugs
None of the mentioned
Q.24
The attribute location belongs to which element?
document
html
image
pre
Q.25
What will happen if you reference document.location from within an object?
Traverses the queue
Finds the bugs
Traverses the stack
None of the mentioned
Q.26
Why do we need to create locally scoped variables to hold value?
To optimize the testing process
To increase the speed
To minimize memory usage
To cache the reference document.location
Q.27
What is the next step after calling the startTimeLogging()?
Interpret the code
Compile the code
Run the code
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
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