Sail E0 Webinar

MCQs

Total Questions : 180 | Page 12 of 18 pages
Question 111. Which function among the following lets to register a function to be invoked once?
  1.    setTimeout()
  2.    setTotaltime()
  3.    setInterval()
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> setTimeout()
Question 112. Which function among the following lets to register a function to be invoked repeatedly after a certain time?
  1.    setTimeout()
  2.    setTotaltime()
  3.    setInterval()
  4.    none of the mentioned
 Discuss Question
Answer: Option C. -> setInterval()
Question 113. Which is the handler method used to invoke when uncaught JavaScript exceptions occur?
  1.    Onhalt
  2.    Onerror
  3.    Both onhalt and onerror
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Onerror
Question 114. Which method receives the return value of setInterval() to cancel future invocations?
  1.    clearInvocation()
  2.    cancelInvocation()
  3.    clearInterval()
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> clearInterval()
Question 115. Which property is used to obtain browser vendor and version information?
  1.    modal
  2.    version
  3.    browser
  4.    navigator
 Discuss Question
Answer: Option D. -> navigator
Question 116. The setTimeout() belongs to which object?
  1.    Element
  2.    Window
  3.    Location
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Window
Question 117. Which method receives the return value of setTimeout() to cancel future invocations?
  1.    clearTimeout()
  2.    clearInterval()
  3.    clearSchedule()
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> clearTimeout()
Question 118. What will happen if we call setTimeout() with a time of 0 ms?
  1.    Placed in stack
  2.    Placed in queue
  3.    Will run continuously
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Placed in queue
Question 119. To which object does the location property belong?
  1.    Window
  2.    Position
  3.    Element
  4.    Location
 Discuss Question
Answer: Option A. -> Window
Question 120. What is the result of the following code snippet?
window.location === document.location
  1.    False
  2.    True
  3.    0
  4.    1
 Discuss Question
Answer: Option B. -> True

Latest Videos

Latest Test Papers