WorksheetsDefensive Design
Total questions: 7
Worksheet time: 4mins
A whitelist is a list of data that the program being created, should reject. All other data should be rejected by the program.
True
False
A blacklist is a list of data that the program being created, should accept. All other data should be accepted by the program.
True
False
To make source code more maintainable, programmers should write their code with the following features:
Comments
Indentation
Formatting
What does 'SQL' stand for?
Structured Query Language
Suspicious Query Language
Superfast Query Language
Input validation is when a system will check that the input meets certain criteria, to ensure that the data is in an acceptable form.
True
False
Whitelists are often more effective and secure than Blacklists.
True
False
As well as indentation, the code should be grouped together in logical blocks by splitting them up with blank lines.
True
False
