wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python constructs

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Is this sequence, selection, or repetition?

a)

Sequence

b)

Selection

c)

Repetition

2.

Is this sequence, selection, or repetition?

a)

Sequence

b)

Selection

c)

Repetition

3.

Is this sequence, selection, or repetition?

a)

Sequence

b)

Selection

c)

Repetition

4.

Which statements do we use for repetition?

a)

If statements

b)

Loops

c)

Sequential commands

5.

Which statements do we use for selection?

a)

if statements

b)

loops

c)

sequential commands

6.

What symbol do we use for comments?

a)

Dollar symbol $

b)

Percent symbol %

c)

Hashtag #

7.

What do we use to store data in a program?

a)

variables

b)

loops

c)

comments

8.

What is the initial value of the variable?

a)

4

b)

5

c)

9

9.

What is the final value of the variable?

a)

4

b)

5

c)

9

10.

What is the data type of the variable number?

a)

string

b)

int

c)

float