paper 2 section 9 Flashcards

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

Verification

A

The input of data twice
Inputs are compared
If they match, entry is accepted as valid

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

Normal Data

A

Data that the program should accept

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

Maintainability - Subprograms

A

Can reuse code, making it quicker to develop
Easier to maintain as code is shorter

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

Maintainability - Naming Conventions

A

Help to identify names within code and readability
Indentation aids readability, and is sometimes mandatory

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

Maintainability - Commenting

A

Used to document for yourself and others
Includes purpose of program, complex parts of code, purpose of subprograms
Helps ensure program can be understood and maintained well after being written

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

Iterative Testing

A

Done during development
Tests each piece of code as soon as it is written
If it works, move on to next piece

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

Invalid/Erroneous Data

A

Data that shouldn’t be accepted by program

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

Input Validation - Type Check

A

Data is the right type such as an integer, chracter or text string

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

Input Validation - Range Check

A

A number or date is within allowed range

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

Input Validation - Presence Check

A

Checks that data has been entered, fields haven’t been left blank

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

Input Validation - Length Check

A

Text entered isn’t too long or too short

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

Input Validation - Format Check

A

Checks format of data is appropriate - postcode, email

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

Input Validation

A

The checking of data on input to make sure it is sensible or reasonable

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

Final Testing

A

Done when code is finished and iterative testing has been completed for each piece of code
Make sure it works as intended

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

Boundary Data

A

Upper and lower bounds of accepted data

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

Authentication

A

Process used to test that a person is who they claim to be
Methods include user ID and password, PIN or biometrics

16
Q

Anticipating Misuse

A

Programmers should expect users to enter invalid inputs
When verification can’t solve issue, help messages and instructions should be used