wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Defensive Design

Total questions: 7

Worksheet time: 4mins

Name
Class
Date
1.

A whitelist is a list of data that the program being created, should reject. All other data should be rejected by the program.

a)

True

b)

False

2.

A blacklist is a list of data that the program being created, should accept. All other data should be accepted by the program.

a)

True

b)

False

3.

To make source code more maintainable, programmers should write their code with the following features:

a)

Comments

b)

Indentation

c)

Formatting

4.

What does 'SQL' stand for?

a)

Structured Query Language

b)

Suspicious Query Language

c)

Superfast Query Language

5.

Input validation is when a system will check that the input meets certain criteria, to ensure that the data is in an acceptable form.

a)

True

b)

False

6.

Whitelists are often more effective and secure than Blacklists.

a)

True

b)

False

7.

As well as indentation, the code should be grouped together in logical blocks by splitting them up with blank lines.

a)

True

b)

False