2.3 - robust programs Flashcards

1
Q

Defensive design

A

Designing and building computer code with the ability to keep it secure, easy to maintain and robust as a priority. It is anticipating misuse

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

Authentication

A

A security mechanism which requires a password, code, fingerprint or other factor to gain access to all or part of a system.

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

Input validation

A

The process of comparing data entered into the program to a set of rules to ensure it is valid and will not damage the system before processing it.

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

Maintainability

A

The ability to keep code updated, fix bugs and add new features easily.

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

Naming conventions

A

An agreed way of naming parts of the program such as variables or sub programs such that they are easy to read and their purpose is clear.

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

Indentation

A

Inserting spaces at the start of a line or lines of code so to group them together and make the code easier to read.

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

Comment

A

Lines which do not form part of the code and are not executed but instead provide notes and explanations to those looking at the code.

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

Testing

A

The process of trialling a program in order to ensure it performs as expected

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

iterative testing

A

Testing which is carried out whilst the program is being developed.

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

Final testing

A

Testing which is carried out at the end of development just before the code is released.

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

syntax error

A

An error which breaks the rules of the programming language and stops the code from running.

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

logic error

A

An error which produces an unexpected output even though the code still runs.

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

normal data

A

Data which the program should accept without error.

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

boundary data

A

Data at the extremes of what the program should accept without error.

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

invalid data

A

Data of the correct type, but not valid for the program and which should
be rejected

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

erroneous data

A

Data which is the wrong type and should be rejected