Python review

Quiz
•
Computers
•
8th Grade
•
Easy
Asma Al-Faran
Used 8+ times
FREE Resource
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
Similar Resources on Wayground
29 questions
Python Programming

Quiz
•
8th Grade
25 questions
untitled

Quiz
•
8th Grade - University
30 questions
Assessment Term 2.2 - Y9 U4 Python Search algorithms

Quiz
•
7th - 12th Grade
24 questions
CS Final Exam Revision - Grdae 9

Quiz
•
8th - 9th Grade
31 questions
Python Basics

Quiz
•
8th Grade
30 questions
Python Test 1

Quiz
•
6th - 8th Grade
24 questions
HTML & CSS Review

Quiz
•
7th - 10th Grade
33 questions
Python review

Quiz
•
8th 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