L13 - Data Communication, Error Detection, CRC Flashcards

1
Q

What is meant by the ‘curse of the inverse-square law’?

A

When transmitting to a system, if the power received by the system is low, noise becomes a severe problem for the communication.

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

What is mean by Error Detection?

A

Detecting the error bits within the data being transmitted.

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

What is Error Correction Coding?

A

Adding redundancy to data being transmitted in order to safeguard against noise and improve communication reliability.

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

Define noise

A

Data communication interference caused by bit flipping in the raw information.

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

What are the 2 types of algorithms that deal with noise interference?

A

Error Detection : Detects the data packet cause the error during communication.

Error Correction : Corrects detected error.

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

What are the 2 main methods of error correction?

A
  1. Reverse error correction
  2. Forward error correction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Explain Reverse Error Correction…

A
  1. The message receiver identifies the error in the data.
  2. Receiver informs sender, who re-transmits the information until receiver confirms its error free.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When is Reverse Error Correction not suitable?

A

For real-time communication.

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

When communicating to a system, what is the the power proportional to?

A

1 / (distance^2)

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

What does compression do?

A

Removes redundancy from raw data, reducing chance of interference.

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

What are the 2 methods of detection bit errors?

A

Parity check
Cyclic redundancy check

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

What is the Parity Check? Explain how it works…

A
  1. An error detection method
    1. Adds an extra 1 bit to the data being sent and sends the data.
    2. Upon receiving, the receiver operates XOR on the data to establish the data’s parity bit.
    3. If parity bit is same as it was when sent, the data is error free.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the difference between Odd and Even Parity Checks?

A
  1. Odd -> Adds 1 to ensure an off number of 1’s
    1. Even -> Adds 1 to ensure an even number of 1’s
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is an issue with Parity Check error detection? What is the solution to this?

A
  1. Only detects errors if 1 bit has been flipped. If 2, then the number of 1’s will be even, thus the parity will be the same. Thus, the error won’t be detected.
    1. Cyclic Redundancy Check is a solution to this.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How many bits does the encoder/decoder have for CRC-4, CRC-8, CRC-16 functions?

A

4 bits, 8 bits, 16 bits.

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

What operation is performed on bits in a CRC function?

A

XOR

15
Q

What are the 4 steps of CRC Generation at the sender side?

A
  1. Find length L of the divisor.
    1. Append L-1 bits to the original message.
    2. Perform binary division operation.
    3. Remainder of the division is the CRC ( must be L-1 bits )
16
Q

What are the steps for the receiver to take during CRC?

A

Upon receiving data with the sender CRC check appended to it, use the divisor to perform XOR on the data.

17
Q

How does the receiver know that there are no errors in the CRC transmitted data?

A

When the result of XOR on the transmitted data is all 0’s bits.

18
Q

How does CRC work?

A
  1. Establish the sender CRC bit code
    1. Append the sender CRC code to the data to be transmitted.
    2. Send message
    3. Receiver performs XOR on transmitted data
19
Q

How can we represent the encoder / decoder of the CRC in polynomial form? Write 1101 in polynomial form…

A
  1. Can be written such that the bit is the coefficient of each variable.
  2. 1101 = 1X^3 + 1X^2 + 0X^1 + 1X^0 = X^3 + X^2 + X^0
20
Q

What is the advantage of writing the encoder/decoder in polynomial form?

A

Polynomial division and multiplication enables efficient encoding and decoding.