
Lists and Loops Review-Code.org

Flashcard
•
Computers
•
10th Grade - University
•
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
Similar Resources on Wayground
10 questions
Bible Study tools

Flashcard
•
12th Grade
5 questions
TUR_Scratch M5L3

Flashcard
•
KG
6 questions
RF:s introdagar

Flashcard
•
KG - University
12 questions
JavaScript Programming Concepts

Flashcard
•
9th - 12th Grade
11 questions
CSP - Unit 6

Flashcard
•
9th - 12th Grade
9 questions
Gaming!

Flashcard
•
12th Grade
10 questions
Code.org Unit 3 Review: Intro to App Design

Flashcard
•
12th Grade
9 questions
Valsts asinsdonoru's Flashcard

Flashcard
•
KG - University
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
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
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade