Lists Review
Flashcard
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is a valid list in JavaScript? <1, 2, 3>, {1, 2, 3}, (1, 2, 3), [1, 2, 3]
Back
[1, 2, 3]
2.
FLASHCARD QUESTION
Front
Which one creates a list of three strings? Options: ["apple", "banana", "cherry"], ("apple", "banana", "cherry"), {"apple", "banana", "cherry"}, "apple", "banana", "cherry"
Back
["apple", "banana", "cherry"]
3.
FLASHCARD QUESTION
Front
Given:
var animals = ["cat", "dog", "bird", "bear"];
What does animals[0] return?
Back
cat
4.
FLASHCARD QUESTION
Front
Given:
var food = ["pizza", "tacos"];
appendItem(food, "salad");
What is the list now?
Back
["pizza", "tacos", "salad"]
5.
FLASHCARD QUESTION
Front
Given: var nums = [10, 20, 30, 40]; removeItem(nums, 1); What is the list now?
Back
[10, 30, 40]
6.
FLASHCARD QUESTION
Front
Given: var nums = [10, 20, 30, 40]; removeItem(nums, 1); What is now at index 1?
Back
30
7.
FLASHCARD QUESTION
Front
Given:
var letters = ["a", "b", "d"];
insertItem(letters, 2, "c");
What is the list now?
Back
The list is now ["a", "b", "c", "d"].
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
ReactJS Flashcards
Flashcard
•
KG
10 questions
DNA Flashcards
Flashcard
•
9th - 12th Grade
6 questions
NCUK IFY BS Ch1 Marketing and People
Flashcard
•
10th Grade
9 questions
Evolution and Genetic Variation
Flashcard
•
8th Grade
7 questions
Simple present tense
Flashcard
•
11th Grade
9 questions
Patrik test
Flashcard
•
KG
12 questions
Data Transmission
Flashcard
•
9th Grade
11 questions
Identify Parts of an Algebraic Expression and Evaluate
Flashcard
•
9th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade