Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Y7 HWK3 : Variables

Total questions: 12

Worksheet time: 9mins

Name
Class
Date
1.

Which description best describes a variable?

a)

A Variable is a type of programming language

b)

A variable is a name that refers to data being stored by the computer

c)

A variable is a name for block in scratch.

d)

A variable is a secret code.

2.

When is the best time to use a variable?

a)

When we do know what data we need to save

b)

when we do not know what data we need to save

c)

when we know the type of data we will save, but not exactly what it will be.

3.

Variables cannot...

a)

have a name

b)

store more than one value

c)

be empty

d)

be used in programs

4.

running instructions in order is known as (a)  

5.

In programming what is meant my Iteration

a)

making choices and following them

b)

running instructions in order

c)

doing the same thing more than once

6.

In programming what is meant my Selection

a)

making choices and following them

b)

running instructions in order

c)

doing the same thing more than once

7.

What is an algorithm

a)

a computer program

b)

A series of instructions that solve a problem

c)

A way to create computers

8.

What does this scratch program do?

a)

says 'Hello, world!'

b)

says 'Hello, world!' over and over again

c)

when you press the green flag it says 'Hello, world!' once

d)

when you press the green flay it says 'Hello, world!' over and over again.

9.

a (a)   is a place in memory we can save data, that can change.

10.

What are the variables in this program?

a)

name and answer

b)

Hello and name

c)

hello and answer

d)

name and 2

11.

If, when prompted you type in 'Bob', what will the program say?

a)

nothing

b)

hello bob

c)

Hello!

Bob

d)

Hello!Bob

12.

What should i call my variable if i want to store someones name?

a)

Age

b)

Bob

c)

Name

d)

[The persons name goes here]