Performance Measures(Javascript ) Questions and Answers

Question 1. What is the purpose of the product Minify?
  1.    Storing the data
  2.    Streamlining the data
  3.    Proxies the JavaScript file
  4.    All of the mentioned
Explanation:-
Answer: Option C. -> Proxies the JavaScript file
Minify proxies the JavaScript file;the script tag on the page points to Minify, which is a PHP file.

Question 2. What is in-built in the Minify?
  1.    Dynamic compression
  2.    Static compression
  3.    Static content
  4.    None of the mentioned
Explanation:-
Answer: Option B. -> Static compression
Effectively Minify has built in HTTP static compression. This is especially useful if your web host doesn’t allow the gzipping of static content.

Question 3. Which folder contains the Minify control panel?
  1.    /min/builder/
  2.    /builder/
  3.    /minify/build
  4.    /minify/builder
Explanation:-
Answer: Option A. -> /min/builder/
To navigate to the Minify control panel, it is located in the /min/builder/.

Question 4. What does the Minify set the encoding HTTP header?
  1.    deflate
  2.    gzip
  3.    both deflate and gzip
  4.    none of the mentioned
Explanation:-
Answer: Option C. -> both deflate and gzip
Minify reads the JavaScript file in, minifies it and when it responds it sets the accept encoding HTTP header to gzip, deflate.

Question 5. Which of the following is the order of Minify process?
  1.    Remove extraneous characters, gzip the response, Read
  2.    Remove extraneous characters, Read, gzip the response
  3.    Read, Remove extraneous characters, gzip the response
  4.    None of the mentioned
Explanation:-
Answer: Option C. -> Read, Remove extraneous characters, gzip the response
Minify reads in the content, decorates it by way of removing extraneous characters, and gzips the response.

Question 6. Firebug is an extension of which browser?
  1.    Mozilla
  2.    Chrome
  3.    IE
  4.    Opera
Explanation:-
Answer: Option A. -> Mozilla
Firebug is an extension of Mozilla.

Question 7. Firebug can be used to inspect
  1.    HTML
  2.    CSS
  3.    DOM
  4.    All of the mentioned
Explanation:-
Answer: Option D. -> All of the mentioned
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.

Question 8. Which of the following is not a feature of the User Interface?
  1.    Skinnable Interface
  2.    Resizable Side Panel
  3.    Fixed Side Panel
  4.    Menu options
Explanation:-
Answer: Option C. -> Fixed Side Panel
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

Question 9. Why do Web Developers use Firebug?
  1.    Track cookies
  2.    Track sessions
  3.    Both Track cookies and sessions
  4.    None of the mentioned
Explanation:-
Answer: Option C. -> Both Track cookies and sessions
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

Question 10. What are the goals for using Firebug?
  1.    Performance
  2.    Adaptability
  3.    Complexity
  4.    Reliability
Explanation:-
Answer: Option A. -> Performance
The goals for using Firebug is :
1. Performance
2. Modularity
3. Shared code
4. Compatibility