FOR and WHILE loop in Python
Quiz
•
Computers, English
•
9th - 12th Grade
•
Hard
Doria Grbić
Used 108+ 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
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
20 questions
Sprawdzenie wiadomości Focus 3 unit 2 SPORT
Quiz
•
12th Grade
15 questions
British/German/Polish/Turkish Royalty
Quiz
•
9th - 12th Grade
20 questions
Present Perfect Simple
Quiz
•
7th - 9th Grade
15 questions
question tags
Quiz
•
9th - 12th Grade
16 questions
LIKE AND DON'T LIKE VIDEO QUIZ
Quiz
•
12th Grade
19 questions
Unit 10 Cutting Edge Pre - Intermediate
Quiz
•
KG - University
20 questions
Computer Science - X
Quiz
•
8th - 10th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
