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
Access all questions and much more by creating a free account
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
10 questions
Операторы и функции языка Pascal
Quiz
•
1st - 10th Grade
10 questions
Elektronická pošta
Quiz
•
5th - 10th Grade
10 questions
Excel
Quiz
•
11th - 12th Grade
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
10 questions
TIN HỌC 10 - BÀI 21
Quiz
•
10th Grade
12 questions
Tin học 2
Quiz
•
11th Grade
10 questions
Quiz Excel 3
Quiz
•
10th Grade
10 questions
Arduino
Quiz
•
7th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
