JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Javascript interview questions part 7
Javascript interview questions part 7
Back
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 _________
A. Object.defineProperty()
B. Object.defineProperties()
C. Both Object.defineProperty() and Object.defineProperties()
D. Object.inherit()
Show Correct Answer
Correct Answer is :
Both Object.defineProperty() and Object.defineProperties()
2. The main purpose of JavaScript in web browser is to ___________
A. Creating animations and other visual effects
B. User Interface
C. Visual effects
D. User experience
Show Correct Answer
Correct Answer is :
Creating animations and other visual effects
3. A JavaScript program can traverse and manipulate document content through __________
A. Element Object
B. Document Object
C. Both Element and Document Object
D. Data object
Show Correct Answer
Correct Answer is :
Both Element and Document Object
4. The behaviour of the document elements can be defined by __________
A. Using document object
B. Registering appropriate event handlers
C. Using element object
D. Using data element
Show Correct Answer
Correct Answer is :
Registering appropriate event handlers
5. The service(s) that enables networking through scripted HTTP requests is __________
A. XMLHttpResponse
B. XMLRequest
C. XMLHttpRequest
D. XMLHttps
Show Correct Answer
Correct Answer is :
XMLHttpRequest
6. The HTML5 specification includes __________
A. Data storage
B. Graphics APIs
C. Other APIs for web apps
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
7. Which of the following are not advanced services?
A. Data storage
B. Networking
C. XMLHttpRequest object
D. None of the mentioned
Show Correct Answer
Correct Answer is :
None of the mentioned
8. JavaScript code between a pair of “script” tags are called __________
A. Non-inline
B. External
C. Referenced
D. Inline
Show Correct Answer
Correct Answer is :
Inline
9. Client-side JavaScript code is embedded within HTML documents in __________
A. A URL that uses the special javascript:encoding
B. A URL that uses the special javascript:stack
C. A URL that uses the special javascript:protocol
D. A URL that uses the special javascript:code
Show Correct Answer
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?
A. Unobtrusive JavaScript
B. Obtrusive JavaScript
C. Inherited JavaScript
D. Modular JavaScript
Show Correct Answer
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?
A. Static Web Pages
B. Interactive Web Pages
C. Conditional Web Pages
D. All web pages
Show Correct Answer
Correct Answer is :
Interactive Web Pages
12. The libraries that build a new higher-level API for client-side programming is ____________
A. Library
B. Framework
C. APIs
D. Script
Show Correct Answer
Correct Answer is :
Framework
13. Which of the following is not a framework?
A. jQuery
B. .NET
C. JavaScript
D. Cocoa
Show Correct Answer
Correct Answer is :
JavaScript
14. Which of the following frameworks focuses on DOM and Ajax utilities?
A. jQuery
B. Prototype
C. Dojo
D. Both jQuery and Prototype
Show Correct Answer
Correct Answer is :
Both jQuery and Prototype
15. What is the purpose of Dojo framework?
A. Focuses on DOM and Ajax utilities
B. Advertises incredible depth
C. Ajax utilities
D. Modular
Show Correct Answer
Correct Answer is :
Advertises incredible depth
16. Which is the in-house library of Yahoo!?
A. Dojo
B. YUI
C. Prototype
D. Closure
Show Correct Answer
Correct Answer is :
YUI
17. What does Dojo and YUI have in common?
A. Facilitates DOM utilities and UI Widgets
B. Does not facilitates DOM utilities and UI Widgets
C. Client-side library
D. Server-side library
Show Correct Answer
Correct Answer is :
Facilitates DOM utilities and UI Widgets
18. What are the two incompatible versions of YUI?
A. YUI1 and YUI2
B. YUI2 and YUI4
C. YUI1 and YUI3
D. YUI2 and YUI3
Show Correct Answer
Correct Answer is :
YUI1 and YUI2
19. Which of the following framework was used by Google for Gmail?
A. Dojo
B. GWT
C. Closure
D. YUI
Show Correct Answer
Correct Answer is :
Closure
20. Which of the following is a web application API framework?
A. Dojo
B. YUI
C. GWT
D. jQuery
Show Correct Answer
Correct Answer is :
GWT
Similar Interview Questions
Search for latest jobs
Find Jobs