Sail E0 Webinar

MCQs

Total Questions : 80 | Page 6 of 8 pages
Question 51. The word “document” mainly refers to
  1.    Dynamic Information
  2.    Static Information
  3.    Both Dynamic and Static Information
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Static Information
Question 52. Which identifier is used to represent a web browser window or frame?
  1.    frames
  2.    window
  3.    location
  4.    frame
 Discuss Question
Answer: Option B. -> window
Question 53. Which object is the main entry point to all client-side JavaScript features and APIs?
  1.    Standard
  2.    Location
  3.    Window
  4.    Position
 Discuss Question
Answer: Option C. -> Window
Question 54. Which property in the Window object is used to refer to a Location object?
  1.    position
  2.    area
  3.    window
  4.    location
 Discuss Question
Answer: Option D. -> location
Question 55. Which Window object method is used to display message in a dialog box?
  1.    alert()
  2.    prompt()
  3.    message()
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> alert()
Question 56. The setTimeout() method is used to
  1.    Make the event sleep
  2.    Register a function to be invoked after a certain time
  3.    Invoke an event after a certain time
  4.    Time for iteration
 Discuss Question
Answer: Option B. -> Register a function to be invoked after a certain time
Question 57. Which of the following is a global object?
  1.    Register
  2.    Location
  3.    Window
  4.    Position
 Discuss Question
Answer: Option C. -> Window
Question 58. Which is the property that represents the content displayed in the window?
  1.    document
  2.    content
  3.    window
  4.    frame
 Discuss Question
Answer: Option A. -> document
Question 59. When will the window property come into play?
  1.    Representation convenience
  2.    Use as an extension of other objects
  3.    Use objects in the Window object
  4.    Refer to window object itself
 Discuss Question
Answer: Option D. -> Refer to window object itself
Question 60. How to pick a document element based on the value of its id attribute?
  1.    getElementsbyId()
  2.    getElementbyId()
  3.    both getElementsbyId() and getElementbyId()
  4.    none of the mentioned
 Discuss Question
Answer: Option B. -> getElementbyId()

Latest Videos

Latest Test Papers