Python Programming Beginners Quiz
Python Programming Beginners Quiz
Questions
Question 1 Multiple Choice (Single Answer)
\t is an escape character.
- True
- False
Question 2 Multiple Choice (Single Answer)
Which of these is a variable?
- print()
- float()
- num1 = 9
- int()
Question 3 Multiple Choice (Single Answer)
What operator do we use to get the remainder of two numbers?
- /
- $
- %
- *
Question 4 Multiple Choice (Single Answer)
Which of these variables is a string?
- name = "Hello!"
- string = 33
- name = 3.22
Question 5 Multiple Choice (Single Answer)
Which of these variables is a float?
- num = 4.2
- num = 42
- num = 12
Question 6 Multiple Choice (Single Answer)
float is a data type.
- True
- False
Question 7 Multiple Choice (Single Answer)
\n is an escape character that inputs a new line.
- True
- False
Question 8 Multiple Choice (Single Answer)
What command/function do we use to read a value from the user?
- int()
- input()
- get()
- print()
Question 9 Multiple Choice (Single Answer)
Which of these variables are of type int?
- num = 5.6
- num = "3"
- num = 4
- num = 4.0
Question 10 Multiple Choice (Single Answer)
What function/command do we use to print something to the screen?
- printer()
- print()
- print = 22
Question 11 Multiple Choice (Single Answer)
print is NOT a command/function in Python.
- True
- False