Ch. 1 — Data Representation
1.1 Number Systems 1.2 Text, Sound & Images 1.3 Data Storage & Compression
Ch. 2 — Data Transmission
2.1 Data Transmission 2.2 Error Checking 2.3 Encryption
Ch. 3 — Hardware
3.1 Computer Architecture 3.2 Input & Output Devices 3.3 Data Storage 3.4 Network Hardware
Ch. 4 — Software
4.1 Types of Software & Interrupts 4.2 Programming Languages & IDE
Ch. 5 — The Internet
5.1 Internet & World Wide Web 5.2 Digital Currency 5.3 Cyber Security
Ch. 6 — Emerging Tech
6.1 Automated Systems 6.2 Robotics 6.3 Artificial Intelligence
// All Chapters
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Home/ Paper 1/ 2.2 Error Checking Methods
2.2

2.2 Error Checking Methods

Errors can occur during data transmission due to interference e.g. 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

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

  • Cannot detect transposition errors
  • Cannot detect if bits have flipped

Parity Block

  • Instead of sending 1 byte of data at a time an entire block is sent. This means that the 1 bits are checked both horizontally and vertically.
  • Using parity blocks not only identifies that an error has occurred but where the error occurred

Checksum

  • A value is calculated from the data // Valid description of calculation
  • It is transmitted with the data
  • Value is recalculated after transmission
  • Values are compared after transmission to check for error

Check Digit

  • A digit that is calculated from the data // uses modulo to calculate digit // valid description of modulo
  • It is appended/added to the data
  • Digit is recalculated when data is entered
  • Digits are compared to check for error
  • (Used to identify books — ISBN Number)

Automatic Repeat Request

  • Timer is started when sending device transmits a data packet to receiver
  • Receiving device checks the data packet for errors
  • Once the receiving device knows the packet is error free it sends a positive acknowledgement back to the sending device
  • …and the next packet is sent
  • If the sending device does not receive an acknowledgement before the timer ends
  • …a timeout occurs
  • …the data packet is resent
  • until acknowledgement received

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 has occurred