C7 Digital logic · Practice
Codes and parity
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 6 kinds solid
Check
Convert the binary number 0111 to Gray code.
Check
A Hamming code protects k = 11 data bits.
(a)
How many parity bits does it need?
(b)
What's its code rate, data bits over total bits?
Check
A code has minimum distance d = 3.
(a)
How many errors can it detect?
(b)
How many can it correct?
Check
The BCD digits 7 and 6 are added.
(a)
What's the 5-bit binary result after the correction, as a number?
(b)
What's the units digit?
Check
How many Hamming parity bits protect 16 data bits?
Check
BCD 6 + 3: corrected 5-bit result as a number?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in C7