WorksheetsINTRODUCING PYHTON
Total questions: 16
Worksheet time: 8mins
Name
Class
Date
1.
WHICH PYHTON MODE CAN BE USED AS CALCULATOR
a)
SCRIPT
b)
INTERACTIVE
c)
IDLE
d)
SHELL
2.
FEATURES OF PYTHON ARE
a)
IT IS FREE PROGRAMMING LANGUAGE
b)
CASE SENSATIVE
c)
IT CANNOT BE USED ON PHONES
d)
IT IS EASY TO USE
3.
What is a variable?
a)
A box(memory location) where you store values
b)
a type of graphics
c)
Data type
d)
a type of memory
4.
What is the word (command) used to display numbers and text on the screen?
a)
print
b)
input
c)
output
d)
command
5.
What symbol is used in python to assign values to a variable?
a)
equals =
b)
plus +
c)
forward slash /
d)
asterisk *
6.
When you have an error in your code what is the term to summarise finding and fixing that error?
a)
Error checking
b)
Debugging
c)
Syntax finder
d)
Error finder
7.
What Python command lets the user enter an answer to a question?
a)
answer()
b)
open()
c)
print()
d)
input()
8.
WHO INVENTED PYTHON
a)
GUIDO VAN ROSSUM
b)
BILL GATES
c)
JAMES GOSLING
9.
WHICH 3D GAME ENGINE SUPPORTS PYTHON BASED GAMES (In Book)
a)
PY
b)
PySoy
c)
Poly
d)
Poyt
10.
WHICH SYMBOL IS PYTHON PROMPT
a)
<<<
b)
>>>
c)
\\\\
d)
\
11.
WHICH SYMBOL IS FLOOR DIVISION
a)
//
b)
/
c)
*
d)
#
12.
PYTHON USE __________
a)
INTERPRETER
b)
COMPILER
13.
The number or word we give to a variable
a)
Value
b)
Bug
c)
Information
d)
Text
14.
What is the word (command) used to display numbers and text on the screen?
a)
print
b)
input
c)
output
d)
command
15.
What would print (10 + 16) produce?
a)
20
b)
22
c)
24
d)
26
16.
What extension must you add to the end of a file when saving?
a)
.xlsx
b)
.pptx
c)
.docx
d)
.py
100 %
