JS Object and Dot Notation
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Carven Mark Viado
Used 3+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does DOM stand for?
Domain Objective Metrics
Document Object Model
Document Object Modal
Document Objective Mean
2.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
In JavaScript, almost everything is an _______.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct syntax to access an object's property using dot notation?
object[property]
object.property
object->property
object(property)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will console.log(document.title); display if document.title = "My Page";?
"My Page"
document
alert
title
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you assign a new title to a webpage using JavaScript?
document.title = "New Title";
title.document = "New Title";
document(title) = "New Title";
title.document.value = "New Title";
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does document.getElementById("p1").textContent = "Updated text"; do?
Changes the paragraph text inside an element with ID "p1"
Deletes the paragraph element
Creates a new paragraph element
Appends "Updated text" to the existing paragraph
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will document.getElementById("p1"); return?
A CSS class
A string value
An object representing the HTML element
A new paragraph element
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
EmTech: LONG QUIZ for Lesson 3 & 4
Quiz
•
11th - 12th Grade
20 questions
Computing Fundamentals 3
Quiz
•
9th - 12th Grade
20 questions
Robotics Engineering
Quiz
•
6th - 12th Grade
25 questions
HTML
Quiz
•
11th Grade
20 questions
Soal VLAN
Quiz
•
1st - 12th Grade
20 questions
Computer Startup Quiz
Quiz
•
2nd Grade - University
20 questions
Quiz
•
7th - 12th Grade
20 questions
R081 - Guess Who
Quiz
•
9th - 11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
