Python!
Quiz
•
Computers
•
12th Grade
•
Medium
Dr. Moriarty
Used 127+ times
FREE Resource
Enhance your content in a minute
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's the correct way to declare a variable in python?
int x = 5;
x = 5;
x = 5
x
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's the correct way to check if a player's score is greater than 100 in python?
if score > 100:
if (score > 100)
if score >100{
if score > 100
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Extra Credit: Which Animal Crossing character yells at you if you neglect to save?
Mr. Resetti
Isabelle
Tom Nook
K.K. Slider
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
how do you write "else if" in python?
if else
else if
ifels
elif
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
convert the C++ loop for(int i = 0; i<10; i++) to python
for i, i<10, i++:
for i in range (0, 10):
for int i in range (0,10)
for i range (0, 10)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In python, to show that a statement goes inside a loop, function definition, or if statement, you...
put it in parenthesis
put it in curly brackets
add a colon (:) after it
tab or space it over to the right
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which symbol is used to begin a comment line in python?
#
//
*
/
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
18 questions
SEMI-Grier Unit 3.01-3.03
Quiz
•
9th - 12th Grade
20 questions
Key Applications 2
Quiz
•
9th - 12th Grade
20 questions
Kiến thức về phần mềm soạn thảo
Quiz
•
6th Grade - University
19 questions
Computer Languages
Quiz
•
12th Grade
22 questions
Programming Review
Quiz
•
9th - 12th Grade
18 questions
T4 1.6 STRUKTUR DATA DAN MODULAR
Quiz
•
10th - 12th Grade
20 questions
Internet Security
Quiz
•
12th Grade
20 questions
Quis Les Komputer
Quiz
•
9th - 12th 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
