JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Javascript interview questions part 43
Javascript interview questions part 43
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Which property is used to obtain browser vendor and version information?
A. modal
B. version
C. browser
D. navigator
Show Correct Answer
Correct Answer is :
navigator
2. Which method receives the return value of setInterval() to cancel future invocations?
A. clearInvocation()
B. cancelInvocation()
C. clearInterval()
D. clear()
Show Correct Answer
Correct Answer is :
clearInterval()
3. The setTimeout() belongs to which object?
A. Element
B. Window
C. Location
D. Event
Show Correct Answer
Correct Answer is :
Window
4. Which method receives the return value of setTimeout() to cancel future invocations?
A. clearTimeout()
B. clearInterval()
C. clearSchedule()
D. cancelInvocation()
Show Correct Answer
Correct Answer is :
clearTimeout()
5. What will happen if we call setTimeout() with a time of 0 ms?
A. Placed in stack
B. Placed in queue
C. Will run continuously
D. Will execute immediately
Show Correct Answer
Correct Answer is :
Placed in queue
6. To which object does the location property belong?
A. Window
B. Position
C. Element
D. Location
Show Correct Answer
Correct Answer is :
Window
7. What is the result of the following code snippet? window.location === document.location
A. FALSE
B. TRUE
C. 0
D. 1
Show Correct Answer
Correct Answer is :
TRUE
8. Which of the following are the features of jQuery?
A. Efficient query method for finding the set of document elements
B. Expressive syntax for referring to elements in the document
C. Useful set of methods for manipulating selected elements
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
9. Which of the following is a single global function defined in the jQuery library?
A. jQuery()
B. $()
C. Queryanalysis()
D. global()
Show Correct Answer
Correct Answer is :
jQuery()
10. Which of the following is a factory function?
A. $()
B. jQuery()
C. Queryanalysis()
D. onclick()
Show Correct Answer
Correct Answer is :
jQuery()
11. Which is the method that operates on the return value of $()?
A. show()
B. css()
C. click()
D. done()
Show Correct Answer
Correct Answer is :
css()
12. Consider the following code snippet. What does the min mean?
A. Minimised version
B. Miniature
C. Minimised parameters
D. Minimum value
Show Correct Answer
Correct Answer is :
Minimised version
13. Which of the following is a heavily overloaded function?
A. jQuery()
B. $()
C. script()
D. Both jQuery() and $()
Show Correct Answer
Correct Answer is :
Both jQuery() and $()
14. Which of the following is an equivalent replacement of $(document).ready(f)?
A. jQuery(f)
B. $(f)
C. #(f)
D. read(f)
Show Correct Answer
Correct Answer is :
$(f)
15. Which of the following is a utility function in jQuery?
A. jQuery.each()
B. jQuery.parseJSON()
C. jQuery.noConflict()
D. jQuery.conflict()
Show Correct Answer
Correct Answer is :
jQuery.noConflict()
16. Which of the following is used for parsing JSON text?
A. jQuery.each()
B. jQuery.parseJSON()
C. jQuery.noConflict()
D. jQuery.conflict()
Show Correct Answer
Correct Answer is :
jQuery.parseJSON()
17. The URL property belongs to which of the following object?
A. Document
B. Element
C. Location
D. Event
Show Correct Answer
Correct Answer is :
Document
18. What does the location property represent?
A. Current DOM object
B. Current URL
C. Both DOM object and URL
D. Document
Show Correct Answer
Correct Answer is :
Current URL
19. Which among the following is not a property of the Location object?
A. protocol
B. host
C. hostee
D. hostname
Show Correct Answer
Correct Answer is :
hostee
20. What is the return type of the hash property?
A. Query string
B. Packets
C. String
D. Fragment identifier
Show Correct Answer
Correct Answer is :
Fragment identifier
Similar Interview Questions
Search for latest jobs
Find Jobs