wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Data validation and design definitions

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What type of validation checks to see if something is between an upper and a lower limit?

a)

Range check

b)

Length check

c)

Type check

2.

What type of validation checks to see that something is the correct data type?

a)

Range check

b)

Length check

c)

Type check

3.

What type of validation checks that the data is a certain number of characters?

a)

Range check

b)

Length check

c)

Type check

4.

A website asks you to enter a date and checks it's not in the future. What type of check is this?

a)

Range check

b)

Length check

c)

Type check

5.

You are buying an item on eBay. You type in the quantity you want, and the system checks you've entered a number. What type of check is this?

a)

Range check

b)

Length check

c)

Type check

6.

You have to create a PIN code for your phone that is 6 characters long. What type of check is this?

a)

Range check

b)

Length check

c)

Type check

7.

You have a holiday booking reference that can only contain letters and numbers. The booking form checks you have entered a valid reference. What type of check is this?

a)

Range check

b)

Length check

c)

Type check

8.

Your are asked to rate a service. Your rating has to be between 1 and 5. What type of check is this?

a)

Range check

b)

Length check

c)

Type check

9.

In coding, describe what is happening when a program does one of two things after making a decision

a)

Sequence

b)

Selection

c)

Repetition

10.

Describe what happens when a program does one thing after another

a)

Sequence

b)

Selection

c)

Repetition

11.

Describe what happens when a program repeats a certain action more than once

a)

Sequence

b)

Selection

c)

Repetition

12.

What is this code an example of?

a)

Sequence

b)

Selection

c)

Repetition

13.

What is this code an example of?

a)

Sequence

b)

Selection

c)

Iteration

14.

What is this code an example of?

a)

Sequence

b)

Selection

c)

Repetition

15.

What is top-down design?

a)

Shows the values of variables as you manually test your program

b)

Describes a program using a simplified high-level notation

c)

Shows the steps representing an algorithm using various shapes of boxes

d)

Breaks down a system into successively smaller pieces

16.

What is pseudocode?

a)

Shows the values of variables as you manually test your program

b)

Describes a program using a simplified high-level notation

c)

Shows the steps representing an algorithm using various shapes of boxes

d)

Breaks down a system into successively smaller pieces

17.

What is a trace table?

a)

Shows the values of variables as you manually test your program

b)

Describes a program using a simplified high-level notation

c)

Shows the steps representing an algorithm using various shapes of boxes

d)

Breaks down a system into successively smaller pieces

18.

What is a flowchart?

a)

Shows the values of variables as you manually test your program

b)

Describes a program using a simplified high-level notation

c)

Shows the steps representing an algorithm using various shapes of boxes

d)

Breaks down a system into successively smaller pieces

19.

What is a structure diagram?

a)

Shows the hierarchy of the different components which make up a system

b)

Describes a program using a simplified high-level notation

c)

Pre-written code to include in your own program to carry out a common task

d)

Breaks down a system into successively smaller pieces

20.

What is a library routine?

a)

Shows the hierarchy of the different components which make up a system

b)

Describes a program using a simplified high-level notation

c)

Pre-written code to include in your own program to carry out a common task

d)

Breaks down a system into successively smaller pieces