wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Programming terminology

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which of these data types can store numerical data?

a)

Real

b)

Integer

c)

Char

d)

Boolean

2.

Which of these data types can store more than two possible values

a)

Integer

b)

Boolean

c)

String

d)

Real

3.

"Assignment" refers to...

a)

Storing data in variables

b)

Creating variables

c)

Repeating sections of code

d)

Checking a condition to see which piece of code to run next

4.

"Declaration" refers to...

a)

Storing data in variables

b)

Creating variables

c)

Repeating sections of code

d)

Checking a condition to see which piece of code to run next

5.

"Iteration" refers to...

a)

Storing data in variables

b)

Creating variables

c)

Repeating sections of code

d)

Checking a condition to see which piece of code to run next

6.

"Selection" refers to...

a)

Storing data in variables

b)

Creating variables

c)

Repeating sections of code

d)

Checking a condition to see which piece of code to run next

7.

A loop within a loop is...

a)

Definite iteration

b)

Indefinite iteration

c)

Nested iteration

d)

Reverse Polish iteration

8.

Using "meaningful identifiers" means...

a)

Giving variables and subroutines sensible names

b)

Giving variables the correct data type

c)

Correct use of conditions in loops

9.

Which of these are arithmetic operations?

a)

Addition

b)

Concatenation

c)

Integer division

d)

Substring

e)

Random number generation

10.

Which of these are string handling operations?

a)

Addition

b)

Concatenation

c)

Integer division

d)

Substring

e)

Random number generation

11.

Which of these are Boolean operations?

a)

0

b)

AND

c)

1

d)

NOT

e)

Multiplication

12.

Which of these are Relational operations?

a)

<

b)

=

c)

>=

d)

<>

e)

<

13.

What is the term for a named block of code that can be executed by writing its name.

a)

Subroutine

b)

Condition

c)

Selection

14.

Some subroutines produce a result that is sent back to where they were called from. What is this value called?

a)

Return value

b)

Final value

c)

Parameter

d)

Variable

15.

Local variables...

a)

...only exist while their subroutine is executing

b)

...are only accessible in the subroutine in which they are declared

c)

...can only be of the 'integer' data type

d)

...can be used from anywhere in a program