2.2 Error checking

Errors can occur during data transmission due to interference eg. Data loss, data gain and data change

When and why do errors occur?

  • Errors can occur during data transmission due to interference eg. Data loss, data gain and data change
  • Problems during packet switching (can lead to data loss or even data gain)
  • Skewing of data (can occur during parallel transmission, causing data to arrive out of synchronisation)

Explain how data might have errors after transmission

  • Data could be lost
  • Data could  be gained
  • Data could be changed
  • Bits could be reassembled in the wrong order
  • Interference could occur
  • Crosstalk could occur
  • Data collisions could occur
  • Data packets could time out/reach their hop count
  • Network could be infected with malware

Types of error checking methods:

Parity check

Scenario with odd parity:

  • The number of 1s are counted
  • A parity bit is added to each byte before transmission
  • …to make the sum of the bits in each byte odd
  • After transmission if the number is odd no error is detected
  • After transmission if the number is even an error is detected

Problem with Parity check

Parity Block

Checksum

Check digit

Automatic Repeat Request

Echo Check

  • When data is sent to another device, this data is sent back again to the sender
  • The sender compares the two sets to check if any errors occurred
  • if the original data and copy do not match an error is occured