Describe how parity checks work
Detects errors in data transmission.
Parity (odd/even) agreed by sender and receiver.
Data split into 7-bit bytes + 1 parity bit.
Sender adds parity bit to make total 1s even/odd.
Receiver checks parity; a mismatch shows an error.
In block check, the error located at row-column intersection.
Question: Describe a situation in which a parity check cannot detect corruption of a byte OR
Describe a situation in which an error during a parity check goes undetected.
How does a checksum work?
A calculation is done on the data before transmission to produce a checksum value.
The checksum is sent along with the data.
The receiver recalculates the checksum using the same algorithm.
If both checksum values match, the data is correct.
If the values differ, an error is detected and retransmission is requested.
How does Echo check work?
When data is sent, a copy is returned to the sender.
The sender compares the returned data with the original.
If both are the same, transmission was successful.
If they differ, an error occurred during transmission.
Not very reliable, as the error could occur either when sending or when returning the data.
What’s the process of the check digit?
It is an additional digit that is calculated from the data.
It is then added to the data.
The digit is recalculated when data is entered.
Both digits are compared to check for errors.
If the digits are different, an error is detected.
If digits match, no error is detected.
There are a number of different methods used to generate a check digit. Two common methods will be considered here:
How does ARQ work?
Uses acknowledgment and timeout.
Sender starts a timer when data is sent.
Receiver checks data using an error detection method.
If no error, a positive acknowledgment is sent.
If error found, a negative acknowledgment is sent, and data is resent.
If no acknowledgment is received in time, sender resends data.
Process repeats until data is received correctly or retry limit is reached.