JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Javascript interview questions part 20
Javascript interview questions part 20
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. What does the NamedNodeMap object represent in the HTML DOM?
A. Unordered collection of elements
B. Unordered collection of attributes
C. Unordered collection of nodes
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
2. What is the purpose of the Attr object in the HTML DOM?
A. Used to focus on a particular part of the HTML page
B. HTML Attribute
C. Used to arrange elements
D. None of the mentioned
Show Correct Answer
Correct Answer is :
HTML Attribute
3. What is the work of the form control elements in the HTML DOM?
A. User Interface elements
B. All the possible elements
C. Debugging elements
D. None of the mentioned
Show Correct Answer
Correct Answer is :
User Interface elements
4. How are the objects organized in the HTML DOM?
A. Class-wise
B. Queue
C. Hierarchy
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Hierarchy
5. Which of the following is a type of HTML DOM?
A. Legacy DOM
B. W3C DOM
C. IE4 DOM
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
6. What is the purpose of the Legacy DOM ?
A. Makes the scripting easier
B. Allows access to few keys and elements
C. All of the mentioned
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Allows access to few keys and elements
7. Which object is the top of the hierarchy?
A. Window Object
B. Document Object
C. Form Object
D. Form Control Elements
Show Correct Answer
Correct Answer is :
Window Object
8. Which side of image map can be created using JavaScript?
A. Server side
B. Client side
C. Both Server and Client side
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Client side
9. Which is the attribute used to enable the Client-side image map?
A. map
B. area
C. usemap
D. all of the mentioned
Show Correct Answer
Correct Answer is :
usemap
10. Which are the special tags used for image mapping?
A. map and area
B. map and usemap
C. only map
D. only usemap
Show Correct Answer
Correct Answer is :
map and area
11. Which is the element that follows the use of “img”?
A. area
B. usemap
C. map
D. any element can follow the use of “img”
Show Correct Answer
Correct Answer is :
map
12. What is the purpose of the area element?
A. Area of the text
B. Shape and coordinates of the hotspot
C. Shape and area of the hotspot
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Shape and coordinates of the hotspot
13. Which of the following is not a navigator property?
A. platform[].
B. plugin[].
C. userAgent[].
D. all of the mentioned
Show Correct Answer
Correct Answer is :
all of the mentioned
14. What is the purpose of the platform[] property in a navigator?
A. Platform of the script
B. Platform where the image map was designed
C. Platform where the browser was compiled
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Platform where the browser was compiled
15. What is the purpose of the preference method in a navigator?
A. Set Browser preference
B. Set Netscape preference
C. Both Set Browser & Netscape preference
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Set Netscape preference
16. Which of the following is not a navigator method?
A. postEnabled
B. reference
C. preference
D. all of the mentioned
Show Correct Answer
Correct Answer is :
preference
17. What is the purpose of the userAgent property?
A. Identifying the data
B. Identifying the client
C. Both Identifying the data and client
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Identifying the client
18. How many properties does a prototype object have?
A. 6
B. 7
C. 8
D. 9
Show Correct Answer
Correct Answer is :
7
19. Which of the following does not serialize the undefined values or objects within an object?
A. JSON.string
B. JSON
C. JSON.stringify
D. JSON.change()
Show Correct Answer
Correct Answer is :
JSON.stringify
20. How many properties are there in the interface PerformanceTiming?
A. 21
B. 22
C. 23
D. 24
Show Correct Answer
Correct Answer is :
21
Similar Interview Questions
Search for latest jobs
Find Jobs