2.3.1 Defensive Design Flashcards

1
Q

How can code be made more maintainable? [4]

A

Comments [1] Indentation [1] Use of subroutines [1] Sensible variable names [1]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is anticipating misuse? [2]

A

Predicting ways that users may break a system [1] and planning ways to prevent it [1]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is authentication? [2]

A

Requiring a username and password [1] to prevent unauthorised access to data [1]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is input validation? [2]

A

Checking that an input meets requirements [1] and is the right data type [1]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly