If you want to be able to look up a value by an index value (4, for example) , which data structure should you choose?
JavaScript Data Structures

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Kelly Hart
Used 17+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
array
object
set
grid
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an Object?
An ordered list of objects
An unordered list of objects
A collection of (key, value) pairs
elements listed in a grid form
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We want to make a grocery list in our program. Which of the following is the correct way to make an array/list?
var groceries = ["milk" "sugar" "eggs" "cake"];
var groceries = ["milk, sugar, eggs, cake"];
var groceries = "milk, sugar, eggs, cake";
var groceries = ["milk", "sugar", "eggs", "cake"];
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method can we use to find the index of a particular element in an array?
.index
indexOf
inIt
findElement
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The index of the very first item in an array is 1.
true
false
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
var numbers = [0, 1, 2, 3, 4];
How can we add a 6 to the end of numbers?
pop(6)
push(6)
add(5,6)
pop( )
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a set?
a collection of unique objects that are not in a specific order.
a collection of ordered items.
a collection of (key, value) pairs
Elements in a row and column table
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Алгоритмизация и основы программирования 9А класс

Quiz
•
9th Grade
15 questions
Mảng 1 chiều

Quiz
•
8th - 11th Grade
15 questions
Unit 8 Javascript Quiz

Quiz
•
9th - 12th Grade
17 questions
Массивы в Pascal ABC

Quiz
•
10th Grade
15 questions
Basic Data Structures - Intro to CS

Quiz
•
12th Grade
14 questions
Javascript Starter

Quiz
•
12th Grade
15 questions
Examen Tema 4 Array, Funciones y Objetos JavaScript

Quiz
•
12th Grade
20 questions
Java Arrays

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University