GATE Computer ScienceModerateGATE CSE · UGC NET
How many check bits does a SEC-DED (single-error-correcting, double-error-detecting) extended Hamming code need for 32 data bits?
- A. 6
- B. 7
- C. 8
- D. 5
Correct answer: B. 7
A plain SEC code needs the smallest r with 2^r ≥ 32 + r + 1, which is r = 6; the extra overall parity bit for double-error detection makes 7.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A direct-mapped cache has 8 one-word lines (line = address mod 8) and starts empty. The word addresses 0, 1, 2, 3, 0, 8, 1, 9, 0, 8, 2…
- A 2-way set-associative cache with 4 sets (set = address mod 4), LRU replacement and one word per line starts empty. The word addresses 0…
- A classic 5-stage pipeline (IF, ID, EX, MEM, WB) has no forwarding; the register file writes in the first half of a cycle and reads in the…
- What decimal value does the single-precision IEEE 754 pattern 0xC1A40000 represent?
- Virtual memory uses a two-level page table. A TLB lookup takes 10 ns with a 90% hit rate, and every main-memory access takes 100 ns. On a…
- An 8-bit instruction format has 3-bit address fields and expanding opcodes. There are 3 two-address instructions and 8 zero-address…