Sail E0 Webinar

MCQs

Total Questions : 69 | Page 2 of 7 pages
Question 11. What is the function of the XML parser?
  1.    Converts XML document to XML DOM object
  2.    Converts XML DOM object to XML document
  3.    Converts XML DOM object to a comment
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> Converts XML document to XML DOM object
Question 12. What is the purpose of the method ActiveXObject()?
  1.    Used to call automation object
  2.    Used to reference automation object
  3.    Used to instantiate automation object
  4.    All of the mentioned
 Discuss Question
Answer: Option C. -> Used to instantiate automation object
Question 13. What is the parameter of the method Date.parse()?
  1.    date
  2.    string
  3.    datestring
  4.    string
 Discuss Question
Answer: Option C. -> datestring
Question 14. What is the purpose of the url json?
  1.    Belongs to JSON object
  2.    Reference JSON formatted data
  3.    Belongs to JSON
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Reference JSON formatted data
Question 15. Which is the function in JavaScript that will print the current page in JavaScript?
  1.    print()
  2.    printcurrent()
  3.    print(now)
  4.    print(this)
 Discuss Question
Answer: Option A. -> print()
Question 16. To which of the following object does the print() method belong to?
  1.    window
  2.    document
  3.    hash
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> window
Question 17. What will happen if the radix parameter of the parseInt() function is omitted?
  1.    Runs in assumption
  2.    Throws exception
  3.    Aborts
  4.    Taken as 0
 Discuss Question
Answer: Option A. -> Runs in assumption
Question 18. What will be the radix value if the string begins with 0x?
  1.    13
  2.    14
  3.    15
  4.    16
 Discuss Question
Answer: Option D. -> 16
Question 19. What is the function of the parseInt() method?
  1.    Parses a datatype and stores in an integer
  2.    Parses a string and returns an integer
  3.    Parses an integer and returns a string
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Parses a string and returns an integer
Question 20. What does it indicate when the radix value is 16?
  1.    String begins with 0x
  2.    String begins with 0
  3.    String begins with 0P
  4.    String begins with FF
 Discuss Question
Answer: Option A. -> String begins with 0x

Latest Videos

Latest Test Papers