Q. What is the purpose of the Legacy DOM?

  • (A) Makes the scripting easier
  • (B) Allows access to few keys and elements
  • (C) Making the script modular
  • (D) Modify the nodes
πŸ’¬ Discuss
βœ… Correct Answer: (B) Allows access to few keys and elements

Q. What is the purpose of the NamedNodeMap object?

  • (A) Unordered collection of attributes
  • (B) Unordered collection of nodes
  • (C) Unordered collection of elements
  • (D) Unordered collection of arrays
πŸ’¬ Discuss
βœ… Correct Answer: (B) Unordered collection of nodes

Q. Which object is the top of the hierarchy?

  • (A) Form Control Elements
  • (B) Form Object
  • (C) Window Object
  • (D) Document Object
πŸ’¬ Discuss
βœ… Correct Answer: (C) Window Object

Q. How are the objects organized in the HTML DOM?

  • (A) Hierarchy
  • (B) queue
  • (C) stack
  • (D) list
πŸ’¬ Discuss
βœ… Correct Answer: (A) Hierarchy

Q. The DOM is a ____________ standard.

  • (A) WWW
  • (B) W3C
  • (C) W3B
  • (D) WMB
πŸ’¬ Discuss
βœ… Correct Answer: (B) W3C

Q. The W3C DOM standard is separated into _____ different parts

  • (A) 1
  • (B) 223.12
  • (C) 3
  • (D) 4
πŸ’¬ Discuss
βœ… Correct Answer: (C) 3

Q. _________ standard model for all document types.

  • (A) HTML DOM
  • (B) Core DOM
  • (C) XML DOM
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (B) Core DOM

Q. The HTML DOM is a standard object model and programming interface for HTML.

  • (A) True
  • (B) False
  • (C) Can be true or false
  • (D) Can not say
πŸ’¬ Discuss
βœ… Correct Answer: (A) True

Q. Which operator is known as the equality operator, which checks whether its two operators are "equal"?

  • (A) =
  • (B) ==
  • (C) ===
  • (D) &&
πŸ’¬ Discuss
βœ… Correct Answer: (B) ==

Q. Which operator is known as the strict equality operator, which checks whether its two operators are identical or not?

  • (A) =
  • (B) ==
  • (C) ===
  • (D) &&
πŸ’¬ Discuss
βœ… Correct Answer: (C) ===