Error Control and Data Compression Flashcards
(16 cards)
What is the purpose of error control in data communication?
Error control ensures that data sent over a network is received accurately and intact. It detects and, in some cases, corrects errors caused by noise or interference during transmission.
What are the two main types of error control techniques?
- Forward Error Correction (FEC)
- Feedback Error Control (ARQ)
What is Forward Error Correction (FEC)?
FEC adds redundant data (error-correcting codes) to messages before transmission so the receiver can detect and correct errors without needing retransmission.
What is Feedback Error Control?
Feedback Error Control relies on the receiver to detect errors and request retransmission from the sender using acknowledgment (ACK) and negative acknowledgment (NAK) signals.
What is a parity bit and how does it work?
A parity bit is an extra bit added to data to ensure that the total number of 1s is even (even parity) or odd (odd parity). It can detect single-bit errors but not correct them.
What are linear block codes used for?
Linear block codes use mathematical formulas to generate check bits that help detect and correct multiple-bit errors. Examples include Hamming and Reed-Solomon codes.
What is Cyclic Redundancy Check (CRC)?
CRC uses polynomial division to generate a checksum. The receiver recalculates the checksum and compares it to the received value to detect errors.
What is ARQ (Automatic Repeat Request)?
ARQ is a feedback error control method where the receiver sends a NAK for corrupted data, prompting the sender to retransmit the data.
What is HDLC in the context of error control?
HDLC (High-Level Data Link Control) is a protocol that uses error detection with sequence numbering and flow control to ensure reliable data transfer.
What is data compression and why is it used?
Data compression reduces the size of data to save bandwidth and storage space, improving transmission speed and efficiency.
What is Huffman coding?
Huffman coding is a lossless compression technique that assigns shorter codes to frequently occurring symbols and longer codes to rare ones to reduce average data size.
What are the steps involved in Huffman coding?
- Calculate frequency of characters
- Build a priority queue
- Construct a Huffman tree
- Generate binary codes
- Encode and compress the data
What is dynamic Huffman coding?
Dynamic Huffman coding builds the Huffman tree during the encoding process, adapting to data patterns on the fly. It’s better for unknown or changing data sets.
In what scenarios is error control more important than compression?
Error control is critical in noisy or unreliable environments like satellite or wireless communication where accurate delivery is more important than speed.
In what scenarios is data compression more important than error control?
Compression is prioritized in bandwidth-limited situations like file storage, mobile data transfer, and streaming where speed and size efficiency matter most.
Can error control and data compression be used together?
Yes, compressed data can be protected using error control methods to ensure both efficient and reliable communication.