Invocation And Performance Navigation — Part 1 MCQs with Explanations
Practice high-yield Programming & Software Development MCQs on Invocation And Performance Navigation — Part 1 with worked academic solutions for FPSC, PPSC, NTS, NITB, PTS.
Questions
40
Difficulty Level
Exam-Level
Target Exams
FPSC, PPSC, NTS...
Estimated Time
48 mins
Exam-Level FPSC PPSC NTS NITB PTS
Verified for Commission Syllabus • Oct 14, 2026
40
Verified Practice Questions
Interactive test mode with detailed academic worked solutions
Live Progress|0/40 answered
✓0 correct
✗0 wrong
0% score
🎉 Set complete! All 40 questions answered.
Question 1 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following property gives access to the JavaScript memory usage data?
Correct Answer: Option A — performance.memory
Detailed Academic Explanation:
The property performance.memory gives access to the JavaScript memory usage data.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 2 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the purpose of the timing property in the window.performance object?
Correct Answer: Option C — Time of navigation and page load event
Detailed Academic Explanation:
Each performance.timing attribute shows the time of a navigation event (such as when the page was requested) or page load event (such as when the DOM began loading), measured in milliseconds.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 3 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following property is associated with the Response event?
Correct Answer: Option C — both responseStart and responseEnd
Detailed Academic Explanation:
The properties associated with the Response event are : 1. responseStart 2. responseEnd.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 4 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following computation is correct to calculate the time taken for page load once the page is received from the server?
Correct Answer: Option B — loadEventEnd-responseEnd
Detailed Academic Explanation:
The time taken for page load once the page is received from the server: loadEventEnd-responseEnd .
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 5 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following property is associated with the Processing event?
Correct Answer: Option D — none of the mentioned
Detailed Academic Explanation:
The following properties are associated with the Processing event : 1. domComplete 2. domContentLoaded 3. domInteractive 4. domLoading 5. unLoadEnd
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 6 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What does it indicate when the type attribute of the navigation object is set to 2?
Correct Answer: Option C — Navigation by moving back & forward through history
Detailed Academic Explanation:
When the type attribute of the navigation object is set to 2, it means that the navigation is done by moving back or forward through history.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 7 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What does the method Performance.now() return?
Correct Answer: Option B — DOMHighResTimeStamp
Detailed Academic Explanation:
The Performance.now() method returns a DOMHighResTimeStamp, measured in milliseconds, accurate to one thousandth of a millisecond equal to the number of milliseconds since the PerformanceTiming.navigationStart property and the call to the method.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 8 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following is a read-only property?
Correct Answer: Option C — PerformanceTiming.navigationStart & PerformanceTiming.fetchStart
Detailed Academic Explanation:
Both PerformanceTiming.navigationStart and also the PerformanceTiming.fetchStart are a read-only properties.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 9 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following is an interface?
Correct Answer: Option D — PerformanceTiming
Detailed Academic Explanation:
PerformanceTiming is an interface in JavaScript.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 10 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How many properties are associated with the Response event?
Correct Answer: Option B — 2
Detailed Academic Explanation:
There are a total of 2 properties associated with the Response event namely : 1. PerformanceTiming.responseEnd 2. PerformanceTiming.responseStart
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 11 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How many properties does a prototype object have?
Correct Answer: Option B — 7
Detailed Academic Explanation:
There are a total of 7 properties in the prototype object namely : 1. perceivedTime 2. redirectTime 3. cacheTime 4. dnsLookupTime 5. tcpConnectionTime 6. roundTripTime 7. pageRenderTime
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 12 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following does not serialize the undefined values or objects within an object?
Correct Answer: Option C — JSON.stringify
Detailed Academic Explanation:
JSON.stringify does not serialize undefined values or functions within an object.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 13 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How many properties are there in the interface PerformanceTiming?
Correct Answer: Option A — 21
Detailed Academic Explanation:
There are a total of 23 properties associated with the interface PerformanceTiming.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 14 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How many properties are there in window.performance object?
Correct Answer: Option C — 2
Detailed Academic Explanation:
There are totally 2 properties associated with the window.performance and they are: 1. navigation 2. type
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 15 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the purpose of the navigation property in the window.performance object?
Correct Answer: Option B — How the user navigated
Detailed Academic Explanation:
The navigation tells how the user navigated to the page.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 16 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the purpose of the property PerformanceTiming.navigationStart?
Correct Answer: Option C — Ready for navigation
Detailed Academic Explanation:
The PerformanceTiming.navigationStart read-only property returns an unsigned long long representing the moment, in miliseconds since the UNIX epoch, right after the prompt for unload terminates on the previous document in the same browsing context. If there is no previous document, this value will be the same as : PerformanceTiming.fetchStart.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 17 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following does JSON.stringify not serialize?
Correct Answer: Option C — Both Undefined values and Functions within an object
Detailed Academic Explanation:
JSON.stringify does not serialize undefined values or functions within an object.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 18 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the purpose of the property PerformanceTiming.fetchStart?
Correct Answer: Option B — Browser ready to fetch document
Detailed Academic Explanation:
The PerformanceTiming.fetchStart read-only property returns an unsigned long long representing the moment, in miliseconds since the UNIX epoch, the browser is ready to fetch the document using an HTTP request.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 19 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following property is associated with the Request event?
Correct Answer: Option A — requestStart
Detailed Academic Explanation:
The Request event has only one property : requestStart.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 20 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following API can be used to get the timing without affecting the page loading process?
Correct Answer: Option C — Navigation Timing API
Detailed Academic Explanation:
The timing code is in the page, so it affects how the page loads and the time that takes.. The Navigation Timing API can be used to get the timing without affecting the page loading process.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 21 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How many read-only attributes are present in the navigator object?
Correct Answer: Option B — 2
Detailed Academic Explanation:
There are a total of 2 read-only attributes present in the navigator object namely : 1. redirectCount 2. type
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 22 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Why are HTTP redirects significant?
Correct Answer: Option B — Complete roundtrip absent
Detailed Academic Explanation:
HTTP redirects are significant because they cause a complete roundtrip for each redirect. The original request is returned from the web server as either a 301 or a 302 with the path to the new location. The browser must then initialize a new TCP connection and send a new request for the new location.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 23 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Where does the DNS reply go to in a single HTTP redirect?
Correct Answer: Option A — Browser
Detailed Academic Explanation:
The DNS reply goes to the Browser in a single HTTP redirect.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 24 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How can one access the redirectCount property?
Correct Answer: Option B — performance.navigation.redirectCount
Detailed Academic Explanation:
The redirectCount property can be accessed as : performance.navigation.redirectCount.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 25 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How many constant values can the property type be represented?
Correct Answer: Option C — 4
Detailed Academic Explanation:
Totally 4 constant values can be represented by the property type.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 26 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following constants has the value 255?
Correct Answer: Option D — TYPE_RESERVED
Detailed Academic Explanation:
TYPE_RESERVED: Has the value of 255 and is a catch-all for any navigation type not defined above.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 27 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the purpose of the constant TYPE_RELOAD?
Correct Answer: Option A — Reload performed
Detailed Academic Explanation:
TYPE_RELOAD: Has the value of 1, indicating that the current page was arrived at via a reload operation.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 28 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What does the constant TYPE_BACK_FORWRD indicate?
Correct Answer: Option A — Navigation via browser history
Detailed Academic Explanation:
TYPE_BACK_FORWARD: Has the value of 2, indicating that the page was navigated to via the browser history, either using the back or forward buttons or programmatically through the browser’s history object.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 29 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following constants hold the value 2?
Correct Answer: Option C — TYPE_BACK_FORWARD
Detailed Academic Explanation:
TYPE_BACK_FORWARD: Has the value of 2, indicating that the page was navigated to via the browser history, either using the back or forward buttons or programmatically through the browser’s history object.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 30 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Where does the DNS Lookup direct to ?
Correct Answer: Option D — DNS Server
Detailed Academic Explanation:
The DNS Lookup directs to the DNS Server.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 31 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How many properties are available in a memory object?
Correct Answer: Option C — 3
Detailed Academic Explanation:
There are a total of 3 memory objects namely : 1. jsHeapSizeLimit 2. totalJsHeapSize 3. usedJsHeapSize
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 32 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is a heap in JavaScript?
Correct Answer: Option B — Collection of JavaScript objects
Detailed Academic Explanation:
The heap is the collection of JavaScript objects that the interpreter keeps in resident memory.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 33 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the function of the memory object?
Correct Answer: Option C — Gets memory usage
Detailed Academic Explanation:
The memory object is a feature of Chrome that allows us to see the memory usage that Chrome is taking up while running our page.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 34 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the command to access the Heap size limit?
Correct Answer: Option B — performance.memory. jsHeapSizeLimit
Detailed Academic Explanation:
The command performance.memory. jsHeapSizeLimit is used to access the Heap size limit.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 35 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the purpose of garbage collection?
Correct Answer: Option D — Removes object with no reference
Detailed Academic Explanation:
When the interpreter sees an object in the heap with no object references, it removes that object from the heap. This is called garbage collection.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 36 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What does the usedJsHeapSize property indicate?
Correct Answer: Option A — Amount of memory used
Detailed Academic Explanation:
The usedJsHeapSize property is the amount of memory that all of the current objects in the heap are using.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 37 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following property indicate the total size of heap?
Correct Answer: Option C — totalJsHeapSize
Detailed Academic Explanation:
The totalJsHeapSize is size of the heap including free space not used by objects.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 38 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What can be done to monitor the memory usage?
Correct Answer: Option A — Profiling
Detailed Academic Explanation:
Profiling allows us to monitor our memory usage.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 39 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following gives the high level breakdown of memory usage?
Correct Answer: Option A — about:memory
Detailed Academic Explanation:
Typing about:memory into the location bar brings up a page that gives a high-level breakdown of memory usage.
💡Key Conceptual Anchor:Invocation And Performance Navigation
Question 40 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which keyword must be used to get a more granular insight of the memory usage?
Correct Answer: Option B — verbose
Detailed Academic Explanation:
To get a more granular insight of the memory usage, we must type about:memory?verbose.
💡Key Conceptual Anchor:Invocation And Performance Navigation
✓Link copied to clipboard
Continue Your Practice
Advance Html — Part 1
Master the next curriculum module with 40 exam-standard MCQs.
💡Examiner's Advisory for Programming & Software Development
In competitive commission exams (FPSC, PPSC, KPPSC, SPSC, CSS, PMS), questions are frequently phrased with distractor options designed to catch rote learners. Whenever you answer an MCQ, read the Detailed Academic Explanation and Conceptual Anchor to understand why the remaining options are incorrect.