Search Header Logo

JS - Arrays and Objects

Authored by Raja SK

Computers

Professional Development

Used 31+ times

JS - Arrays and Objects
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is first index value of an array?

2

-1

0

1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the JavaScript standard?

JavaScript

ECMA Script (ES)

JS

PEP

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The _________ method is used to add a new element to an array

add()

insert()

push()

set()

All the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Array elements can be deleted using which of these methods?

pop()

shift()

both pop() and shift()

none of the above

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of this code?

[8, 6, 7, 9]

[4]

8, 6, 7, 9

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 3-dot operator (…) do in JS?

It is used to spread iterables to individual elements

It is used to describe a datatype of undefined size

No such operator exists

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

20

25

undefined

None of the above

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?