The representation of the 4-bit code 1101 as a 7-bit even-parity Hamming code is
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. 1010101
Explanation
Positions 1 2 3 4 5 6 7 = P1 P2 D1 P4 D2 D3 D4 with data 1, 1, 0, 1 in positions 3, 5, 6, 7. P1 (1, 3, 5, 7): 1+1+1 is odd → P1 = 1. P2 (2, 3, 6, 7): 1+0+1 → P2 = 0. P4 (4, 5, 6, 7): 1+0+1 → P4 = 0. Code: 1010101.More Computer System Architecture questions
- The number of gate inputs required to realise the expression ABC + AB′CD + EF′ + AD is
- Consider a logic circuit with 8 input lines (D0, D1, …, D7) and 3 output lines (A0, A1, A2) specified by: A2 = D4 + D5 + D6 + D7 A1 = D2 +…
- The total storage capacity of a floppy disk having 80 tracks and storing 128 bytes/sector is 163,840 bytes. How many sectors does this disk…
- In a cache memory, if the address has 9 bits in the tag field and 12 bits in the index field, the sizes of main memory and cache memory wou…
- A 4-stage pipeline has stage delays of 150, 120, 160 and 140 ns. Registers between the stages have a delay of 5 ns. Assuming a constant clo…
- Match List I with List II. Choose the correct answer from the options given below:List I List II A. Stack overflow I. Software interrupt B.…