Performance Measures — Part 1 MCQs with Explanations
Practice high-yield Programming & Software Development MCQs on Performance Measures — 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
How do we define the term Thread?
Correct Answer: Option C — Controlled execution of applications
Detailed Academic Explanation:
Threads are sequential units of controlled execution for applications.
💡Key Conceptual Anchor:Performance Measures
Question 2 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What does the browser do to set up a TCP/IP connection?
Correct Answer: Option C — TCP three-way handshake
Detailed Academic Explanation:
The browser negotiates a TCP three-way handshake with the remote web server to set up a TCP/ IP connection.
💡Key Conceptual Anchor:Performance Measures
Question 3 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What does the handshake pass between the browser and the remote server?
Correct Answer: Option A — Synchronize
Detailed Academic Explanation:
The handshake consists of a Synchronize, Synchronize-Acknowledge, and Acknowledge message to be passed between the browser and the remote server.
💡Key Conceptual Anchor:Performance Measures
Question 4 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How does the handshake help the server?
Correct Answer: Option C — Both Acknowledge and Accept the attempt
Detailed Academic Explanation:
The handshake allows the server to acknowledge and accept the attempt.
💡Key Conceptual Anchor:Performance Measures
Question 5 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the purpose of the transport layer?
Correct Answer: Option C — Both TCP and UDP Communication takes place
Detailed Academic Explanation:
The Transport layer is where our TCP (or UDP) communication takes place.
💡Key Conceptual Anchor:Performance Measures
Question 6 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What does the status code 200 indicate?
Correct Answer: Option D — Successful
Detailed Academic Explanation:
The status code 200 indicates a successful response from the server.
💡Key Conceptual Anchor:Performance Measures
Question 7 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What does the status code 500 indicate?
Correct Answer: Option A — Error in request
Detailed Academic Explanation:
The status code 500 means that there was an error when trying to fulfill the request.
💡Key Conceptual Anchor:Performance Measures
Question 8 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What does the application layer handle?
Correct Answer: Option A — Top-level communication
Detailed Academic Explanation:
The Application layer handles the top-level communication that the client and servers use, like HTTP and SMTP for email clients.
💡Key Conceptual Anchor:Performance Measures
Question 9 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which status code indicates that the server could not find the resource requested?
Correct Answer: Option B — 404
Detailed Academic Explanation:
The status code 404 means that the server could not find the resource requested.
💡Key Conceptual Anchor:Performance Measures
Question 10 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the maximum size of an IP packet for IPv4 or IPv6?
Correct Answer: Option B — 65535
Detailed Academic Explanation:
The maximum size of an IP packet for IPv4 or IPv6 is 65535.
💡Key Conceptual Anchor:Performance Measures
Question 11 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How can we define the term Performance?
Correct Answer: Option C — Speed at which application functions
Detailed Academic Explanation:
Performance refers to the speed at which an application functions. It is a multifaceted aspect of quality.
💡Key Conceptual Anchor:Performance Measures
Question 12 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
When is an application said to show a web performance?
Correct Answer: Option B — Time to load
Detailed Academic Explanation:
When we’re talking about web applications, the time it takes your application to be presented to your users is what we will call web performance.
💡Key Conceptual Anchor:Performance Measures
Question 13 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
When is an application said to show a runtime performance?
Correct Answer: Option A — Speed of response to user
Detailed Academic Explanation:
The speed at which your application responds to your users’ interactions is what we’ll call runtime performance.
💡Key Conceptual Anchor:Performance Measures
Question 14 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What does the span of time waiting for the page to be useful depend on?
Correct Answer: Option B — Web performance
Detailed Academic Explanation:
The span of time that you are waiting for the page to be usable depends on web performance.
💡Key Conceptual Anchor:Performance Measures
Question 15 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
In order to skip or seek to a desired location in a sound or video, which property becomes helpful?
Correct Answer: Option B — currentTime
Detailed Academic Explanation:
In addition to starting and stopping sound and video, you can skip (or “seek”) to a desired location within the media by setting the currentTime property.
💡Key Conceptual Anchor:Performance Measures
Question 16 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of following shows a better runtime performance for coalescing functionality, using functions, and using objects?
Correct Answer: Option B — Firefox UsingFunct
Detailed Academic Explanation:
When we compare the runtime performance for coalescing functionality, using functions, and using objects, the Firefox UsingFunct shows a better performance.
💡Key Conceptual Anchor:Performance Measures
Question 17 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of following shows a poorer runtime performance for coalescing functionality, using functions, and using objects?
Correct Answer: Option A — Firefox unwoundfun
Detailed Academic Explanation:
When we compare the runtime performance for coalescing functionality, using functions, and using objects, the Firefox UsingFunct shows a poorer performance.
💡Key Conceptual Anchor:Performance Measures
Question 18 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
In how many modes can the Closure compiler be run?
Correct Answer: Option A — 2
Detailed Academic Explanation:
Closure Compiler can be run in either of two modes: 1. In Simple mode it mostly performs like most other minifiers, removing whitespace, line breaks, and comments 2. In Advanced mode it rewrites the JavaScript by renaming variables and functions from longer descriptive names to single letters to save file size, and it inlines functions, coalescing them into single functions wherever it determines that it can
💡Key Conceptual Anchor:Performance Measures
Question 19 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the purpose of the advanced mode in the Closure compiler?
Correct Answer: Option B — Renaming the variables and other parameters
Detailed Academic Explanation:
In Advanced mode, the Closure Compiler rewrites the JavaScript by renaming variables and functions from longer descriptive names to single letters to save file size, and it inlines functions, coalescing them into single functions wherever it determines that it can.
💡Key Conceptual Anchor:Performance Measures
Question 20 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Firebug is an extension of which browser?
Correct Answer: Option A — Mozilla
Detailed Academic Explanation:
Firebug is an extension of Mozilla.
💡Key Conceptual Anchor:Performance Measures
Question 21 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Firebug can be used to inspect
Correct Answer: Option D — All of the mentioned
Detailed Academic Explanation:
Firebug is an extension for the Mozilla Firefox browser that allows you to debug and inspect HTML, CSS, the Document Object Model (DOM) and JavaScript.
💡Key Conceptual Anchor:Performance Measures
Question 22 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Why do Web Developers use Firebug?
Correct Answer: Option C — Both Track cookies and sessions
Detailed Academic Explanation:
Web developers use Firebug for the following reasons : 1. Inspect the behavior of HTML/CSS, and modify style & layout with true WYSIWYG 2. Debug JavaScript 3. Detect performance of website 4. Track Cookies & Sessions
💡Key Conceptual Anchor:Performance Measures
Question 23 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What are the goals for using Firebug?
Correct Answer: Option A — Performance
Detailed Academic Explanation:
The goals for using Firebug is : 1. Performance 2. Modularity 3. Shared code 4. Compatibility
💡Key Conceptual Anchor:Performance Measures
Question 24 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following is not a feature of the User Interface?
Correct Answer: Option C — Fixed Side Panel
Detailed Academic Explanation:
The features present in the User Interface are : 1. Port of Firebug’s Visual Object Representation (aka Reps) 2. Recreation of Firebug 1.3 User Interface with pixel precision 3. Menu options 4. Resizable Side Panel 5. Skinnable Interface
💡Key Conceptual Anchor:Performance Measures
Question 25 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the default value of the property overrideConsole
Correct Answer: Option B — true
Detailed Academic Explanation:
The default value of the property overrideConsole is true.
💡Key Conceptual Anchor:Performance Measures
Question 26 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following property(s) has a default value as false?
Correct Answer: Option C — disableXHRListener
Detailed Academic Explanation:
Only disableXHRListener property has a default value false. The properties disableWhenFirebugActive and showIconWhenHidden has a default value of true.
💡Key Conceptual Anchor:Performance Measures
Question 27 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following action is possible in Firebug when used as a JavaScript Debugger and Profiler?
Correct Answer: Option C — Find Scripts easily & also Pause execution in any line
Detailed Academic Explanation:
When Firebug is used as a JavaScript Debugger and Profiler, it can be used to find scripts easily and also pause the execution in any desired line.
💡Key Conceptual Anchor:Performance Measures
Question 28 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How does PhantonJS use YSlow?
Correct Answer: Option D — Command Line Script
Detailed Academic Explanation:
Slow for PhantomJS is a command line script that allows page performance analysis from live URLs, unlike YSlow for Command Line (HAR) where a pre-generated HAR file is needed in order to analyze page performance.
💡Key Conceptual Anchor:Performance Measures
Question 29 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What are the two output formats YSlow uses?
Correct Answer: Option A — TAP, JUnit
Detailed Academic Explanation:
YSlow for PhantomJS introduces new output formats for automated test frameworks: TAP (Test Anything Protocol) and JUnit.
💡Key Conceptual Anchor:Performance Measures
Question 30 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Initially, YSlow was an extension of which browser?
Correct Answer: Option B — Firefox
Detailed Academic Explanation:
Intially, YSlow was an extension of Firefox.
💡Key Conceptual Anchor:Performance Measures
Question 31 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following can be used for a deeper analysis of the web page’s performance?
Correct Answer: Option C — YSlow
Detailed Academic Explanation:
For a deeper analysis of a page’s web performance you can use YSlow.
💡Key Conceptual Anchor:Performance Measures
Question 32 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How many rules are there in the YSlow version 2.0?
Correct Answer: Option A — 23
Detailed Academic Explanation:
There are totally 23 rules in the ruleset of YSlow (V2) namely : 1. Minimize HTTP Requests 2. Use a Content Delivery Network 3. Avoid empty src or href 4. Add an Expires or a Cache-Control Header 5. Gzip Components 6. Put StyleSheets at the Top 7. Put Scripts at the Bottom 8. Avoid CSS Expressions 9. Make JavaScript and CSS External 10. Reduce DNS Lookups 11. Minify JavaScript and CSS 12. Avoid Redirects 13. Remove Duplicate Scripts 14. Configure ETags 15. Make AJAX Cacheable 16. Use GET for AJAX Requests 17. Reduce the Number of DOM Elements 18. No 404s 19. Reduce Cookie Size 20. Use Cookie-Free Domains for Components 21. Avoid Filters 22. Do Not Scale Images in HTML 23. Make favicon.ico Small and Cacheable
💡Key Conceptual Anchor:Performance Measures
Question 33 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following is mandatory to run before running YSlow?
Correct Answer: Option B — FireBug
Detailed Academic Explanation:
It is mandatory to run FireBug before running YSlow.
💡Key Conceptual Anchor:Performance Measures
Question 34 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How does the YSlow for Mobile work as?
Correct Answer: Option C — Bookmaklet
Detailed Academic Explanation:
The YSlow for Mobile works as bookmaklet.
💡Key Conceptual Anchor:Performance Measures
Question 35 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which network allows you to distribute static assets like images, etc?
Correct Answer: Option A — Content Delivery Network
Detailed Academic Explanation:
A content delivery network (CDN) allows you to distribute your static assets like images, JavaScript files and stylesheets to geographically distributed servers. This gets the content of your page to your user’s browser faster.
💡Key Conceptual Anchor:Performance Measures
Question 36 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
When does WebPageTest become necessary?
Correct Answer: Option B — To run private websites
Detailed Academic Explanation:
If you want to run tests on web sites that are not publicly available—like a QA or development environment, or if you can only have your test results stored on your own servers because of legal or other reasons, then installing your own private instance of WebPagetest is the way to go.
💡Key Conceptual Anchor:Performance Measures
Question 37 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the purpose of Auth tab in the testing platform?
Correct Answer: Option A — To specify credentials
Detailed Academic Explanation:
In the Auth tab you can specify credentials to use if the web site uses HTTP authentication for access.
💡Key Conceptual Anchor:Performance Measures
Question 38 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the purpose of the Script tab?
Correct Answer: Option C — To run more complex tests
Detailed Academic Explanation:
The Script tab can be used to run more complex tests that involve multiple steps including navigate to multiple URLs, etc.
💡Key Conceptual Anchor:Performance Measures
Question 39 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which is the command that is used to spoof the client user agent?
Correct Answer: Option A — setUserAgent
Detailed Academic Explanation:
The setUserAgent spoofs the client user agent.
💡Key Conceptual Anchor:Performance Measures
Question 40 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the purpose of the Block tab?
Correct Answer: Option B — To block the request
Detailed Academic Explanation:
The Block tab allows us to block content coming in our request.
💡Key Conceptual Anchor:Performance Measures
✓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.