
Lists and Loops Review-Code.org
Flashcard
•
Computers
•
10th Grade - University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

5 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What will be displayed in the console when the following program runs?
var numList = [10,20,30];
console.log ( numList [numList.length-1]);
Back
30
2.
FLASHCARD QUESTION
Front
wordList is a list of words that currently contains the values ["tree", "rock", "air"] Which of the following lines will result in the list containing the values ["air", "rock", "air"] ? Options: wordList[0] = wordList[2], wordList[2] = wordList[0], insertItem(wordList, 0, "air"), removeItem(wordList,0)
Back
wordList[0] = wordList[2]
3.
FLASHCARD QUESTION
Front
What will be displayed in the console when the following program runs?
var count = 0 while (count != 5){ console.log(count); count = count + 2; }
Back
The program will result in an infinite loop.
4.
FLASHCARD QUESTION
Front
What will the following program display in the console?
for(var i = 0; i < 4; i++){ console.log(i); }
Back
0 1 2 3
5.
FLASHCARD QUESTION
Front
What will the following program display in the console?
var sum = 0; for(var i = 0; i < 5; i++){ sum = sum + i; } console.log(sum);
Back
10
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
3 questions
W4.1
Flashcard
•
KG - University
4 questions
Stroke Patient Assessment and Reactions
Flashcard
•
10th Grade - University
8 questions
Flashcard sobre a América
Flashcard
•
9th Grade - University
9 questions
4NT Coordinates Geometry
Flashcard
•
10th Grade - University
10 questions
Short Vowels
Flashcard
•
KG
10 questions
Conceptos Básicos de Radicación : Continental 2025_10
Flashcard
•
12th Grade
10 questions
stats vocab 5.1 - 5.2
Flashcard
•
12th Grade
6 questions
Lesson 8
Flashcard
•
11th Grade
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Computers
18 questions
[AP CSP] JavaScript Programming Lesson 2025-2026
Lesson
•
9th - 12th Grade
57 questions
[AP CSP] Unit 5 Review: Internet & Cybersecurity
Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
CompTIA Network+ - Ports and Protocols
Quiz
•
University