wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Python Revision

Total questions: 14

Worksheet time: 7mins

Name
Class
Date
1.

What symbol is used for multiplication in Python coding?

a)

x

b)

+

c)

#

d)

*

2.

When coding in Python what two instructions would I use if I want the program to select a choice?

a)

IF

PRINT

b)

IF

COUNT

c)

IF

ELSE

d)

IF

INPUT

3.

In Python coding what does the instruction PRINT do?

a)

Instruct a printer to work

b)

Add together two numbers

c)

Print a statement on the screen

d)

Input a number

4.

What command is missing on Line 31?

a)

ELIF

b)

ELSE

c)

PRINT

d)

COUNT

5.

What is the missing instruction?

a)

Print

b)

print

c)

(print)

d)

"Print"

6.

What word explains a set of instructions created to complete a particular task

a)

Sequence

b)

Selection

c)

Iteration

d)

Variable

7.

What word describes an instruction that repeats itself in a loop?

a)

Sequence

b)

Selection

c)

Iteration

d)

Variable

8.

What word describes a part of a program that makes a choice between one option or another

a)

Sequence

b)

Selection

c)

Iteration

d)

Variable

9.

What word describes a part of a program that stores information that may change later on

a)

Selection

b)

Sequence

c)

Iteration

d)

Variable

10.

What is the keyword used in Python to get an answer using a keyboard?

a)

Output

b)

Input

c)

Print

d)

Else

11.

What python keyword is used for iteration (repeated loops)?

a)

WHILE

b)

IF

c)

ELSE

d)

PRINT

12.

What python keyword is used for selection?

a)

FOR

b)

WHILE

c)

IF

d)

PRINT

13.

AGE = INT(INPUT())

What does the INT stand for in the python code?

a)

Internet

b)

Integer

c)

Interest

d)

Internal

14.

What name is given to a set of alphanumeric text stored, for example GTA3, as a single item?

a)

STRING

b)

STORE

c)

STRAP

d)

STRAIGHT