Unit 2.2 - Error Detection Flashcards
parity check
uses and even or odd parity (adding a parity bit to make sure the protocol (odd or even) is followed
parity bit
bit added to a byte of data to ensure that the byte follows the correct even/odd parity protocol
parity block
horizontal and vertical parity check on a block of data being transmitted
parity byte
byte of data sent at end of parity block (made of parity bits generated from vertical parity check of data block)
check sum
1) an algorithm is agreed on
2) the check sum is calculated from the block of data being sent
3) checksum value is sent with data block
4) receiver recalculates checksum
5) If it matches, no errors have occured, if error has occured, ask for re-send
ARQ (automatic repeat request
1) receiver also gets an error detection code with data
2) If no error, positive acknowledgement is sent, if error, negative acknowledgement is sent, requesting a re-send
3) if no acknowledgement has been received after a certain period of time, it is a time out so the data is re-sent until a positive acknowledgement is received
echo check
data is sent to a receiver and then immediately sent back to the sender. sender then checks if the received data matches the sent data
–> No difference = no error
–> difference = error while sending or receiving
check digit
additional digit added to a number to check if the entered number is error free
why do errors occur?
-interference (data loss/gain)
-packet switching problems (data loss/gain)
-skewing of data
2 examples of check digits
-ISBN
-Barcodes
what type of errors occur due to mis-typing
-incorrect digit entered
-transposition errors (2 numbers changed orders)
-omitted or extra digits (forgot or added more)
-phonetic errors (13, not 30)
CRC (cyclic redundancy checks)
1) sender adds up all the 1 bits in payload and stores it as a hex value in trailer before it’s sent
2) receiver recalculates number of 1 bits and checks the value against the one in the trailer
3) if two values match, no errors. if they don’t match, packet needs to be resent