Decoding Flashcards

1
Q

How do you decode the Hamming code?

A

Ensure there is parity (even number of 1s) in each circle of the Venn diagram; if there is not, flip one bit

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

Where should bits 1 to 7 go in the circles in the Hamming code? (Eg 0110100011️⃣2️⃣3️⃣4️⃣5️⃣6️⃣7️⃣01101)

A

5️⃣
1️⃣ 2️⃣
3️⃣
7️⃣ 4️⃣ 6️⃣

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

What do N and K represent for a block code?

A

In a block code, like the Hamming code, N represents the number of bits involved in a code word, and K represents the number of source bits whose information is passed on in the source code.

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

What is the rate of a block code?

A

K/N
4/7 for Hamming code
1/N for repetition code

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

What did Shannon show regarding codes (in 1948)?

A

Shannon showed that block codes can be made with rate K/N about 0.53 which have a very very low chance of error - however, they use very large N values.

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