validation Flashcards

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

what is validation?

A

an automatic computer check to ensure that the data entered is sensible and reasonable

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

presence check

A

checks that data has been entered into a field

e.g. in most databases a key field cannot be left blank

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

range check

A

check that a value falls within the specified range

e.g. number of hours must be less than 50 and more than 0

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

length check

A

checks the data isn’t too short or too long

e.g. a password which needs to be six letters long

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