1.2.5

Checksum & Echo Checks

Test yourself

Checksum & Echo Checks

Checksum and echo checks are error detection methods that identify corrupted data during transmission, so it can be resent accurately.

Illustrative background for Why errors occurIllustrative background for Why errors occur ?? "content

Why errors occur

  • Data transmission can be unreliable – errors can happen due to interference.
  • This can cause the data to be corrupted:
    • Data loss: Some bits of data go missing
    • Data gain: Extra, unwanted bits are added
    • Data change: Bits altered from a 0 to a 1, or vice versa
  • Error detection methods are used to find these corrupted data packets so they can be resent.
Illustrative background for ChecksumIllustrative background for Checksum ?? "content

Checksum

  • Checksum is an error detection method that works as a mathematical check.
    • The data is divided into blocks.
    • A calculation is performed on each block of data before being sent.
    • The result of this calculation is the checksum.
    • The checksum is added to the data block and both are sent to the receiver.
    • The same calculation is performed on the receiver's data block.
    • The new checksum is compared to the one sent by the sender.
Illustrative background for Outcome of checksumIllustrative background for Outcome of checksum ?? "content

Outcome of checksum

  • If the two checksum values match → the data is correct.
  • If the two do not match → an error has occurred.
    • The data packet will be requested to be resent.
  • Checksum is widely used in networks and internet data transfer.
Illustrative background for Echo checkIllustrative background for Echo check ?? "content

Echo check

  • Echo check is a method that works by sending data back to the original sender to be verified.
    • Data is transmitted from the sender to the receiver.
    • The receiver then returns ("echoes") the same data block back to the sender.
    • The sender compares the data it sent (original data) with the data it received back.
Illustrative background for Outcome of echo checkIllustrative background for Outcome of echo check ?? "content

Outcome of echo check

  • If the two data blocks are identical → the data was transmitted successfully.
  • If there is a mismatch in data → an error has occurred and the data is sent again.
  • Echo check is less efficient than a checksum but simple to use.

Jump to other topics

1Computer Systems

1.1Data Representation

1.2Data Transmission

1.3Hardware

1.4Software

1.5The Internet & its Uses

1.6Cyber Security

1.7Automated & Emerging Technologies

2Algorithms, Programming & Logic

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium