Sail E0 Webinar

MCQs

Total Questions : 86 | Page 9 of 9 pages
Question 81. Which of the following navigator object properties is the same in both Netscape and IE?
  1.    navigator.appCodeName
  2.    navigator.appName
  3.    navigator.appVersion
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> navigator.appCodeName
Question 82. Which best explains getSelection()?
  1.    Returns the VALUE of a selected OPTION
  2.    Returns document.URL of the window in focus
  3.    Returns the value of cursor-selected text
  4.    Returns the VALUE of a checked radio input
 Discuss Question
Answer: Option C. -> Returns the value of cursor-selected text
Question 83. What is the purpose of the method localeCompare()?
  1.    If the reference string comes before or after another string
  2.    If the reference string is validated
  3.    If the string is a reference string
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> If the reference string comes before or after another string
Question 84. Which of the following are client-side JavaScript object?
  1.    Database
  2.    Cursor
  3.    Client
  4.    FileUpLoad
 Discuss Question
Answer: Option D. -> FileUpLoad
Question 85. To define each of the set classes as a property of the sets object (namespace) for the module, the statement is
  1.    sets = sets.AbstractEnumerableSet.extend();
  2.    sets.SingletonSet = sets.AbstractEnumerableSet.extend(...);
  3.    sets.SingletonSet = sets.extend(...);
  4.    sets = sets.extend(...);
 Discuss Question
Answer: Option B. -> sets.SingletonSet = sets.AbstractEnumerableSet.extend(...);
Question 86. When the “end” event fires on EOF when no more data will arrive, which function is called?
  1.    s.on("data",f);
  2.    s.on("end",f);
  3.    s.on("error",f);
  4.    s.on("default",f);
 Discuss Question
Answer: Option B. -> s.on("end",f);

Latest Videos

Latest Test Papers