MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Javascript
Invocation And Performance Navigation
Quiz 4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
Which of the following does JSON.stringify not serialize?
Undefined values
Functions within an object
Both Undefined values and Functions within an object
None of the mentioned
Q.2
Which of the following does not serialize the undefined values or objects within an object?
JSON.string
JSON
JSON.stringify
None of the mentioned
Q.3
How many properties are there in the interface PerformanceTiming?
21
22
23
24
Q.4
How many properties are there in window.performance object?
1
4
2
3
Q.5
What is the purpose of the property PerformanceTiming.fetchStart?
Browser ready to fetch input
Browser ready to fetch document
Browser ready to fetch summary
All of the mentioned
Q.6
Which of the following property is associated with the Request event?
requestStart
requestEnd
both requestStart and requestEnd
none of the mentioned
Q.7
Which of the following API can be used to get the timing without affecting the page loading process?
Navigation API
Timing API
Navigation Timing API
None of the mentioned
Q.8
What is the purpose of the navigation property in the window.performance object?
To which page the user navigated
How the user navigated
All of the mentioned
None of the mentioned
Q.9
What does it indicate when the type attribute of the navigation object is set to 2?
Navigation by moving back through history
Navigation by moving forward through history
Navigation by moving back & forward through history
None of the mentioned
Q.10
What does the method Performance.now() return?
DOMTimeStamp
DOMHighResTimeStamp
DOMStamp
TimeStamp
Q.11
Which of the following is a read-only property?
PerformanceTiming.navigationStart
PerformanceTiming.fetchStart
PerformanceTiming.navigationStart & PerformanceTiming.fetchStart
None of the mentioned
Q.12
Which of the following is an interface?
Time
Timing
Performance
PerformanceTiming
Q.13
How many properties are associated with the Response event?
1
2
3
4
Q.14
Which of the following property gives access to the JavaScript memory usage data?
performance.memory
memory(performance)
performance(memory)
none of the mentioned
Q.15
Which is the method used to add an event listener?
addEventListener()
addListener()
addEvent(Listener)
addListener(Event)
Q.16
What is the purpose of the domLoading attribute?
Document exists
Document can load
Document has loaded
Document begins to load
Q.17
What is the purpose of the timing property in the window.performance object?
Time of navigation event
Time of page load event
Time of navigation and page load event
None of the mentioned
Q.18
Which of the following property is associated with the Response event?
responseStart
responseEnd
both responseStart and responseEnd
none of the mentioned
Q.19
Which of the following computation is correct to calculate the time taken for page load once the page is received from the server?
responseEnd-loadEventEnd
loadEventEnd-responseEnd
loadEventEnd/responseEnd
responseEnd/loadEventEnd
Q.20
How is the render time calculated?
Date.Now()
Date.Now() – performance.timing.domLoading
performance.domLoading
Date.Now() – performance.domLoading
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