JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Javascript interview questions part 21
Javascript interview questions part 21
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. How many properties are there in window.performance object?
A. 1
B. 4
C. 2
D. 3
Show Correct Answer
Correct Answer is :
2
2. What is the purpose of the navigation property in the window.performance object?
A. To which page the user navigated
B. How the user navigated
C. Information about the page
D. Information of the curser
Show Correct Answer
Correct Answer is :
How the user navigated
3. What is the purpose of the property PerformanceTiming.navigationStart?
A. Ready to end the navigation
B. Ready to jump the navigation
C. Ready for navigation
D. Ready to changing the navigation
Show Correct Answer
Correct Answer is :
Ready for navigation
4. Which of the following does JSON.stringify not serialize?
A. Undefined values
B. Functions within an object
C. Both Undefined values and Functions within an object
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Both Undefined values and Functions within an object
5. What is the purpose of the property PerformanceTiming.fetchStart?
A. Browser ready to fetch input
B. Browser ready to fetch document
C. Browser ready to fetch summary
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Browser ready to fetch document
6. Which of the following property is associated with the Request event?
A. requestStart
B. requestEnd
C. both requestStart and requestEnd
D. requestchange
Show Correct Answer
Correct Answer is :
requestStart
7. Which of the following API can be used to get the timing without affecting the page loading process?
A. Navigation API
B. Timing API
C. Navigation Timing API
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Navigation Timing API
8. Which of the following property gives access to the JavaScript memory usage data?
A. performance.memory
B. memory(performance)
C. performance(memory)
D. performance()
Show Correct Answer
Correct Answer is :
performance.memory
9. What is the purpose of the timing property in the window.performance object?
A. Time of navigation event
B. Time of page load event
C. Time of navigation and page load event
D. Time of scrolling
Show Correct Answer
Correct Answer is :
Time of navigation and page load event
10. Which of the following property is associated with the Response event?
A. responseStart
B. responseEnd
C. both responseStart and responseEnd
D. responsiveStart
Show Correct Answer
Correct Answer is :
both responseStart and responseEnd
11. Which of the following computation is correct to calculate the time taken for page load once the page is received from the server?
A. responseEnd-loadEventEnd
B. loadEventEnd-responseEnd
C. loadEventEnd/responseEnd
D. responseEnd/loadEventEnd
Show Correct Answer
Correct Answer is :
loadEventEnd-responseEnd
12. Which of the following property is associated with the Processing event?
A. domComplete
B. domContentLoaded
C. domInteractive
D. domload
Show Correct Answer
Correct Answer is :
domload
13. What does it indicate when the type attribute of the navigation object is set to 2?
A. Navigation by moving back through history
B. Navigation by moving forward through history
C. Navigation by moving back & forward through history
D. Navigation by moving in favorites
Show Correct Answer
Correct Answer is :
Navigation by moving back & forward through history
14. What does the method Performance.now() return?
A. DOMTimeStamp
B. DOMHighResTimeStamp
C. DOM\Stamp
D. TimeStamp
Show Correct Answer
Correct Answer is :
DOMHighResTimeStamp
15. Which of the following is a read-only property?
A. PerformanceTiming.navigationStart
B. PerformanceTiming.fetchStart
C. PerformanceTiming.navigationStart & PerformanceTiming.fetchStart
D. None of the mentioned
Show Correct Answer
Correct Answer is :
PerformanceTiming.navigationStart & PerformanceTiming.fetchStart
16. Which of the following is an interface?
A. Time
B. Timing
C. Performance
D. PerformanceTiming
Show Correct Answer
Correct Answer is :
PerformanceTiming
17. How many properties are associated with the Response event?
A. 1
B. 2
C. 3
D. 4
Show Correct Answer
Correct Answer is :
2
18. Where are memory leaks found?
A. Client side objects
B. Server side objects
C. Both Client side and Server side objects
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Client side objects
19. Which handler is triggered when the content of the document in the window is stable and ready for manipulation?
A. onload
B. manipulate
C. create
D. none of the mentioned
Show Correct Answer
Correct Answer is :
onload
20. What is the central concept of JavaScript memory management?
A. Reliability
B. Reachability
C. Efficiency
D. Transparency
Show Correct Answer
Correct Answer is :
Reachability
Similar Interview Questions
Search for latest jobs
Find Jobs