Data validation Flashcards

(12 cards)

1
Q

What is the purpose of Data Validation?

A

To ensure that data is sensible, reasonable, complete and within acceptable boundaries.

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

What does a Presence Check do?

A

Ensures that data has been entered into a field.

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

What does a Length Check verify?

A

Ensures that data entered has the correct number of characters or does not exceed a certain number of characters.

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

What is the function of a Type Check?

A

Ensures that data entered is of the correct data type.

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

Name a few data types that a Type Check might validate.

A
  • Numeric
  • Text
  • Date/Time
  • Yes/No (Boolean)
  • Currency
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does a Format Check ensure?

A

Ensures that data entered is of an exact format, possibly matching an input mask.

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

What is the purpose of a Range Check?

A

Ensures that data entered is within an acceptable range, possibly between a lower and upper boundary.

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

Fill in the blank: A Presence Check ensures that _______ has been entered into a field.

A

[data]

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

Fill in the blank: A Length Check ensures that data entered has the correct number of _______.

A

[characters]

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

True or False: A Format Check can ensure that a date is entered in the correct format.

A

True

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

True or False: A Range Check can be used to determine if a password is within a specified length.

A

False

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

What is a Lookup Table?

A

A list of data which can be used to provide values for other data fields.

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