
Python PE1 Review
Authored by Joseph Gilliam
Computers
12th Grade
Used 25+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
28 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a variable in Python?
To perform complex mathematical operations
To store and manage data
To create loops
To display messages to the user
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type is used to store whole numbers in Python?
Float
String
Integer
Boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to get user input in Python?
print()
readline()
get_input()
input()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a basic arithmetic operator in Python?
+
-
*
%
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the two Boolean values in Python?
Yes and No
True and False
On and Off
Positive and Negative
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a conditional statement, what keyword is used to execute a block of code if a condition is met?
while
for
then
if
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop in Python is used for iterating over a sequence (e.g., a list)?
while loop
do-while loop
for loop
if loop
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
23 questions
Introduction to Multimedia and Photography
Quiz
•
12th Grade
23 questions
Computer Science IT quiz WIP - IT Level 3 by MZH
Quiz
•
9th - 12th Grade
23 questions
ÔN TẬP CUỐI HKII
Quiz
•
4th Grade - University
24 questions
Grade 12 B - IT - Quiz 1 - Ms. Dina Mohamed
Quiz
•
12th Grade
24 questions
Scratch - kviz
Quiz
•
4th - 12th Grade
24 questions
HYKwCS-CH05-S05-Databases
Quiz
•
9th - 12th Grade
24 questions
Module 2 Questions
Quiz
•
12th Grade
25 questions
Java Review
Quiz
•
9th Grade - University
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