Robust Programs Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Define defensive design

A

Help to ensure programs function properly so that they never break or produce errors

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

Define anticipating misuse

A

The programmer thinks ahead how users might misuse the program and will design it to prevent this from happening

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

Define authentication

A

Confirms the identity of a user before they are allowed to access particular data/programs

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

Define input validation

A

Checks that the data meets a certain criteria before passing it into the program

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

Define maintainability

A

A well maintained program makes it easier for other programmers to understand your code

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

Define syntax error

A

When the compiler/interpreter doesn’t understand something you have typed due to a grammar error in the programming language

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

Define logic error

A

When the program is able to run but the program does something unexpected

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

Define iterative testing

A

The program is tested while it’s being developed,fix any errors and then continue testing it

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

Define final testing

A

The whole program is tested at the end of the development process at the same time to check it’s all working

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

Define test plan

A

Outlines exactly what you are going to test and how you are going to test it

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

Define normal data

A

Data that the user is likely to input into the program

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

Define boundary data

A

Values at the limit of what the program should be able to handle

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

Define invalid data

A

Inputs with the correct data type that should be rejected by the program

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

Define erroneous data

A

Inputs with an incorrect data type that should be rejected by the program

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