NEW
Font size
S
M
L
XL
WorksheetsPython Basics
Total questions: 10
Worksheet time: 5mins
Name
Class
Date
1.
Is Python a High Level or Low Level programming language?
a)
High
b)
Low
2.
What is the word (command) used to display numbers and text on the screen?
a)
output
b)
command
c)print
d)
input
3.
Python language was developed in what year?
a)
1985
b)
2001
c)
1991
d)
2010
4.
What is a variable?
a)
a type of graphics
b)
A box(memory location) where you store values
c)
Data type
d)
a type of memory
5.
Python uses indentation to block code into chunks
a)
True
b)
False
6.
What will be the output?
name = "Dave"
print (name)
a)
Dave
b)
"Dave"
c)
name
d)
(name)
7.
What extension must you add to the end of a file when saving?
a)
.xlsx
b)
.py
c)
.docx
d)
.pptx
8.
Python correct naming convention for constants is?
a)
firstName
b)
First_Name
c)
FIRST_NAME
d)
firstname
9.
What symbol do you use to make a comment in Python?
a)
@
b)
/
c)
;
d)
#
10.
Is Python awesome?
a)
Of course it's awesome!
b)
Python sucks
Reset
