JS Object Recap

Quiz
•
Computers
•
11th Grade
•
Hard
arturo parinas
Used 3+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a JavaScript Object?
a collection of key-value pairs
a collection of arrays
a collection of functions
a collection of strings
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create an object using literal notation?
let obj = [key: value];
let obj = {key: value};
let obj = (key: value);
let obj = <key: value>;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax for accessing the property of an object?
objectName.objectPropery( );
objectName.objectProperty[ ];
objectName.objectProperty;
objectName.objectProperty{ };
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code: alert(person.firstname); when person is {firstName: 'John',lastName:'Doe'}?
John
Doe
undefined
null
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code: alert(address.district); when address is {buildingNo: '3960' , street: 'North 1st Street', country: 'USA'};?
3960
North 1st Street
USA
undefined
Similar Resources on Wayground
10 questions
Algorithms & Pseudocode

Quiz
•
8th - 12th Grade
10 questions
Photopea

Quiz
•
10th - 12th Grade
7 questions
1.3 Customize graphic objects

Quiz
•
6th Grade - University
10 questions
Java Inheritance Quiz

Quiz
•
11th Grade
10 questions
Arrays Javascript (CodeCademy)

Quiz
•
9th - 12th Grade
10 questions
Onshape - Intro to CAD - Unit 1 Vocab

Quiz
•
9th - 12th Grade
10 questions
Typography

Quiz
•
11th Grade
10 questions
Lesson 1 Database Basics

Quiz
•
9th - 11th 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