Python Review of Units 3 and 4

Quiz
•
Information Technology (IT)
•
9th Grade
•
Medium
BYRONELLE WILLIAMS
Used 3+ times
FREE Resource
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following expression in Python: `True and False`?
True
False
None
1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a comparison operator in Python?
`+`
`==`
`and`
`#`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a logical operator in Python?
`*`
`or`
`!=`
`//`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression `7 % 3` in Python?
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?
x = 3.14159
print(round(x, 2))
3.14
3.15
3.141
3.142
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in Python?
1variable
variable_1
variable-1
variable 1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following expression: `not (True or False)`?
True
False
None
0
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Test9

Quiz
•
9th - 12th Grade
34 questions
Python Basic (Grade9)

Quiz
•
9th Grade
30 questions
Python Basics

Quiz
•
9th Grade
30 questions
Java Code Output Quiz

Quiz
•
9th - 12th Grade
30 questions
Test6

Quiz
•
9th - 12th Grade
30 questions
Python Programming Quiz

Quiz
•
9th - 12th Grade
30 questions
Test10

Quiz
•
9th - 12th Grade
32 questions
Informatika

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