data validation definition
checks if data conforms to a set of specific requirements (to avoid errors)
data validation methods
length check
range check
format check
presence check
check digit
types of error that check digits usually detect
letter/digit errors (eg. I <—> 1)
single-digit errors (eg. 1 <—> 2)
transposition errors (eg. 21 <—> 12)
data verification definition
ensures data entered is what user intended
data verification methods
double entry
proof-reading data
checksum
how should data backups be carried out
why backup?
why archive?
name the 3 errors
give 3 examples of runtime error
why didnt data testing identify error that occurred during runtime?
application: if crash due to too much memory used –> data testing neglected some parts of the program bc usually only test if output right/wrong but X test how much memory it uses
why infinite while loop occurs?