wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Science 2.2

Total questions: 16

Worksheet time: 14mins

Name
Class
Date
1.

A ... is a name for a memory location used to store data that can be changed.

(a)  

2.

... is the process of converting one data type to another.

(a)  

3.

A ... is a location in memory, the value CANNOT be changed.

(a)  

4.

Select all the types of operators:

a)

/

b)

*

c)

+

d)

-

e)

%

5.

Entering data into a program.

(a)  

6.

Response from the program.

(a)  

7.

This is called...?

(a)  

8.

What symbol is used for commenting?

(a)  

9.

Why are comments used?

a)

to make comments about the code

b)

to send messages between programmers

c)

to explain key functions and key sections

d)

to explain the code for the users

10.

A part of the program which causes it to operate incorrectly. The error does not prevent the program running but it does not produce the expected output.

(a)  

11.

... is a set of instructions that follows on one after another.

(a)  

12.

In ... the next statement to be executed depends on whether the condition being tested is True or False.

(a)  

13.

... is the repetition of a process.

(a)  

14.

Which type of loop repeats a given number of times.

a)

for loop

b)

count controlled iteration

c)

while loop

d)

condition controlled

15.

Which type of loop repeats until a condition is met?

a)

for loop

b)

count controlled iteration

c)

while loop

d)

condition controlled

16.

An ... allows multiple items to be stored under one variable name, this reduces the need for multiples variables.

(a)