Chapter 1 - Lesson 5 (Part 2)

Basic ICT tutorials (Information Communication Technology)
2 Jun 202008:25

Summary

TLDRThe video discusses different types of data validation and verification techniques. It explains consistency checks, such as ensuring the gender matches the title on a form, and check digit checks, which use algorithms to verify the accuracy of identification numbers. Verification methods like visual checks and double entry are highlighted as ways to ensure data correctness. Visual checks involve comparing data entered with the original source, while double entry requires inputting data twice to compare for discrepancies. The video also points out limitations of these methods, such as incorrect data being verified if both entries are identical but wrong.

Takeaways

  • πŸ” Consistency checks verify that data fields within a record are logically coherent, like ensuring the gender aligns with the title on a form.
  • 🧩 An example of a consistency check is when a form prevents selecting 'F' for gender if 'Mr.' is chosen as the title, maintaining logical coherence.
  • πŸ“¦ Consistency checks can also enforce sequential processes, such as not allowing an item to be marked as dispatched until it is packaged.
  • πŸ”’ Check digit checks use algorithms to validate identification numbers by appending a redundant digit, which helps detect data entry errors.
  • πŸ“ To calculate a check digit, a formula is applied to the primary number, with the result confirming the validity of the number.
  • 🧾 Barcodes commonly use check digits, which are calculated using specific algorithms to ensure the accuracy of the product code.
  • βœ… Verification ensures that entered data matches the original source, providing an additional layer of accuracy beyond validation.
  • πŸ‘€ Visual checks are a verification method where users manually compare the data entered with the original source to confirm accuracy.
  • πŸ‘₯ Double-entry verification involves entering data twice and comparing the two entries; if they match, the data is verified.
  • ⚠️ Verification methods like double-entry can still allow errors if incorrect data is entered consistently both times.

Q & A

  • What is a consistency check in data entry?

    -A consistency check ensures that information entered into a system follows logical rules and relationships between fields. For example, entering 'Mr.' as a title and 'F' for female in the gender field would trigger a consistency check error because these values contradict each other.

  • Can you give an example of a consistency check involving product dispatching?

    -Yes, a consistency check in product dispatching would prevent marking an item as 'dispatched' if it hasn’t been marked as 'packaged' first. The system ensures that steps follow a logical order.

  • What is a check digit and how is it used in data validation?

    -A check digit is a number or letter added to the end of an identification number to help verify its accuracy. It's generated through a mathematical formula applied to the digits in the identification number and serves as a validation tool.

  • Can you explain the process of calculating a check digit using a barcode as an example?

    -For a 13-digit barcode, you add all the digits in the even-numbered positions and multiply the result by 3. Then, add the digits in the odd-numbered positions. Add the two results together and divide by 10. The remainder is subtracted from 10 to get the check digit. If the result is 1, the barcode is valid.

  • What is the difference between validation and verification in data entry?

    -Validation checks if the entered data meets certain criteria (e.g., an age field requiring a value β‰₯ 18). However, it doesn’t ensure the data is sensible. Verification ensures that the data matches the original source and is correct.

  • What are the two methods of verification in data entry?

    -The two methods of verification are visual check and double entry. Visual check involves manually comparing entered data with the original source. Double entry involves inputting data twice, and the system checks for discrepancies.

  • What is the visual check method of verification?

    -Visual check is when the user manually compares the data entered on a screen with the original source document. If they match, the data passes the verification process.

  • What are the limitations of visual check as a method of verification?

    -The limitation of visual check is that it doesn't ensure the original data is correct. If the source document has errors, those errors will be carried into the system, even if they pass verification.

  • What is double entry in data verification?

    -Double entry involves entering the same data twice. The system compares both entries, and if they match, the data is verified. If there's a discrepancy, one of the inputs must be incorrect.

  • What are the potential issues with double entry verification?

    -If the same incorrect data is entered twice, double entry verification can still pass because both inputs match, even though the data is wrong. For example, if the caps lock is mistakenly left on during both entries, the system will see them as identical.

Outlines

00:00

🧩 Understanding Consistency Checks

This paragraph explains what consistency checks are and provides examples. A consistency check ensures that related data in different fields of a form aligns correctly. For instance, if the title 'Mr.' is selected, the gender cannot be set to 'Female,' as this would create a contradiction. Another example includes not marking an item as 'dispatched' before it has been packaged. These checks help prevent contradictory or illogical data from being entered into a system.

05:01

πŸ”’ Check Digit Explained

This section introduces the concept of a check digit, which is a number added to the end of an identification number to ensure the validity of the data through an algorithm. For instance, a number such as 20392 may generate a check digit of 4, which would be appended to the original number, making it 203924. The check digit is used to verify the integrity of data, such as product codes or identification numbers, by ensuring that they follow a valid structure.

πŸ“Š Another Example of Check Digit Validation

This paragraph provides a more detailed example of how check digit validation works, specifically using a product barcode. To validate a 13-digit barcode, a specific calculation process is followed, including adding digits in even and odd positions, multiplying, and performing modulo operations. The check digit ensures that the barcode is valid and any error in this process would result in an invalid product code. The steps involve arithmetic operations that confirm the final check digit is correct.

πŸ‘οΈβ€πŸ—¨οΈ What is Verification? Methods Explained

This section distinguishes between verification and validation. Verification is the process of ensuring that data entered matches the original source, while validation checks whether the data meets predefined criteria. Verification can be done through visual checks, where users compare data on the screen with the original source. However, this method has limitations, as errors in the original data will still pass through verification. Verification methods also include double entry, where data is input twice and compared by the system to ensure accuracy.

✍️ Visual Check and Double Entry Verification

This final paragraph elaborates on two methods of verification: visual checking and double entry. Visual checking involves manually comparing data entered into a computer with the original source, but this does not guarantee correctness if the original data is incorrect. Double entry requires entering the data twice and the system checks for any discrepancies. However, if the data is entered incorrectly both times, the error could still pass, highlighting a potential weakness in the system.

Mindmap

Keywords

πŸ’‘Consistency Check

A consistency check is a validation method used to ensure that data fields within a record do not contradict each other. For example, in the video, if a person enters 'Mr.' as their title but selects 'F' for female as their gender, a consistency check would prevent this mismatch. It ensures that related data fields maintain logical coherence within the form.

πŸ’‘Check Digit

A check digit is a digit added to an identification number or product code that helps validate the accuracy of the data. In the video, the check digit is described as a redundancy check for things like product codes or barcodes. An algorithm calculates this digit, and if it matches the expected value, the data is considered valid.

πŸ’‘Validation

Validation refers to the process of checking whether the data entered into a system meets specific criteria or rules. For instance, the video gives an example where a validation rule ensures that a person’s age must be greater than or equal to 18. However, it does not check if the input is sensible, such as entering 140 for an age.

πŸ’‘Verification

Verification is the process of ensuring that the entered data matches the original source. The video mentions two methods of verification: visual check and double entry. Verification checks the accuracy of data entry, unlike validation, which only ensures the data fits within set rules.

πŸ’‘Visual Check

A visual check is a verification method where a person manually compares data entered into a system with the original source. For example, in the video, if someone enters an employee’s name into a computer system, they visually check the name on the screen against the name on the original document.

πŸ’‘Double Entry

Double entry is another verification method where data is entered twice, either by the same person or two different people. The system compares the two inputs. If they match, the data is verified. In the video, an example is given where two people enter the same name, and the system ensures both entries are identical.

πŸ’‘Algorithm

An algorithm is a step-by-step procedure used to perform calculations or solve problems. In the video, algorithms are used to calculate the check digit for barcodes or product codes. The system performs a series of mathematical steps to validate that a product code is correct.

πŸ’‘Modulo Operation

The modulo operation refers to finding the remainder when one number is divided by another. In the video, a modulo operation is used in calculating the check digit for barcodes. The video explains how to calculate the remainder after dividing the sum of certain digits by ten to verify a barcode.

πŸ’‘Redundancy

Redundancy in the context of data refers to additional information that is not necessary for identification but is used for validation. In the video, the check digit is described as a redundant element because it does not serve to identify the product but ensures that the identification number is valid.

πŸ’‘Contradiction

A contradiction occurs when two pieces of data conflict with each other. The video explains that a consistency check helps prevent contradictions in a form, such as entering 'Mr.' as the title but 'F' for female as the gender. The system would not accept these inconsistent entries.

Highlights

Consistency check example: If you input Mr. as a title and F as gender, a consistency check will prevent this contradiction.

A consistency check ensures that actions like dispatching an item are only allowed after it has been packaged.

A check digit is a number added to the end of an identification number for validation purposes.

Example of check digit: For the number 20392, a calculation results in a check digit of 4, added to the end.

Check digit validation is used for 13-digit barcodes to ensure product code correctness.

To calculate a check digit for barcodes, specific steps like summing even- and odd-numbered digits, multiplying results, and using modulo 10 are involved.

If the check digit calculation does not match, the product code is invalid.

Verification ensures that data entered into a system matches the original source data.

Two verification methods are visual checking and double entry.

A visual check involves comparing data on screen with the original source to confirm its correctness.

Visual checks can still fail if the original source data is incorrect.

Double entry involves inputting data twice, and the system compares the entries for consistency.

If both entries match during double entry, the data is verified.

Even double entry can fail if both users make the same mistake, such as leaving the caps lock key on.

The lesson highlights how validation ensures data meets criteria but doesn't always ensure its accuracy.

Transcripts

play00:00

what is a consistency check give

play00:02

examples so consistency check on page

play00:06

date in one field of data in another

play00:07

field that already exists within a

play00:09

record to see where the birth are

play00:11

consistent with each other so if you

play00:14

think of a form for example that will

play00:18

work let's look at the gender in terms

play00:20

of filling out a form

play00:21

so when entering the gender of MOF a

play00:24

consistency check will prevent F from

play00:26

being entered if the title is m'allister

play00:29

so in a form you might have to fill in

play00:31

your title your name your surname so if

play00:34

you put mr. as your title and you go and

play00:38

put F for female as your gender that is

play00:42

conflicted and a contradiction so the

play00:45

system will prevent you from using F as

play00:48

your gender in that case so in order for

play00:52

the system to accept information you

play00:54

have to say mr. and M for gender when

play00:58

entering data by dispatching products it

play01:00

would not be possible to mark an item

play01:02

has been dispatched until after it has

play01:04

been packaged so that's also another

play01:07

example of a consistency check what is a

play01:11

check digit check give an example so

play01:14

check digit check is probably one of the

play01:17

more complicated ones so it involves

play01:20

some formula being used on the most

play01:23

common examples like a product key or in

play01:26

this case what they talking about here's

play01:28

an identification number so check there

play01:30

just is a number or letter that is added

play01:32

to the end of an identification of a

play01:34

being input it has a form of redundancy

play01:37

check because the check digit is

play01:39

redundant and not needed for the

play01:42

identification number but just used for

play01:44

validation so we've got some examples

play01:46

over here let's say you have an original

play01:49

identification number of 2 0 3 9 2 and

play01:53

there's gonna be some calculation or

play01:55

algorithm that is performed on 2 0 3 9 2

play01:59

so if 2 0 3 9 2 is a accepted

play02:05

identification number then it's going to

play02:08

from this algorithm or calculation by

play02:10

adding or subtracting or dividing or

play02:12

multiplying these numbers together

play02:13

it's some way it's gonna get a check

play02:16

digit of four so there's an example on

play02:18

the next slide on how this might

play02:20

specifically work so then the check

play02:23

digit is forces can be added on to the

play02:26

original identification number so the

play02:28

four is just gonna go on the end let's

play02:30

have a look on the next slide okay so

play02:34

give another example of a check digit so

play02:36

this is gonna be a probably little bit

play02:37

easier than examples on the previous

play02:39

slide so let's just get all these

play02:44

bullets up there we go okay so let's say

play02:47

you're working with some bar code some

play02:49

product code and the check digit W here

play02:52

is one okay so hopefully the steps

play02:55

described here give you a check digit of

play02:58

one because that is what this image is

play03:00

showing so the unique product code EPC

play03:03

check that it is used with 13 digit bar

play03:05

codes it is the law such as shown on a

play03:07

bar code the algorithm for cockily in

play03:10

the check digit is so to get this one at

play03:13

the end what you got to do is follow

play03:15

these steps and you should get one if

play03:18

you don't get a one off the following

play03:20

these steps it just means that this bar

play03:22

code or product code is invalid it's not

play03:26

correct so you can even test this on a

play03:29

calculator add all the digits in even

play03:32

numbered positions together multiply the

play03:36

result in one by three that all the

play03:40

digits in odd numbered positions

play03:42

together add results two and three

play03:45

together divided the result that you got

play03:48

a number for above by ten so step six

play03:51

calculate the remainder modular tin of

play03:54

the result five above so in other words

play03:56

when you divide the number in four by

play03:58

ten what is the remainder that you get

play04:00

is what's modulo ten is referring to and

play04:02

it subtract six that value from ten and

play04:08

that should give you one if this product

play04:12

code is valid so this is an example of a

play04:16

check digit check what is

play04:20

verification what are the two methods of

play04:22

verification the verification is the

play04:25

process of checking that the data

play04:26

entered into the computer system matches

play04:29

the original source visual check in a

play04:32

double entry our methods of verification

play04:34

so validation was just making sure that

play04:37

the data that you typed in made a

play04:39

specific like criteria so for example

play04:42

let's say the age 1 you got to make sure

play04:45

that the age of the person was grading

play04:46

equal to 18 it's just making sure that

play04:48

you put in some number which is greater

play04:50

equal to 18 but the problem with

play04:52

validation it doesn't actually check

play04:53

that that information is sensible so for

play04:57

example someone might type in 140 for

play05:01

the age but they've made a mistake when

play05:03

entering it but validation rule for that

play05:06

box might still accept it because that

play05:08

age is going to equal to 18 so

play05:11

verification comes in to make sure that

play05:13

the data that you enter is actually

play05:15

correct that it matches the original

play05:17

source that you are using so visual

play05:20

check in a double entry all the methods

play05:22

that we are going to discuss a

play05:24

verification so what is visual check e

play05:28

competitor verification can be for the

play05:31

user to visually check that the data

play05:33

entered matches the original source this

play05:36

can be done by reading the date of the

play05:37

spend on the screen and comparing it

play05:38

with their original data if the data

play05:41

matches then it has passed a

play05:43

verification process if it does not

play05:45

match then it has failed the

play05:46

verification process and needs to be

play05:48

reentered so that's simply like you take

play05:52

in the page you're entering information

play05:54

into a computer system so if you type in

play05:58

an employee's name for example or for

play06:00

page that you've been given into the

play06:01

computer once you've typed that

play06:03

information onto the computer the

play06:05

ploidies name you just look at the page

play06:08

you look at the screen and you just make

play06:10

sure that the information or an

play06:12

employee's name is the same so as what

play06:15

is meant by visual checking visual

play06:18

checking does not ensure that the data

play06:20

entered is correct if the original data

play06:23

is wrong then the verification process

play06:25

might may store pause for example if the

play06:29

intended date is ABCD but ABC is on the

play06:31

source document then ABC or the

play06:34

entered into the computer and verified

play06:35

but it should have been ABCD in the

play06:38

first place so their problem with visual

play06:40

checking is that if the original source

play06:43

that you are using to enter this

play06:45

information to the computer system is

play06:46

wrong then information that is read into

play06:49

the computer system will be wrong

play06:51

because that's information that the

play06:53

person has received to put into the

play06:56

computer system so last one is what is

play07:00

double entry so another method of

play07:03

verification is to input data into the

play07:05

computer system twice the two items of

play07:07

data are compared by the computer system

play07:09

and if they match then they are verified

play07:11

if there are any differences then one of

play07:14

the inputs must have been incorrect so

play07:17

you have two people entering information

play07:18

maybe for example so let's say if you in

play07:22

putting the person's first name and st.

play07:25

John into a computer system after one

play07:28

person types in John the other person

play07:30

types and John the computer then

play07:32

verifies that information by checking

play07:35

that they're the same and it's all the

play07:37

same minutes entered but let's say for

play07:40

example that the information is

play07:41

different if someone typed John another

play07:44

person typed Joh and let's say in off

play07:47

because it's not the same then then that

play07:51

information is incorrect and the

play07:53

computer system like put in put out an

play07:56

error to state that it is still possible

play08:00

to pass double entry verification and

play08:02

for the data to be incorrect if the data

play08:05

is entered incorrectly twice then the

play08:08

two values may match eg if the caps key

play08:10

is left on by the by mistake then both

play08:13

entries would match so that is double

play08:17

entry okay so that's the end of lesson I

play08:20

hope I was the right please let me know

play08:22

if you have any questions

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Data ValidationConsistency ChecksCheck DigitVerificationDouble EntryVisual CheckData AccuracyData EntryForm ValidationError Prevention