JS Object Recap

JS Object Recap

11th Grade

5 Qs

quiz-placeholder

Similar activities

Programing test

Programing test

1st Grade - University

10 Qs

Files and Management

Files and Management

9th - 12th Grade

10 Qs

Emerging technologies

Emerging technologies

6th Grade - University

10 Qs

Sept 14 quiz

Sept 14 quiz

9th - 12th Grade

10 Qs

Empowerment Technologies Quiz 2

Empowerment Technologies Quiz 2

11th Grade

10 Qs

Go Beyond the Sales LAP Quiz

Go Beyond the Sales LAP Quiz

9th - 12th Grade

10 Qs

Chapter 3 Exploring Linux Filesystems

Chapter 3 Exploring Linux Filesystems

11th Grade - University

10 Qs

 Unit 4 Advanced AP CSP

Unit 4 Advanced AP CSP

9th - 12th Grade

10 Qs

JS Object Recap

JS Object Recap

Assessment

Quiz

Computers

11th Grade

Practice Problem

Hard

Created by

arturo parinas

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?