
While Loops

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Used 290+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a piece of code runs unintentionally forever it is known as
An infinite loop
A long loop
A broken loop
A for loop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A condition is
a statement that is either True or False
a string
an integer
a list
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does the code output?
0
1
2
3
1
2
3
0
1
2
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does the code output?
hi
It won't output anything
It will output an error!
It will output "hi" infinitely
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does the code output?
hi
bye
hi
bye
hi
bye
hi
bye
hi
hi
hi
bye
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does the code output?
3
6
7
4
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does the code output?
hi
hi
hi
hi
hi
hi
hi
hi
hi
hi
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Computer science paper 2

Quiz
•
10th Grade
10 questions
Quiz 13 - For Loops

Quiz
•
11th Grade
12 questions
Iteration - While Loop

Quiz
•
8th - 12th Grade
14 questions
1.1.5 CSE Iteration and Loops

Quiz
•
9th - 12th Grade
10 questions
Pseudocode - Iteration

Quiz
•
7th - 11th Grade
13 questions
C++ Loops

Quiz
•
9th - 12th Grade
11 questions
Python strings

Quiz
•
8th - 9th Grade
16 questions
Python Beginner

Quiz
•
9th - 10th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade