Vidyalelo
JavaScript · all questions

Document Object Model And Event Handling
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

180

Questions

7/9

Page

Pick an option on a question to see the right answer and solution.

What does a Node object represent?

Select an option to see the answer and solution.

What does the nodeName of the nodeType Document return?

Select an option to see the answer and solution.

What is the purpose of the method item()?

Select an option to see the answer and solution.

How can the nodes in the node list be accessed?

Select an option to see the answer and solution.

Which of the following is the child(s) of the node type EntityReference?

Select an option to see the answer and solution.

Which node type represents the root-node of the DOM tree?

Select an option to see the answer and solution.

What is the purpose of the DocumentFragment node type?

Select an option to see the answer and solution.

How many nodetype – named constants are available?

Select an option to see the answer and solution.

Which of the following Node types have a node value equal to null?

Select an option to see the answer and solution.

How many node object properties are there?

Select an option to see the answer and solution.

Cookies were originally designed for

Select an option to see the answer and solution.

The Cookie manipulation is done using which property?

Select an option to see the answer and solution.

Which of the following explains Cookies nature?

Select an option to see the answer and solution.

Which attribute is used to extend the lifetime of a cookie?

Select an option to see the answer and solution.

Which of the following defines the Cookie visibility?

Select an option to see the answer and solution.

Which of the following can be used to configure the scope of the Cookie visibility?

Select an option to see the answer and solution.

How can you set a Cookie visibility scope to localStorage?

Select an option to see the answer and solution.

Which of the following is a boolean cookie attribute?

Select an option to see the answer and solution.

Which of the following function is used as a consequence of not including semicolons, commas or whitespace in the Cookie value?

Select an option to see the answer and solution.

What is the constraint on the data per cookie?

Select an option to see the answer and solution.