FOR and WHILE loop in Python
Quiz
•
Computers, English
•
9th - 12th Grade
•
Practice Problem
•
Hard
Doria Grbić
Used 109+ times
FREE Resource
Enhance your content in a minute
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which type of loop can be made into an infinite loop?
for loop
while loop
both
none of the above
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A condition is
a loop that repeats parts of the code
an operator
a sequence of steps
a statement that checks whether something is true or false
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these codes will print all numbers from 1 up to 20 (including 20).
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which type of loop will execute a known number of times?
while loop
for loop
if statement
none of the above
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which type of loop would be best in a program for adding money into a savings account until it reaches 10000 kuna.
for loop
while loop
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In for i in range (a, n, k) which letter indicates the start?
i
k
a
n
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which type of loop has a logical expression in the condition?
for loop
while loop
both
none of the above
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Storage
Quiz
•
10th - 12th Grade
20 questions
QUIZ BAB 4: SISTEM OPERASI
Quiz
•
8th Grade - University
20 questions
ELA 4 Sem 2 Vocabulary Lesson 12
Quiz
•
12th Grade
22 questions
Test Your Imperatives!
Quiz
•
9th - 12th Grade
20 questions
REPORT TEXT X MIPA 2
Quiz
•
10th Grade
20 questions
Travelling. Fill in the gaps.
Quiz
•
10th Grade
20 questions
30000-1201 unit 6 adjective (2/67)
Quiz
•
12th Grade
20 questions
Uji Capaian Pembelajaran
Quiz
•
8th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
