Unit 2.3. Producing Robust Programs Flashcards

(16 cards)

1
Q

Defensive design

A

Designing and building computer code that is secure, easy to maintain and robust

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 the 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 can be accepted

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

The way to name variables in a way that is clear and relevant to its purpose

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
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
6
Q

Comment

A

Lines that are not code themselves but provide notes to the programmer

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

Testing

A

The process of trialing 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
8
Q

Iterative testing

A

Testing which is carried out whilst the program is being developed, so you can catch out mistakes as you go.

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

Final testing

A

Testing which is carried out at the end of development

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

Syntax Error

A

An error which breaks the rules of the programming language and means the code can’t run

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

Logic error

A

An error which produces an unexpected output, but the code still runs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
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
13
Q

Boundary Data

A

Data at the extremes of what the program should accept (e.g. the last number in a range)

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

Invalid Data

A

Data that is the correct type but is not valid for the program and should be rejected

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

Erroneous Data

A

Data which is the wrong type and should be rejected