What's a variable?
Python Review Questions

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Dr. Moriarty
Used 19+ times
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
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
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
Test 4 Edhesive Review

Quiz
•
9th - 12th Grade
20 questions
Robust programming MCQs

Quiz
•
9th - 11th Grade
22 questions
IST CodeHS Unit 8 JavaScript Review

Quiz
•
9th - 12th Grade
20 questions
Javascript Conditional Statements

Quiz
•
9th - 12th Grade
20 questions
Grade 7 Python Programming Quiz

Quiz
•
7th Grade - University
20 questions
Python while loops

Quiz
•
12th Grade
20 questions
Python Basics Review (TSK)

Quiz
•
9th - 12th Grade
20 questions
Python Basics (CodeHS)

Quiz
•
7th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University