Edhesive Python Unit 4: Test Review

Quiz
•
Computers
•
10th - 11th Grade
•
Medium
Debra Haghighat
Used 198+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
LOOPS IN C++

Quiz
•
10th Grade - University
11 questions
Python Review

Quiz
•
11th Grade
15 questions
Hangman Game - Programming Questions

Quiz
•
7th - 11th Grade
8 questions
Roblox Lua Scripting Quiz

Quiz
•
1st - 12th Grade
15 questions
Input Commands Quiz

Quiz
•
10th Grade
10 questions
Python Loops

Quiz
•
9th - 12th Grade
12 questions
Loops

Quiz
•
9th - 12th Grade
10 questions
Python Review 2023-01-12

Quiz
•
9th - 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
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
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade