WorksheetsWeek 3 - User Input
Total questions: 7
Worksheet time: 4mins
Name
Class
Date
1.
What character is used for assigning & reassigning variables in Python
a)
=
b)
==
c)
><
d)
?
2.
What function can you use to ask the user a question?
a)
print()
b)
str()
c)
input()
d)
type()
3.
The values received from user input, are always _____.
a)
integers
b)
strings
c)
floats
d)
lists
4.
What does concatenation mean?
a)
to merge two strings together
b)
to subtract from something else
c)
to check if something is an error
d)
to erase the screen
5.
(True or False) A method can be used if it hasn't been called.
a)
True
b)
False
6.
What is the other name for "method"
a)
concatenation
b)
format
c)
print statement
d)
function
7.
What is the output?
a)
MSU
b)
MSUUSM
c)
USM
d)
MSU USM
100 %
