
Python review
Authored by Asma Al-Faran
Computers
8th Grade
Used 9+ 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 • 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
30 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
What will this code print?
5,4,3,2,1
4,3,2,1
5,4,3,2,1,0
nothing
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol do you use to make a comment in Python?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many lines will this code print?
x = 10
while x > 0:
print(x)
x = x - 3
5
2
3
4
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
Computer Hardware Servicing
Quiz
•
8th Grade
24 questions
Microsoft Access Information
Quiz
•
8th Grade
25 questions
JavaScript
Quiz
•
1st - 10th Grade
23 questions
Halloween Science
Quiz
•
8th Grade
25 questions
Tin 8 KNTT. Bài 1: LƯỢC SỬ CÔNG CỤ TÍNH TOÁN
Quiz
•
8th Grade
26 questions
Keyboard Shortcuts List 1
Quiz
•
6th - 8th Grade
31 questions
Year 7 Computer Science Baseline
Quiz
•
KG - Professional Dev...
30 questions
Windows 10 Keyboard Shortcuts
Quiz
•
8th Grade
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