Grade 8 - Week 10 Error Detection Methods
Grade 8 - Week 10 Error Detection Methods
Objectives
• Understand the need to check for errors in data transmission
• Explain how parity bits are used for error detection
• Identify and describe checksums for error detection
• Describe the use of Automatic Repeat reQuests (ARQ) to check for
correct data transmission
Error checking and correction
Unit 2 Communication and Internet technologies
Starter - Answer
Error checking and correction
Unit 2 Communication and Internet technologies
Transmission errors
• When data is transmitted, it doesn’t
always arrive in the same format that
it was sent
• Electrical interference
• Power surges
• Synchronisation issues
• Wear and tear on the cable or connectors
Error checking
• Computers need methods to check for data transmission errors caused
by interference
• These methods include the use of:
• Parity bits
• Check sums and
• Automatic Repeat reQuests (ARQ)
• Check digits
Error checking and correction
Unit 2 Communication and Internet technologies
Parity bits
• Computers use either odd or even parity
• When sending a byte of data, one bit is used as a parity bit
• This bit is set to a 1 or 0 to make the total number of 1s or 0s in the
byte (including the parity bit) odd or even depending on the machine
0 1 0 0 1 1 0 1
Parity bit
Error checking and correction
Unit 2 Communication and Internet technologies
Question
Odd or even parity
• What would the value of the parity bit be for the following, using even
parity?
1 0 0 1 0 1 0
Parity bit
0 1 0 1 1 0 1
Parity bit
Error checking and correction
Unit 2 Communication and Internet technologies
Task 1
Error checking and correction
Unit 2 Communication and Internet technologies
Task 1 - Answer
Error checking and correction
Unit 2 Communication and Internet technologies
Checksums
• A checksum works in a similar way to a check digit
• A total sum of all bytes in a transmission of data is calculated using an algorithm
• The sum is often sent with the data
• The receiving computer recalculates the checksum based on the data it received and
compares it with the checksum received or a known, expected value
• If it does not match, the data may have been altered or corrupted during
transmission and the data is resent
• Checksums are used with Credit Card numbers
Error checking and correction
Unit 2 Communication and Internet technologies
Task 2
Error checking and correction
Unit 2 Communication and Internet technologies
ARQ flowchart
START
No
No
Acknowledgement
received?
Yes
Transmission
complete
END
Error checking and correction
Unit 2 Communication and Internet technologies
Task 3
Error checking and correction
Unit 2 Communication and Internet technologies
Task 3 - Answer
Error checking and correction
Unit 2 Communication and Internet technologies
Task 4
Error checking and correction
Unit 2 Communication and Internet technologies
TASK 4 - Answer
Error checking and correction
Unit 2 Communication and Internet technologies
Plenary - Kahoot
• https://create.kahoot.it/share/data-transmission-and-error-checking-met
hod/fbda4817-f298-414f-a90f-e3303186d90e
Error checking and correction
Unit 2 Communication and Internet technologies
Success Criteria
• I can explain the need to check for errors in data transmission
• I can Explain how parity bits are used for error detection
• I can Identify and describe checksums for error detection
• I can describe the use of Automatic Repeat reQuests (ARQ) to check
for correct data transmission