
Python Review Questions
Authored by Dr. Moriarty
Computers
10th - 12th Grade
Used 20+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What's a variable?
a storage box
a way to repeat code
a reuseable piece of code
a way to branch your code
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How do you declare a variable in python?
score = 100
int score = 100;
def score(100):
score 100
3.
MULTIPLE SELECT QUESTION
45 sec • 5 pts
What are TWO ways I can add 100 to the variable "score"?
score += 100
score = score + 100
score + 100
score = 100
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which symbol represents modulo, which means to divide two numbers and keep the remainder?
%
**
//
/
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which is the correct way to use the floor division operator, which divides two numbers and throws out the remainder?
score = score//10
score = score/10
score//10
score = score** 10
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which operator raises one number to the power of another?
**
*
^
&
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Extra Credit: name this pokemon
Gible
Sharkey
Jaws
StinkyFish
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?