methods of error detection 2.2 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

How do errors occur?

A

Data loss - data is lost in transmission
Data gain - additional data is received
Data change - some bits have been changed or flipped

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Error Detection Methods =5

A
  • Parity check
  • Checksums
  • Echo check
  • Check Digits
  • Automatic Repeat Request (ARQ)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

how parity bits are used to detect errors

A
  1. the parity type is agreed between sender and reciever
  2. sender calculates the number of 1’s to decide which parity to use
  3. parity byte and data will be sent to the receiver
  4. receiver will calculate the number of 1’s
  5. if the number of 1 bit dont match the parity, an error has occured
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is the issue with parity check

A

Parity checks only check that an error has occurred, they do not reveal where the error(s) occurred, so cant identify if two bits have transposed (swaped)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

how checksum detects error

A
  1. a value is calculated from the data using an agreed algorithm
  2. The checksum value is transmitted with the data
  3. The receiver re-calculates the checksum value using the received data
  4. The re-calculated checksum is compared to the transmitted checksum
  5. If they are the same then there is no error otherwise an error has occurred
  6. and an requet to resend the data will be made
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

how does Echo check work?

A

Echo checks involve transmitting the received data back to the sender. The sender then checks the data to see if any errors occurred during transmission
the sender resent the data if an error has occurred

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

issue with echo check

A

This method isn’t reliable as an error could have occurred when the sender transmits the data or when the receiver transmits the data. Neither will know when the error occurred.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

how is check digit used

A
  1. A digit that is calculated from the data for example barcode number of ISBN number
  2. It is added to the data
  3. Digit is recalculated when data is entered
  4. Digits are compared to check for error if they match the data entered is correct if not it is wrong
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

how does Automatic Repeat Request (ARQ) work

A
  1. timer is started when sending device transmits a data packet to the receiver
    Check performed on receiving data
  2. If no error is detected the receiver sends a positive acknowledgement
  3. If an error is detected the receiver sends a negative acknowledgement
  4. if sender receives no acknowledgement transmission then the sender waits untill timer ends ans a time-out occurs then the data is resent
  5. This process is repeated until all data has been received and acknowledged
How well did you know this?
1
Not at all
2
3
4
5
Perfectly