JS Object and Dot Notation

Quiz
•
Computers
•
11th Grade
•
Medium
Carven Mark Viado
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Perencanaan dan Pengalamatan Jaringan

Quiz
•
11th Grade
22 questions
uCertify Chapter 3 Test

Quiz
•
9th - 12th Grade
20 questions
Jaringan Komputer dan Internet (JKI)

Quiz
•
9th - 12th Grade
20 questions
Word Modules 4, 5, 7, 9

Quiz
•
9th - 12th Grade
25 questions
ICT IGCSE Quiz

Quiz
•
11th Grade
21 questions
Web Technologies Chapter 4 - CSS

Quiz
•
10th - 12th Grade
20 questions
Intro to HTML

Quiz
•
8th - 12th Grade
22 questions
Unit two CSS and HTML Test

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade