Javascript interview questions part 27

Javascript interview questions part 27

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

Total Questions: 20

1. What is the vulnerability of XHR communications?

Correct Answer is : Registration and Skewing the results

2. Which of the following methods adds and connects the point to the cubic bezier curve?

Correct Answer is : bezierCurveTo()

3. Which of the following methods adds an arc to the current subpath?

Correct Answer is : arc()

4. How does PhantonJS use YSlow?

Correct Answer is : Command Line Script

5. What are the two output formats YSlow uses?

Correct Answer is : TAP, JUnit

6. Initially, YSlow was an extension of which browser?

Correct Answer is : Firefox

7. Which of the following can be used for a deeper analysis of the web page’s performance?

Correct Answer is : YSlow

8. How many rules are there in the YSlow version 2.0?

Correct Answer is : 23

9. Which of the following is mandatory to run before running YSlow?

Correct Answer is : FireBug

10. How does the YSlow for Mobile work as?

Correct Answer is : Bookmarklet

11. Which network allows you to distribute static assets like images, etc?

Correct Answer is : Content Delivery Network

12. What are the three important manipulations done in a for loop on a loop variable?

Correct Answer is : Initialization,Testing, Updation

13. Consider the following code snippet let succ = function(x) x+1, yes = function() true, no = function() false; What convenience does the above code snippet provide?

Correct Answer is : Functional behaviour

14. When are the keyboard events fired?

Correct Answer is : When user clicks a key

15. How does a user generate multiple keydown events?

Correct Answer is : Pressing the key longer than usual

16. Which property is used to specify the key type when pressed?

Correct Answer is : keyCode

17. For what value does the keyCode property persists even when a Shift key is pressed for adding punctuation character.

Correct Answer is : Digits

18. Which of the following are not key event properties?

Correct Answer is : Code key

19. Which of the following key property holds the key name as a string?

Correct Answer is : key

20. Which of the following is not the value the key property will hold if the key is a function key?

Correct Answer is : Left

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon