Chapter 6 Flashcards

1
Q

What is defensive design

A

The process of creating robust programs not susceptible to hacking or erraneous input.

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

Defensive design must have…. (4)

A

No bugs
No backdoor access
Not behave in an unitended way
Incude input validation

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

What is a ddos attack

A

Spamming login attempts to bring an online service down

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

What must a programmer do to ensure their authentification script is defensively designed?

A

Minimise the load on the server - minimise the number of username/password searches

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

What is a presence check?

A

Filters out blank entries

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

What is a length check?

A

Filters out entries that are too long or too short

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

What is a range check

A

Filters out entries containing non-alpha-numeric characters

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

What is input validation

A

The program checks that the data is suitable for input

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

What is authentification?

A

Confirm that a username and password matches an account

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

What is input sanitisation

A

Using code to remove inputs that are harmul to their systems (cyberattcks)

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

What is program maintainability?

A

The process of making code as clear and as straight as possible.

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

Good program practices include: (4)

A

Sub Programs
Variable indentifier conventions
Identations
Comments

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

Modular testing

A

Testing a block of code or a small subprogram

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

Iterative testing

A

Testing the whole code many times throughout the development so bugs are quickly caught and do not pile up

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

Final testing

A

Once a program is complete, final testing can begin - alpha and beta

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

Alpha testing

A

Whole program testing performed by programmer and team

17
Q

Beta testing

A

Testing done by a selected group of people to recieve feedback about how the program works