wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computing Starters

Total questions: 22

Worksheet time: 11mins

Name
Class
Date
1.

How many times does the loop work?

a)

10

b)

15

c)

20

d)

25

2.

How many times has the choice variable been used?

a)

1

b)

2

c)

3

d)

4

3.

Which construct has bee used in the program?

a)

Selection

b)

Iteration

c)

Sequencing

d)

Displaying

4.

Which comparison operator has been used?

a)

Greater Than

b)

Less Than

c)

Equal To

d)

Not equal too

5.

Is the sub routine a procedure or a function?

a)

Procedure

b)

Function

6.

What is a global variable

a)

Variable that can only be used in the procedure / function its contained in?

b)

Variable that can be used throughout the rest of the world

c)

Variable that can be used anywhere within the program

d)

Variable that can be used in any program

7.

Does the Procedure have any arguments?

a)

Yes

b)

No

8.

Which programming contruct, does the attached image represent?

a)

Sequence

b)

Selection

c)

Iteration/Loop

9.

Which programming contruct, does the attached image represent?

a)

Sequence

b)

Selection

c)

Iteration/Loop

10.

Which programming contruct, does the attached image represent?

a)

Sequence

b)

Selection

c)

Iteration/Loop

11.

Sequence is the order in which instructions occur and are processed

a)

True

b)

False

12.

This code uses:

a)

Sequence

b)

Selection

c)

Iteration

13.

This code uses:

a)

Sequence

b)

Selection

c)

Iteration

14.

This code uses:

a)

Sequence

b)

Selection

c)

Iteration

15.

This code uses:

a)

Sequence

b)

Selection

c)

Iteration

16.

This code uses:

a)

Sequence

b)

Selection

c)

Iteration

17.

This code uses:

a)

Sequence

b)

Selection

c)

Iteration

18.

What type of programming construct is if...elif...else

a)

Iteration

b)

Sequence

c)

Counting loop

d)

Conditional loop

e)

Selection

19.

Which are the variables in this code?

a)

num

b)

count

c)

print

d)

i

e)

range

20.

What will this Python code output if you enter 3 when you see the ">>> Enter a number" prompt?

a)

3 * 2

b)

33

c)

6

d)

Syntax error

21.

In Python, which key word would you use at the start of a conditional loop?

a)

while

b)

if

c)

iteration

d)

for

22.

What key word would you use in Python to start a selection?

a)

for

b)

if

c)

while

d)

print