Operators & Expressions — Chapter Test

Answer all 5 questions, then submit. You need 60% to pass. Log in to save progress.

Question 1
What does 7 // 2 evaluate to in Python?
A3.5
B3
C4
D1
Question 2
What does 7 % 2 give?
A3
B3.5
C1
D0
Question 3
Which operator checks whether two values are equal?
A=
B==
C=>
Dis
Question 4
What is the result of: 5 > 3 and 2 > 4 ?
ATrue
BFalse
C5
DError
Question 5
What does the expression 'a' in 'cat' return?
ATrue
BFalse
C1
D'a'