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
python loop 7th

Quiz
•
7th Grade - University
25 questions
CodeHS Unit 1 Karel Test (Corgi edition)

Quiz
•
10th Grade
30 questions
Python Recap

Quiz
•
12th Grade
26 questions
Programming Concepts Quiz

Quiz
•
10th Grade
28 questions
python q1

Quiz
•
12th Grade
35 questions
Attainment 4 - Classroom Activity (Grade 10)

Quiz
•
9th Grade - University
25 questions
Intro to Karel Vocabulary

Quiz
•
10th Grade
30 questions
Python Basics (Easy)

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade