Name:     ID: 
 
Email: 

Python Programming - Assessment 1

Multiple Choice
Identify the choice that best completes the statement or answers the question.
 

 1. 

What will be printed with the following print statement?

print(“2 + 2”)
a.
4
c.
2, 2
b.
2 2
d.
2 + 2
 

 2. 

What is used to take input from the user in Python?
a.
< >
c.
input( )
b.
scan( )
d.
print( )
 

 3. 

Which of the following is correct?
a.
Reserved words such as break can be used as a variable name
c.
A variable name can have symbols like: @, #
b.
A variable name must start with a letter
d.
A variable name can start with a digit
 

 4. 

In the following code, the variable num is a ____?

num = “5”
a.
string
c.
boolean
b.
float
d.
integer
 

 5. 

Comments are ignored by the Python interpreter. What symbol is needed at the beginning of the comment?
a.
@
c.
< >
b.
#
d.
[ ]
 



 
         Start Over