Javascript Interview Questions - 38 | Snaprecruit.com

Javascript Interview Questions - 38 | Snaprecruit.com

Javascript interview questions part 38

Javascript interview questions part 38

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

Total Questions: 20

1. When the “end” event fires on EOF when no more data will arrive, which function is called?

Correct Answer is : s.on("end",f);

2. To define each of the set classes as a property of the sets object (namespace) for the module, the statement is

Correct Answer is : sets.SingletonSet = sets.AbstractEnumerableSet.extend(...);

3. Which property helps to initiate the HTTP requests?

Correct Answer is : location

4. Which method is an alternative of the property location of a window object?

Correct Answer is : submit()

5. Which of the following uses scripted HTTP?

Correct Answer is : Ajax

6. Which of the below is a liberal reverse of Ajax?

Correct Answer is : Comet

7. The other name for Comet is _____________

Correct Answer is : All of the mentioned

8. Which is the element that has a src property to initiate HTTP GET request?

Correct Answer is : both img and script

9. XMLHttpRequest is a ____________

Correct Answer is : Both Object and Class

10. Which of the following are the features of an HTTP request?

Correct Answer is : All of the mentioned

11. Which of the following is a feature of the HTTP response?

Correct Answer is : Mandatory response body

12. Which is the appropriate code to begin a HTTP GET request?

Correct Answer is : request.open("GET","data.csv");

13. Which HTML element is used to include images?

Correct Answer is : img

14. What is the purpose of image replacement?

Correct Answer is : Implementation of image rollovers

15. When is JavaScript called obtrusive?

Correct Answer is : JavaScript code is so large

16. Which is a possible way of finding all the img elements in the document?

Correct Answer is : document.images[]

17. Which of the following elements are used to include audio?

Correct Answer is : audio

18. Which of the following attributes are common to both audio and video?

Correct Answer is : controls

19. Which of the following is not the property of the video tag?

Correct Answer is : breadth

20. Which of the following is the parameter used to invoke the Audio() constructor?

Correct Answer is : Both File and Music

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon