WorksheetsPython week 03 quiz
Total questions: 8
Worksheet time: 4mins
Name
Class
Date
1.
Python is a
a)
text language
b)
programming language
c)
database language
2.
Python has a simple syntax similar to the
a)
coding language
b)
english language
c)
spanish language
3.
Code for printing Hello, World! in python
a)
print Hello, World!
b)
print("Hello, World!)
c)
print("Hello, World!")
4.
Python language use
a)
upper case letters
b)
lower case letters
c)
upper and lower case letters
5.
What is print() called in Python coding?
a)
function
b)
variable
c)
string
d)
output
6.
What symbol is used for multiplication in Python coding?
a)
x
b)
+
c)
#
d)
*
7.
A data type consisting of numbers, letters and symbols.
a)
String
b)
Integer
8.
What will the output be from the following code?
print(3+4)
a)
3+4
b)
7
c)
SyntaxError
d)
print(3+4)
100 %
