Python Essentials & Tokens — Chapter Test

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

Question 1
Which function displays output on the screen in Python?
Ashow()
Bprint()
Coutput()
Decho()
Question 2
Which of these is NOT a valid Python identifier?
Atotal_marks
B_count
C2ndplace
DstudentName
Question 3
In interactive mode, Python…
ARuns a whole .py file at once
BResponds to one line at a time at the >>> prompt
COnly checks for errors
DCannot print output
Question 4
What is the special literal in Python that represents 'no value'?
A0
Bempty
CNone
Dnull
Question 5
Because Python is case-sensitive, how many different variables are age, Age and AGE?
A1
B2
C3
DThey cause an error