Performance Measures — Part 2 MCQs with Explanations
Practice high-yield Programming & Software Development MCQs on Performance Measures — Part 2 with worked academic solutions for FPSC, PPSC, NTS, NITB, PTS.
Questions
25
Difficulty Level
Exam-Level
Target Exams
FPSC, PPSC, NTS...
Estimated Time
30 mins
Exam-Level FPSC PPSC NTS NITB PTS
Verified for Commission Syllabus • Oct 14, 2026
25
Verified Practice Questions
Interactive test mode with detailed academic worked solutions
Live Progress|0/25 answered
✓0 correct
✗0 wrong
0% score
🎉 Set complete! All 25 questions answered.
Question 1 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the purpose of the Video tab?
Correct Answer: Option D — To capture screen shots of the page
Detailed Academic Explanation:
The Video tab allows you to capture screen shots of your page as it loads and views them as a video.
💡Key Conceptual Anchor:Performance Measures
Question 2 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the task of the Advanced Panel?
Correct Answer: Option A — Test stop running
Detailed Academic Explanation:
In the Advanced panel, you can have the test stop running at document completion. That will tell us when the document.onload event is fired, instead of when all assets on the page are loaded.
💡Key Conceptual Anchor:Performance Measures
Question 3 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the vulnerability of XHR communications?
Correct Answer: Option C — Registration and Skewing the results
Detailed Academic Explanation:
XHR communications that may happen after page load could register as new activity and skew the test results.
💡Key Conceptual Anchor:Performance Measures
Question 4 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following methods adds and connects the point to the cubic bezier curve?
Correct Answer: Option B — bezierCurveTo()
Detailed Academic Explanation:
This method adds a new point P to the subpath and connects it to the current point with a cubic Bezier curve.
💡Key Conceptual Anchor:Performance Measures
Question 5 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following methods adds an arc to the current subpath?
Correct Answer: Option C — arc()
Detailed Academic Explanation:
The arc() method adds an arc to the current subpath.
💡Key Conceptual Anchor:Performance Measures
Question 6 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the purpose of minifying the JavaScript?
Correct Answer: Option A — To streamline the visits
Detailed Academic Explanation:
To ensure that our first-time visits are as streamlined as possible, we need to minify our JavaScript.
💡Key Conceptual Anchor:Performance Measures
Question 7 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
From which did Minification concept originate?
Correct Answer: Option B — JavaScript interpreter
Detailed Academic Explanation:
Minification is originally based on the idea that the JavaScript interpreter ignores white space, line breaks, and of course comments, so we can save on total file size of our .js files if we remove those unneeded characters.
💡Key Conceptual Anchor:Performance Measures
Question 8 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the purpose of the product Minify?
Correct Answer: Option C — Proxies the JavaScript file
Detailed Academic Explanation:
Minify proxies the JavaScript file;the script tag on the page points to Minify, which is a PHP file.
💡Key Conceptual Anchor:Performance Measures
Question 9 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What does the Minify set the encoding HTTP header?
Correct Answer: Option C — both deflate and gzip
Detailed Academic Explanation:
Minify reads the JavaScript file in, minifies it and when it responds it sets the accept encoding HTTP header to gzip, deflate.
💡Key Conceptual Anchor:Performance Measures
Question 10 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is in-built in the Minify?
Correct Answer: Option B — Static compression
Detailed Academic Explanation:
Effectively Minify has built in HTTP static compression. This is especially useful if your web host doesn’t allow the gzipping of static content.
💡Key Conceptual Anchor:Performance Measures
Question 11 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which folder contains the Minify control panel?
Correct Answer: Option A — /min/builder/
Detailed Academic Explanation:
To navigate to the Minify control panel, it is located in the /min/builder/.
💡Key Conceptual Anchor:Performance Measures
Question 12 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following is the order of Minify process?
Correct Answer: Option C — Read, Remove extraneous characters, gzip the response
Detailed Academic Explanation:
Minify reads in the content, decorates it by way of removing extraneous characters, and gzips the response.
💡Key Conceptual Anchor:Performance Measures
Question 13 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
YUI Compressor is analogous to
Correct Answer: Option A — Minify
Detailed Academic Explanation:
Just like Minify, YUI Compressor strips out all of the unnecessary characters from your JavaScript, including spaces, line breaks, and comments.
💡Key Conceptual Anchor:Performance Measures
Question 14 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What type of file is YUI Compressor?
Correct Answer: Option B — JAR file
Detailed Academic Explanation:
YUI Compressor is a jar file and runs from the command line. Because of this it is easily integrated into a build process. It looks like this: java -jar yuicompressor-[version].jar [options] [file name]
💡Key Conceptual Anchor:Performance Measures
Question 15 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the function of a Closure Compiler?
Correct Answer: Option C — Rewrites JavaScript
Detailed Academic Explanation:
Closure Compiler runs through a number of “scorched-earth” optimizations—it unfurls functions, rewrites variable names, and removes functions that are never called (as far as it can tell).
💡Key Conceptual Anchor:Performance Measures
Question 16 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is scorched-earth optimizations?
Correct Answer: Option B — They strip out everything including best practices
Detailed Academic Explanation:
Closure Compiler runs through a number of “scorched-earth” optimizations—it unfurls functions, rewrites variable names, and removes functions that are never called (as far as it can tell).
💡Key Conceptual Anchor:Performance Measures
Question 17 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
The Closure Compiler was introduced by
Correct Answer: Option C — Google
Detailed Academic Explanation:
The Closure Compiler was introduced by Google.
💡Key Conceptual Anchor:Performance Measures
Question 18 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the return type of the script tag?
Correct Answer: Option C — HTTP Request
Detailed Academic Explanation:
The script tag sends the HTTP Request to the Minify.
💡Key Conceptual Anchor:Performance Measures
Question 19 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What does the JS File return ?
Correct Answer: Option B — Minify JavaScript
Detailed Academic Explanation:
The JS File returns the Minify JavaScript.
💡Key Conceptual Anchor:Performance Measures
Question 20 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the outcome of using R along with minification?
Correct Answer: Option A — Sheer file size reduction
Detailed Academic Explanation:
Sheer file size reduction is the only one aspect of the overall determination got from the R along with the minification.
💡Key Conceptual Anchor:Performance Measures
Question 21 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which one of the following is more efficient in terms of the file size reduction?
Correct Answer: Option B — Closure Compiler (advanced)
Detailed Academic Explanation:
The Closure Compiler (advanced) has a more number percent of file size reduction by product.
💡Key Conceptual Anchor:Performance Measures
Question 22 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following are JavaScript optimizers?
Correct Answer: Option D — Both JSMin and Packer
Detailed Academic Explanation:
JavaScript optimizers such as JSMin and Packer are specially designed for modern web programming techniques, and are able to understand and preserve conditional comments, and similar.
💡Key Conceptual Anchor:Performance Measures
Question 23 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following is the approach used to compress HTML in web servers and modern web browsers?
Correct Answer: Option A — Content encoding
Detailed Academic Explanation:
Content encoding is an approach taken by compatible web servers and modern web browsers to compress HTML and related textual content, often in the gzip format.
💡Key Conceptual Anchor:Performance Measures
Question 24 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which is the game that requires extremely minified source in the Perl culture?
Correct Answer: Option B — Perl golf
Detailed Academic Explanation:
In Perl culture, aiming at extremely minified source code is the purpose of the Perl golf game.
💡Key Conceptual Anchor:Performance Measures
Question 25 of 25
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What does the Minify return back to the Script tag?
Correct Answer: Option D — Gzip encoded
Detailed Academic Explanation:
Gzip encoded is the correct answer to “What does the Minify return back to the Script tag”. This question is standard in competitive examination syllabi for Performance Measures.
💡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.