Search Header Logo

JavaScript Arrays and Objects

Authored by Mariessa D

Other

Professional Development

Used 1+ times

JavaScript Arrays and Objects
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which of the follow statements about Arrays are TRUE? (multiple choice)

Arrays are a data type

Arrays can store any data type

Arrays are zero-indexed

Arrays can only be used with functions

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

True or False: you can update the value of an Array element

True

False

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the Array.pop( ) method do?

Adds an element to the beginning of the Array

Makes popcorn

Removes the last element from an array and returns that element.

creates a whole new array

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is Array Destructuring?

Destructuring is when we destroy an Array

Destructuring is a special

syntax that allows us to “unpack”

Arrays or objects into a bunch of

variables

Destructuring is when we use an Array method

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the Array.concat( ) Method do?

Combines two or more Arrays without modifying the existing array, but will

return a new Array

Splits up an Array into two pieces

Reduces the amount of Array items in the Array

Adds the word "cat" to your Array

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

True or False: String.split( ) Method will return an Array

True

False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the Array.forEach( ) Method do?

Iterates through every item in the array,

runs a function on each item,

returns a NEW array with the changed items

Iterates through every item in the array,

checks whether at least one element in the array passes a test

Iterates through every item in the array,

runs a function on each item,

but leaves the original array intact

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?