Unit 6: List, Loops, and Transversals

Quiz
•
Computers
•
9th Grade
•
Hard
Kristen Cook
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which word means the same as "repeat".
Iterate
program
loop
for loop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is used to repeat a specific block of code an unknown number of times, until a condition is met.
Iteration
Infinite Loop
For Loop
While Loop
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is used to repeat a specific block of code a known number of times.
Iteration
Infinite Loop
For Loop
While Loop
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Read each scenario. In which would a loop be most helpful?
Maura wants a program to perform a math operation one time.
Jamila is programming a robot to hop once and then raise its arm once.
Vinny wants a program to go through a list of 35 of his friends and remind each friend what time a study group starts.
Damian is writing a program that will tell him what to wear depending on the weather.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
adds one to variable x in a loop
increment (x)
x++;
x=x;
y+1;
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the final sum after this loop executes
sum = 5
sum = 10
sum = 15
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jasmine is writing a shopping app. She has created a variable to keep track of the number of items in the shopping cart. Every time someone clicks the "addItemButton", she would like the variable to increase by 1.
What code should Jasmine insert where it says <missing code> in order for her app to work?
cart total = 1;
cartTotal + 1;
cartTotal = cartTotal +1;
var cartTotal = cartTotal + 1;
var cartTotal + 1;
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Understanding Input, Selection and Loops in Python

Quiz
•
7th Grade - University
25 questions
Python - Chpt 4 - Review

Quiz
•
9th - 12th Grade
25 questions
C Programing

Quiz
•
University
25 questions
Codehs - Python

Quiz
•
11th - 12th Grade
25 questions
ONE 6th FORM Iteration

Quiz
•
11th Grade
25 questions
CONDITIONAL STATEMENTS

Quiz
•
11th - 12th Grade
25 questions
Unit 4 Assessment Review

Quiz
•
9th - 12th Grade
30 questions
CodeHS Tracy the Turtle Final Test

Quiz
•
6th - 10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade