JavaScript Arrays and Objects

JavaScript Arrays and Objects

Professional Development

14 Qs

quiz-placeholder

Similar activities

React & JS - Day 5 - KEC

React & JS - Day 5 - KEC

Professional Development

15 Qs

HPE Storage Product Enablement

HPE Storage Product Enablement

Professional Development

10 Qs

Sorting Quiz

Sorting Quiz

University - Professional Development

15 Qs

Mastering Arrays in Go

Mastering Arrays in Go

Professional Development

17 Qs

Excel

Excel

Professional Development

10 Qs

PySpark Quiz Round

PySpark Quiz Round

Professional Development

11 Qs

PHP Quiz

PHP Quiz

Professional Development

10 Qs

Boboiboy Galaxy season 1

Boboiboy Galaxy season 1

KG - Professional Development

15 Qs

JavaScript Arrays and Objects

JavaScript Arrays and Objects

Assessment

Quiz

Other

Professional Development

Medium

Created by

Mariessa D

Used 1+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?