wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python-ICT

Total questions: 20

Worksheet time: 9mins

Name
Class
Date
1.

What is an elif statement?

a)

Allows you to check multiple expressions

b)

Helps learn

c)

Is a statement which is used for a court order

d)

Is an optional statement

2.

What is a data type?

a)

defined by the values it can take or the operations that can be performed

b)

Where there are different kinds/types of data provided

c)

Used in ICT on google slides

d)

Shows you what different types of data are provided

3.

What programming is used for coding

a)

Snake

b)

Snail

c)

Python

d)

Anaconda

4.

What form is used for whole numbers?

a)

integer

b)

string

c)

boolean

d)

float

5.

Which data type is words?

a)

Float

b)

Boolean

c)

Integer

d)

String

6.

What form is used for decimal number?

a)

String

b)

Boolean

c)

Float

d)

Integer

7.

Which data type is used for T/F

a)

Boolean

b)

String

c)

Integer

d)

Float

8.

==

What does this symbol mean?

a)

Equal to

b)

Not equal to

c)

Less than

d)

Less than or equal to

9.

!=

What is this symbol

a)

Greater than or equal to

b)

Less than

c)

Not equal to

d)

Equal to

10.

<

What is this symbol?

a)

Less than

b)

Less than or equal to

c)

Greater than

d)

Equal to

11.

What is the name of the error that shows up on python

a)

Error

b)

Syntax Error

c)

Syntax

d)

Here

12.

What are if statements known as?

a)

Selection

b)

Statements

c)

ICT

d)

Python Code

13.

What is this quiz

a)

Revision

b)

Python

c)

Help

d)

Other

14.
What is syntax?
a)
Syntax is the word used to describe an error
b)
Syntax is the rules of the programming language
c)
It is used to read information
d)
It is used to output information 
15.
What is python named after
a)
The snake
b)
Television show called Monty Python
16.
What will the output be from the following code?
print(Hello world!)
a)
Hello world!
b)
SyntaxError
c)
Hello world
d)
print(Hello world!)
17.
What will the output be from the following code?
print("Hello world!" * 2)
a)
TypeError
b)
Hello world world!
c)
Hello world!Hello world!
d)
Hello world! * 2
18.
If you want more than one option for your code, what do you use (after if)?
a)
elif
b)
else
c)
ifif
19.

people = ["John", "Rob", "Bob"]

print (people[1])

what would this result be?

a)
John
b)
Rob
c)
Bob
20.
What is the word (command) used to display numbers and text on the screen?
a)
print
b)
input
c)
output
d)
command