Sail E0 Webinar

MCQs

Total Questions : 67 | Page 7 of 7 pages
Question 61. What will be the reaction when a catch clause has no conditionals ?
  1.    Takes it to be 0
  2.    Takes it to be 1
  3.    Takes it to be true
  4.    Takes it to be false
 Discuss Question
Answer: Option C. -> Takes it to be true
Question 62. When will the finally block be called?
  1.    When there is no exception
  2.    When the catch doesnot match
  3.    When there is exception
  4.    None of the mentioned
 Discuss Question
Answer: Option D. -> None of the mentioned
Question 63. What is the return type of typeof for standard JavaScript objects?
  1.    xml
  2.    object
  3.    dom
  4.    html
 Discuss Question
Answer: Option B. -> object
Question 64. Which method to use while working with XML fragments, instead of XML()?
  1.    XMLInterface()
  2.    XMLClass()
  3.    XMLList()
  4.    XMLArray()
 Discuss Question
Answer: Option C. -> XMLList()
Question 65. Which of the following is the descendant operator?
  1.    ..
  2.    …
  3.    *
  4.    @
 Discuss Question
Answer: Option B. ->
Question 66. Which of the following is an example to perform the most common XML manipulations using the XML objects invocation?
  1.    insertChildBefore()
  2.    insertChildAfter()
  3.    appendChildAfter(…)
  4.    appendChildBefore(…)
 Discuss Question
Answer: Option A. -> insertChildBefore()
Question 67. What is the code required to delete all “weight” tags?
  1.    delete weight(pt).all;
  2.    delete pt.element[all];
  3.    delete pt;
  4.    delete pt..weight;
 Discuss Question
Answer: Option D. -> delete pt..weight;

Latest Videos

Latest Test Papers