JavaScript Arrays and Objects

JavaScript Arrays and Objects

Professional Development

14 Qs

quiz-placeholder

Similar activities

TCS Preparation

TCS Preparation

Professional Development

10 Qs

The Quiziest Quiz Ever

The Quiziest Quiz Ever

Professional Development

14 Qs

C Quiz

C Quiz

Professional Development

15 Qs

Midterm Exam ACT-F1

Midterm Exam ACT-F1

Professional Development

16 Qs

Skill Area 1 - Programmable Logic Controller

Skill Area 1 - Programmable Logic Controller

Professional Development

15 Qs

Solar Trade Terms - part 2

Solar Trade Terms - part 2

Professional Development

11 Qs

AutoCAD 1B02

AutoCAD 1B02

Professional Development

12 Qs

DSA Quiz

DSA Quiz

Professional Development

10 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?