
Arrays and Objects
Authored by Daniel Adesoji
Professional Development
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Choose the correct ways to define an array?
const newArr = [ ]
const newArr = ( )
const newArr = new Array()
const newArr = { }
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given this array:
const newArray = [1, 2, 3, 4, 5]
What statement would return the value 3 from the array?
newArray[1]
newArray[2]
newArray[3]
newArray[4]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method is used to add elements to the end of an array?
push
add
insert
pop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bisi wants to loop over all the elements in her array named students, what property of the array can she use to set a condition and end the loop?
students.size
students.length
students.name
students.lastIndex
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which array method is used to create a new array with the results of calling a provided function on every element?
filter
reduce
map
forEach
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nkem wants to change 3 to 30 in this array:
const ages = [10, 20, 3, 40, 50]
What statement should he use?
ages[1] = 30
ages[2] = 30
ages[3] = 30
ages[4] = 30
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following is/are the correct way(s) to define an object?
const person = { }
const person = new Object()
const person = Object.create(null)
const person = [ ]
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Be an AB Expert
Quiz
•
Professional Development
10 questions
RRA AWARD NIGHT 2
Quiz
•
Professional Development
15 questions
Noom | Day 5 Add-ons
Quiz
•
Professional Development
11 questions
Scheduled Waste Management
Quiz
•
Professional Development
11 questions
Total Rewards: Compensation and Benefits Quiz
Quiz
•
Professional Development
11 questions
Commercial 2022 Priorities
Quiz
•
Professional Development
15 questions
PATIENT SAFETY QUIZ 3
Quiz
•
Professional Development
10 questions
Recap Quiz - CRAFT Experiences - Oberoi
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade