NEW
Font size
S
M
L
XL
Worksheetspython
Total questions: 13
Worksheet time: 7mins
Name
Class
Date
1.
What is the word (command) used to display numbers and text on the screen?
a)
print
b)
input
c)
output
d)
command
2.
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
3.
What symbol is used in python to assign values to a variable?
a)
equals =
b)
plus +
c)
forward slash /
d)
asterisk *
4.
What is the name of the programming language we are learning?
a)
Scratch
b)
Python
c)
Pie thin
d)
Scribble
5.
What would print (10 + 16) produce?
a)
20
b)
22
c)
24
d)
26
6.
What is the process of developing and implementing various sets of instructions to enable a computer to do a certain task?
a)
Computer Engineering
b)
Computer Programming
c)
Computer Processing
d)
Computer Science
7.
What is python?
a)
a programming language
b)
DTP software
c)
Spreadsheet software
d)
Computer
8.
In python the ' STRING data type' can be defined as...?
a)
holds alphanumeric text
b)
hold whole numbers
c)
holds numbers with a decimal point
d)
holds either a true or false value
9.
In python the ' INTEGER data type' can be defined as...?
a)
holds alphanumeric data as text
b)
holds whole numbers
c)
holds numbers with a decimal point
d)
holds either ‘true’ or ‘false’
10.
In python the ' FLOAT data type' can be defined as...?
a)
holds alphanumerical data
b)
holds whole numbers
c)
holds a decimal point in a number
d)
hold either true or false
11.
What data type would be used for storing someone's telephone numbers?
a)
Float (using a decimal point)
b)
Integer (just whole numbers)
c)
String (alphanumerical data)
12.
what is correct code for INTEGER in python?
a)
in
b)
ing
c)
int
13.
What is the output from the following code?print ("hello world")
a)
Hello World
b)
hello world
c)
print hello world
Reset
