wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Y9 refresher

Total questions: 16

Worksheet time: 8mins

Name
Class
Date
1.

x = age + 2

What does the = sign do

a)

Comparison

b)

assignment

c)

test

d)

add

2.

if y == 5

What does the == do?

a)

Comparison

b)

Assignment

c)

test

d)

add

3.

There are three Programming constructs.

this is an example of

a)

Sequence

b)

Selection

c)

Iteration

d)

program

4.

There are 3 programming constructs

this is an example of

a)

Sequence

b)

Selection

c)

Iteration

d)

Program

5.

There are 3 programming constructs

this is an example of

a)

Sequence

b)

Selection

c)

Iteration

d)

Program

6.

identify all the variables in this code

a)

userp1

b)

print

c)

for

d)

counter

7.

A value that can change during the running of a program

a)

constant

b)

variable

c)

input

d)

print

8.

A value that NEVER changes during the running of a program

a)

constant

b)

variable

c)

input

d)

print

9.

answer = 14.65

What data type is answer?

a)

string

b)

boolean

c)

integer

d)

float/real

e)

character

10.

answer = "Hello World"

What data type is answer?

a)

string

b)

boolean

c)

integer

d)

float/real

e)

character

11.

answer = 14

What data type is answer?

a)

string

b)

boolean

c)

integer

d)

float/real

e)

character

12.

answer = True

What data type is answer?

a)

string

b)

boolean

c)

integer

d)

float/real

e)

character

13.

answer = 'C'

What data type is answer?

a)

string

b)

boolean

c)

integer

d)

float/real

e)

character

14.
a)

A

b)

B

c)

C

d)

D

15.
a)

A

b)

B

c)

C

d)

D

16.
a)

A

b)

B

c)

C

d)

D