Python review
Quiz
•
Computers
•
8th Grade
•
Easy
Asma Al-Faran
Used 9+ times
FREE Resource
Enhance your content in a minute
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
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
32 questions
Lesson 5 Multimedia on the Web
Quiz
•
8th Grade
25 questions
Y8 Using Computers
Quiz
•
7th - 9th Grade
27 questions
Informaatika klahvikombinatsioonid
Quiz
•
4th - 9th Grade
26 questions
Đề 4
Quiz
•
6th - 8th Grade
25 questions
Latihan SAS Informatika Kelas 8
Quiz
•
8th Grade
30 questions
CSIM Lesson 1
Quiz
•
6th - 8th Grade
30 questions
8CS Vocabulary 23-24
Quiz
•
8th Grade
24 questions
Scratch Coding grade 4 and above_18April20
Quiz
•
4th - 12th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
