JavaScript Arrays and Objects

Quiz
•
Other
•
Professional Development
•
Medium
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
Similar Resources on Wayground
15 questions
BATTLE OF THE BRAINS

Quiz
•
Professional Development
15 questions
INFINITI QX80 Training Assessment

Quiz
•
Professional Development
10 questions
Excel

Quiz
•
Professional Development
12 questions
Topic 1 : Introduction to Embedded System

Quiz
•
1st Grade - Professio...
13 questions
TEC-T96

Quiz
•
Professional Development
12 questions
Health & Safety

Quiz
•
Professional Development
15 questions
Wood Turning

Quiz
•
Professional Development
10 questions
Paid Social 101

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade