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
15 questions
Web Design

Quiz
•
10th - 12th Grade
21 questions
uCertify JavaScript Chapter 9 and 10

Quiz
•
9th - 12th Grade
17 questions
JS Practice

Quiz
•
12th Grade
20 questions
C - Strings

Quiz
•
University
20 questions
Guess the CS Term!

Quiz
•
University
17 questions
HTML

Quiz
•
7th - 12th Grade
15 questions
HTML Quiz

Quiz
•
7th - 12th Grade
20 questions
Week 2 - Assessment 2 (ITNW0223)

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade