Sail E0 Webinar

MCQs

Total Questions : 180 | Page 6 of 18 pages
Question 51. What does a Node object represent?
  1.    Single node
  2.    Set of nodes
  3.    Sequence of nodes
  4.    Node array
 Discuss Question
Answer: Option A. -> Single node
Question 52. What does the nodeName of the nodeType Document return?
  1.    doctype name
  2.    target
  3.    #comment
  4.    #document
 Discuss Question
Answer: Option D. -> #document
Question 53. What is the purpose of the method item()?
  1.    Returns node after the specified index
  2.    Returns node before the specified index
  3.    Returns node at specified index
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Returns node at specified index
Question 54. How can the nodes in the node list be accessed?
  1.    Key
  2.    Index number
  3.    Looping
  4.    All of the mentioned
 Discuss Question
Answer: Option B. -> Index number
Question 55. Which of the following is the child(s) of the node type EntityReference?
  1.    Element
  2.    Text
  3.    Both Element and Text
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Both Element and Text
Question 56. Which node type represents the root-node of the DOM tree?
  1.    Document
  2.    DocumentFragment
  3.    DocumentType
  4.    Entity
 Discuss Question
Answer: Option A. -> Document
Question 57. What is the purpose of the DocumentFragment node type?
  1.    To hold a portion of a document
  2.    To split the document into fragments
  3.    To hold the entire document
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> To hold a portion of a document
Question 58. How many nodetype – named constants are available?
  1.    13
  2.    11
  3.    12
  4.    10
 Discuss Question
Answer: Option C. -> 12
Question 59. How many node object properties are there?
  1.    12
  2.    14
  3.    16
  4.    17
 Discuss Question
Answer: Option C. -> 16
Question 60. Which of the following Node types have a node value equal to null?
  1.    Document
  2.    DocumentFragment
  3.    DocumentType
  4.    All of the mentioned
 Discuss Question
Answer: Option D. -> All of the mentioned

Latest Videos

Latest Test Papers