Caching And Debugging - Study Mode

[#31] What is the purpose of the simple mode?
Correct Answer

(A) Removes whitespaces

Explanation

Solution: In Simple mode it mostly performs like most other minifiers, removing whitespace, line breaks, and comments.

[#32] What is a closure compiler UI?
Correct Answer

(B) Web application

Explanation

Solution: A closure compiler UI is a web application.

[#33] What are the benefits of closure compiler?
Correct Answer

(D) None of the mentioned

Explanation

Solution: The closure compiler is highly beneficial in terms of : 1. Efficiency: The Closure Compiler reduces the size of your JavaScript files and makes them more efficient, helping your application to load faster and reducing your bandwidth needs. 2. Code checking: The Closure Compiler provides warnings for illegal JavaScript and warnings for potentially dangerous operations, helping you to produce JavaScript that is less buggy and easier to maintain.

[#34] In what way is the closure compiler efficient?
Correct Answer

(B) Reduces the size of the JavaScript files

Explanation

Solution: The Closure Compiler reduces the size of your JavaScript files and makes them more efficient, helping your application to load faster and reducing your bandwidth needs.

[#35] In which way can the closure compiler can be used?
Correct Answer

(D) Only Open source and Web application

Explanation

Solution: You can use the Closure Compiler as: 1. An open source Java application that you can run from the command line. 2. A simple web application. 3. A RESTful API.