js DOM

Quiz
•
Computers
•
12th Grade - Professional Development
•
Hard
Vadivel Subramaniam
Used 105+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function among the following lets to register a function to be invoked once?
setTimeout()
setTotaltime()
setInterval()
settime()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is everything treated in HTML DOM?
Node
Attributes
Elements
Arrays
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which object is the top of the hierarchy?
Window Object
Document Object
Form Object
Form Control Elements
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What among the following is an appropriate event handler for input text among the below options ?
onclick
onchange
onkeyup
onblur
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How are the objects organized in the HTML DOM?
Class-wise
Queue
Hierarchy
Stack
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the below code:
Identify the correct code in order to fetch the value entered in username text field?
< body>
< form name="register">
Enter username < input value="John" id="name" name="username">
< /form>
< /body>
document.register.name.value
document.getElementById ("name").value
document.getElementByName ("name").value
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed in the console on execution of the below code?
var materials = [
'Hydrogen',
'Helium',
'Lithium',
'Beryllium'
];
console.log(materials.map (material => material.length));
[8, 6, 7, 9]
4
[4]
8, 6, 7, 9
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
HTML

Quiz
•
KG - University
15 questions
HTML

Quiz
•
9th - 12th Grade
20 questions
HTML5 Basics

Quiz
•
6th - 12th Grade
18 questions
HTML basics

Quiz
•
9th - 12th Grade
20 questions
HTML Test

Quiz
•
9th - 12th Grade
17 questions
HTML podstawy

Quiz
•
8th Grade - University
21 questions
CSS Basics

Quiz
•
6th - 12th Grade
20 questions
CSS Quiz

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade