Javascript interview questions part 7

Javascript interview questions part 7

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

Total Questions: 20

1. The method that can be used to create new properties and also to modify the attributes of existing properties is _________

Correct Answer is : Both Object.defineProperty() and Object.defineProperties()

2. The main purpose of JavaScript in web browser is to ___________

Correct Answer is : Creating animations and other visual effects

3. A JavaScript program can traverse and manipulate document content through __________

Correct Answer is : Both Element and Document Object

4. The behaviour of the document elements can be defined by __________

Correct Answer is : Registering appropriate event handlers

5. The service(s) that enables networking through scripted HTTP requests is __________

Correct Answer is : XMLHttpRequest

6. The HTML5 specification includes __________

Correct Answer is : All of the mentioned

7. Which of the following are not advanced services?

Correct Answer is : None of the mentioned

8. JavaScript code between a pair of “script” tags are called __________

Correct Answer is : Inline

9. Client-side JavaScript code is embedded within HTML documents in __________

Correct Answer is : A URL that uses the special javascript:protocol

10. What is the programming philosophy that argues that content and behaviour should as much as possible be kept separate?

Correct Answer is : Unobtrusive JavaScript

11. Which of the following communicates with server-side CGI scripts through HTML form submissions and can be written without the use of JavaScript?

Correct Answer is : Interactive Web Pages

12. The libraries that build a new higher-level API for client-side programming is ____________

Correct Answer is : Framework

13. Which of the following is not a framework?

Correct Answer is : JavaScript

14. Which of the following frameworks focuses on DOM and Ajax utilities?

Correct Answer is : Both jQuery and Prototype

15. What is the purpose of Dojo framework?

Correct Answer is : Advertises incredible depth

16. Which is the in-house library of Yahoo!?

Correct Answer is : YUI

17. What does Dojo and YUI have in common?

Correct Answer is : Facilitates DOM utilities and UI Widgets

18. What are the two incompatible versions of YUI?

Correct Answer is : YUI1 and YUI2

19. Which of the following framework was used by Google for Gmail?

Correct Answer is : Closure

20. Which of the following is a web application API framework?

Correct Answer is : GWT

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon