FOR and WHILE loop in Python

Quiz
•
Computers, English
•
9th - 12th Grade
•
Hard
Doria Grbić
Used 107+ times
FREE Resource
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
Similar Resources on Wayground
16 questions
Python Basics

Quiz
•
KG - University
13 questions
Control Structures in Python

Quiz
•
11th - 12th Grade
15 questions
Python for kids and teenagers - Level 1

Quiz
•
10th Grade
13 questions
Python Iteration

Quiz
•
10th Grade
18 questions
arduino

Quiz
•
10th Grade
15 questions
Grade 12-Python selection&iteration

Quiz
•
11th - 12th Grade
20 questions
Arduino Basics

Quiz
•
9th - 12th Grade
15 questions
Pseudocode and Flowcharts - Computer Science

Quiz
•
KG - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade