JavaScript Data Structures

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Kelly Hart
Used 18+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to be able to look up a value by an index value (4, for example) , which data structure should you choose?
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 Wayground
20 questions
Functions Parameters Return

Quiz
•
9th - 12th Grade
20 questions
Functions Test

Quiz
•
9th - 12th Grade
14 questions
CSAwesome 3.6.1Equivalent Boolean Expressions

Quiz
•
9th - 12th Grade
15 questions
Basic Python Coding

Quiz
•
11th - 12th Grade
20 questions
Ôn tập HKI

Quiz
•
11th Grade
14 questions
Datorns Historia

Quiz
•
7th - 9th Grade
15 questions
L3...JavaScript - Introducción

Quiz
•
9th Grade
16 questions
QUIZ #1 JAVASCRIPT

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade