Unit 7.5 - validation and verification Flashcards

(5 cards)

1
Q

Purpose of validation

A

Automatic check that makes sure that any data is entered is sensible and meaningful (in terms of checking if data type is correct and if it falls in correct range).

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

5 types of validation checks

A
  1. Range check - verifies entered value falls within specified range using if else statements
  2. Length check - length/number of characters enterred
  3. Type check - cofirms if correct type of data has been entered (confirm data types)
  4. Presence check - ensures data is present in excpected field/place, not left blank
  5. Format check - checks if input uses a specified format
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Check digit

A

Type of validation uses specific number in a sequence of digits to validate input (e.g. barcode). Spots human data entry erros/transmission errors

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

Verification

A

Process that helps check if data is correct/the same as intended by matching entered data to expected values. Checks that value entered has not been changed on input. E.g. checking date of birth or password

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

2 types of verification

A
  1. Visual check - user manually verifies input data against original source of data (prevents data entry errors)
  2. Double entry check - automated verification where the system asks you to re-type/input the same data twice
How well did you know this?
1
Not at all
2
3
4
5
Perfectly