GATE Computer ScienceHardGATE CSE
A SECDED (single-error-correct, double-error-detect) extended Hamming code protects 256 data bits. What is the total number of bits stored (data + all check bits)?
- A. 266
- B. 265
- C. 267
- D. 269
Correct answer: A. 266
Need smallest r with 2^r ≥ 256 + r + 1, giving r = 9; one extra overall parity bit gives 10 check bits, total 266.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A virtually indexed, physically tagged 256 KB cache is 8-way set associative with 64-byte lines. The page size is 4 KB. Into how many page…
- A program spends 40% of its time in floating-point operations, 30% in memory operations and 30% elsewhere. FP operations are made 5 times…
- A direct-mapped cache has 8 lines and block-number mapping line = block mod 8. The following block numbers are accessed in order: 0, 1, 0…
- A 2-way set-associative cache with 4 sets uses LRU replacement and set = block mod 4. Blocks accessed in order: 1, 5, 9, 2, 6, 1, 5, 3, 7…
- A fully associative cache with FIFO replacement serves the block reference string 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5. How many misses…
- A 16-bit instruction format uses 4-bit address fields and the expanding-opcode technique. There are 13 three-address instructions, 40…