| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. YUI Compressor is analogous to

Correct Answer is : Minify

2. What type of file is YUI Compressor?

Correct Answer is : JAR file

3. What is the function of a Closure Compiler?

Correct Answer is : Rewrites JavaScript

4. What is scorched-earth optimizations?

Correct Answer is : They strip out everything including best practices

5. The Closure Compiler was introduced by ___________

Correct Answer is : Google

6. What does the Minify return back to the Script tag?

Correct Answer is : Gzip encoded

7. What is the return type of the script tag?

Correct Answer is : HTTP Request

8. What does the JS File return?

Correct Answer is : Minify JavaScript

9. What is the outcome of using R along with minification?

Correct Answer is : Sheer file size reduction

10. Which one of the following is more efficient in terms of the file size reduction?

Correct Answer is : Closure Compiler (advanced)

11. Which of the following are JavaScript optimizers?

Correct Answer is : Both JSMin and Packer

12. Which of the following is the approach used to compress HTML in web servers and modern web browsers?

Correct Answer is : Content encoding

13. Which is the game that requires extremely minified source in the Perl culture?

Correct Answer is : Perl golf

14. The Crockford’s subset does not include which function in JavaScript?

Correct Answer is : eval()

15. What does javascript use instead of == and !=?

Correct Answer is : It uses === and !== instead

16. What is being imposed on each subset to ensure that it conforms to the subset?

Correct Answer is : A static verifier that parses code

17. Why was “The Good Parts” designed as a language subset in JavaScript?

Correct Answer is : To improve programmer productivity

18. Which is the subset that is a secure container designed for the purpose of safely running untrusted JavaScript?

Correct Answer is : Sandbox

19. Why is this keyword not preferred in JavaScript?

Correct Answer is : Functions should not access the global objects

20. Which are the two functions that are not allowed in any secure subset?

Correct Answer is : eval() and the Function() constructor