Topic 4: Validation and Verification Flashcards

1
Q

What is validation of data?

A

Validation is a process that ensures data being put into a system is sensible and reasonable.

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

A process that ensures data being put into a system is sensible and reasonable is what?

A

Validation of data.

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

Name and describe how one validation method could be used in a website registration form.

A

Name: A software developer will write a short piece of code that prevents data being entered if it doesn’t fit certain rules.

Describe: A website registration form would require a presence check for essential fields such as name and address.

A format check could be used to make a date of birth is entered as DD/MM/YYYY.

A range check could be used to ensure that the year of birth makes sense for an adult between the ages of 16 - 99.

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

A presence check is a type of what method?

A

Validation

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

A format check is a type of what method?

A

Validation

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

A range check is a type of what method?

A

Validation

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

What is a presence check?

A

Occurs for essential fields on forms, i.e. name and address.

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

What is a format check?

A

Occurs to make sure that the format of information is correct, i.e. to make sure that a date of birth is entered as DD/MM/YYYY.

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

What is a range check?

A

Occurs to make sure that information makes sense, i.e. to make sure that a year of birth makes sense for an adult between the ages of 16-99.

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

Give an example of data validation in a website registration form that requires ‘presence’.

A

A website registration form usually has a validation check which prevents someone from leaving if they have left a essential field blank. These would likely be things like first name, or address.

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

What is verification of data?

A

A verification check involves comparing two sources of the same data to ensure they are identical.

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

A process that involves comparing two sources of the same data to ensure they are identical is known as what?

A

Verification check.

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

What is an example of a verification check?

A

An example of a verification check is needing to enter a new password twice. This is also known as double entry.

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

Needing to enter a new password twice is an example what kind of what kind of check?

A

Verification check.

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

An employee proof reading data on a computer to ensure it is the same as the original paper source is an example of what kind of verification?

A

Manual verification.

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

Give an example of manual verification.

A

An example of manual verification is an employee proof reading data on a computer to ensure it is the same as the original paper source.

17
Q

Why are validation checks and verification checks necessary?

A

Validation and verification checks are necessary in order to reduce the number of errors that get into a data system. The aim is to reduce the problem of GIGO.

18
Q

Define GIGO (Data, Information, and Knowledge)

A

Garbage
In
Garbage
Out

19
Q

Do validation and verification checks ensure data input into a system is perfect?

A

No, it is impossible to ensure that data held on a computer is 100% perfect.

There will always be some errors that get through because not everything can be checked.

20
Q

If a developer is very careful to code plenty of validation and verification checks, can they be sure that all customer addresses are correct?

A

No. This is because only the customer knows if their address is old or new/current.

If the customer is asked to confirm their address, however, this is a better verification check.

21
Q

A check which occurs to see if a postcode is not longer than 8 characters is called what?

A

A length check.

22
Q

A check which occurs to see if the first and last name are completed is called what?

A

A presence check.

23
Q

A check which occurs to see if someones age is between 12 and 100 is called what?

A

A range check.

24
Q

A check which occurs to see if a username is taken or not is called what?

A

A file/table look-up.

25
Q

A human error is known as what kind of error?

A

A transcription input error.

26
Q

What is a transcription input error?

A

A human error.

27
Q

Give two examples of a transcription input error.

A

Occurs due to a typing mistake

or

Misreading handwriting.

28
Q

What check can be used to detect transmission errors?

A

Parity check.

29
Q

A parity check is sometimes used to detect what kind of errors?

A

Transmission errors.

30
Q

Describe how even parity is used to detect transmission errors.

A

The binary code for the ASCII character ‘C’ contains three ones (1000011). An extra parity bit is therefore set to 1 before transmission so that the number of ones is even. This is called ‘even parity’. If after this the total number of ones at the receiving end is not even then an error must have occurred,

31
Q

An error check that notifies the consumer that the long credit card number must not have letters of special characters is called what?

A

A type validation check.

32
Q

An error check that notifies the consumer that their postcode does not match their billing address is known as what?

A

A cross-field validation check.

33
Q

An error check that notifies the consumer that their password entries do not match is known as what?

A

A verification check.

34
Q

An error check that notifies the consumer that they must enter their email in the form xxx@xxx.xx.xx is known as what?

A

A format check.