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
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
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
Foundations of Programming

Quiz
•
9th - 10th Grade
18 questions
Coding Unit 2 Review

Quiz
•
9th - 12th Grade
20 questions
Procedures and Functions

Quiz
•
10th Grade
20 questions
Scratch Programming

Quiz
•
9th - 12th Grade
20 questions
2.3 Robust Programs MCQs L2

Quiz
•
10th - 11th Grade
20 questions
Python Basics (CodeHS)

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

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

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade