Search Header Logo

Chapter 5 : JavaScript Objects & Arrays

Authored by JX C

Computers

Professional Development

Used 49+ times

Chapter 5 : JavaScript Objects & Arrays
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many values or properties can an Object contain

One value/properties

Two values/properties

Multiple values/properties

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the name of the object in the following code:


var car = { model: "EXPLORER", brand: "Ford", IntroductionYear: 2019 }

car

"EXPLORER"

model

var

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify a key in the following code:


var car = { model: "EXPLORER", brand: "Ford", IntroductionYear: 2019 }

car

"EXPLORER"

model

var

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify a value in the following code:


var car = { model: "EXPLORER", brand: "Ford", IntroductionYear: 2019 }

car

"EXPLORER"

model

var

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How would you access the value "Ford"


var car = { model: "EXPLORER", brand: "Ford", IntroductionYear: 2019 }

car.Ford;

car["brand"];

car.getbrand;

car.brand;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is DRIVE in the code below?


var car = {

DRIVE: function()

alert("Drive");

}

A property

A method

A variable

A function

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the code that allows you to make use DRIVE?


var car = {

DRIVE: function()

alert("Drive");

}

drive()

DRIVE()

car.drive()

car.DRIVE()

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?