Error Control and Data Compression Flashcards

(16 cards)

1
Q

What is the purpose of error control in data communication?

A

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.

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

What are the two main types of error control techniques?

A
  1. Forward Error Correction (FEC)
  2. Feedback Error Control (ARQ)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Forward Error Correction (FEC)?

A

FEC adds redundant data (error-correcting codes) to messages before transmission so the receiver can detect and correct errors without needing retransmission.

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

What is Feedback Error Control?

A

Feedback Error Control relies on the receiver to detect errors and request retransmission from the sender using acknowledgment (ACK) and negative acknowledgment (NAK) signals.

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

What is a parity bit and how does it work?

A

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.

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

What are linear block codes used for?

A

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.

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

What is Cyclic Redundancy Check (CRC)?

A

CRC uses polynomial division to generate a checksum. The receiver recalculates the checksum and compares it to the received value to detect errors.

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

What is ARQ (Automatic Repeat Request)?

A

ARQ is a feedback error control method where the receiver sends a NAK for corrupted data, prompting the sender to retransmit the data.

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

What is HDLC in the context of error control?

A

HDLC (High-Level Data Link Control) is a protocol that uses error detection with sequence numbering and flow control to ensure reliable data transfer.

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

What is data compression and why is it used?

A

Data compression reduces the size of data to save bandwidth and storage space, improving transmission speed and efficiency.

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

What is Huffman coding?

A

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.

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

What are the steps involved in Huffman coding?

A
  1. Calculate frequency of characters
  2. Build a priority queue
  3. Construct a Huffman tree
  4. Generate binary codes
  5. Encode and compress the data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is dynamic Huffman coding?

A

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.

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

In what scenarios is error control more important than compression?

A

Error control is critical in noisy or unreliable environments like satellite or wireless communication where accurate delivery is more important than speed.

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

In what scenarios is data compression more important than error control?

A

Compression is prioritized in bandwidth-limited situations like file storage, mobile data transfer, and streaming where speed and size efficiency matter most.

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

Can error control and data compression be used together?

A

Yes, compressed data can be protected using error control methods to ensure both efficient and reliable communication.