Validation and verification Flashcards

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

What is validation?

A

Testing if the data entered is possible or reasonable

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

What are the 4 main validation checks?

A

range, length, type, check digit

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

What is verification?

A

It is checking that data was not changed on entry

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

What are the (4) verification checks?

A

double entry , screen/visual check , parity check, checksum.

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

What is the diffference between validation and verification?

A

Validation checks that the data is possible. It can’t check if the data was entered correcty

Verification checks if the data entered matches the data submitted for entry. It doesn;t check if the data meets set criteria

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

Range checks

A

Used to test if the value input falls between a given upper bound and a given lower bound

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

Example of range check

A

Percentage marks should be between 0 and 100 inclusive

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

Length check

A

To test if data input is over or under a certain number of characters

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

Example of length check

A

An international telephone number can be no longer than 15 digits

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

Type check

A

Used to test if the data input is of the correct data type

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

Example of type check

A

If the input is expecting an integer, it will not permit a string to be entered

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

Character check

A

Used to test if a string of characters is entered doesn’t have any invalid characters or symbols

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

Example of character check

A

A name should not contain a % sign

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

Format check

A

Used to test if the characters entered conform to a pre-defined pattern

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

Presence check

A

Used to test if some data has been entered and the value has not been left blank

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

Example of presence check

A

An email address must be given for an online transaction

17
Q

What are the other validation checks?

A

Character, format, presence

18
Q

Double entry

A

The data is entered twice and the two values are compared to see if they are the same. The value is only accepted if the two values are identical

19
Q

Screen/visual check

A

After data entry is complete, the data is displayed on the screen and the user is asked to confirm if it is correct before continuing

20
Q

Why is verification needed?

A

It is needed to check that data was entered as intended and that incorrect values that meet validation criteria are not accepted