Edhesive Python Unit 4: Test Review
Quiz
•
Computers
•
10th - 11th Grade
•
Practice Problem
•
Medium
Debra Haghighat
Used 201+ times
FREE Resource
About this resource
This quiz focuses on Python programming fundamentals, specifically covering loop structures and control variables at the high school level, appropriate for grades 10-11. The questions assess students' understanding of while loops, including their purpose, termination conditions, and practical implementation. Students need to grasp core concepts such as loop control variables, initialization values, increment/decrement operations, and the relationship between test conditions and loop execution. The quiz progresses from basic conceptual understanding to practical code writing and trace-through exercises, requiring students to predict output by mentally executing loop iterations and understanding how variable modifications affect program flow. Created by Debra Haghighat, a Computers teacher in the US who teaches grades 10 and 11. This quiz serves as an excellent review tool for students preparing for assessments on Python loops, and can be effectively used as a formative assessment to gauge student readiness before a unit test. Teachers can deploy this quiz for homework assignments to reinforce classroom learning, as a warm-up activity to activate prior knowledge, or during review sessions to identify areas needing additional instruction. The mix of conceptual questions and practical coding exercises makes it valuable for both guided practice and independent study, helping students solidify their understanding of fundamental programming constructs. This assessment aligns with computer science standards such as CSTA 3A-AP-13 and 3A-AP-14, which focus on creating programs that use control structures and variables.
See more
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a loop used for?
To repeat a function
Test if a condition false
To repeat code.
Help write python questions
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A While Loop runs until
To repeat code.
The test condition is false____
_The test condition is true____
To set the value of a variable before a loop
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Loop control variable
Variable used to end the loop.
Variable used to count how many times something happens.
To set the value of a variable before a loop.
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What are the two ways of ending a loop?
User input
elif
count done
Count variable
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a loop to print the numbers: 1, 2, 3, …20
c = 1 while (c <= 21): print (c) (c = c + 1 )
c = 0 while (c <= 21): print (c) c = c + 1
c = 1 while (c <= 21): print (c) c = c + 1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a loop to print the numbers: 30, 31, 32, ….45. What did you have to do to c to get this one to work?
c = 29 while (c <= 45): print (c) c = c + 1
c = 30 while (c <= 45): print (c) c = c + 1
c = 30 while (c <= 45): print (c) ( c and c + 1 )
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a loop to print the numbers: 5, 10, 15, 20...45. What did you have to do to c to get this one to work?
c = 45 while (c <= 45): print (c) c = c + 5
c = 0 while (c <= 45): print (c) c = c + 5
c = 5 while (c <= 45): print (c) c = c + 5
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
Already have an account?
Similar Resources on Wayground
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
13 questions
RAM&HDD/SSD
Quiz
•
10th - 12th Grade
15 questions
Знаток Paint
Quiz
•
1st - 10th Grade
15 questions
UH
Quiz
•
10th Grade
15 questions
11° Evaluación bimestral de informática
Quiz
•
11th Grade
10 questions
10 класс повторение CSS and Внедрение мультимедиа
Quiz
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
