GATE Computer ScienceHardGATE CSE
A 7-bit even-parity Hamming codeword (bit positions 1 to 7, parity bits at positions 1, 2 and 4) is received as 1010110 (position 1 first). Which bit position, if any, is in error?
- A. Position 2
- B. Position 1
- C. Position 4
- D. No error
Correct answer: B. Position 1
XORing the positions of the 1 bits gives the syndrome 1, which is the position of the erroneous bit.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- In a pipeline with ideal CPI 1, 25% of instructions are loads and 40% of these are immediately followed by a dependent instruction (1…
- A fully associative cache with FIFO replacement sees the block references 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5. How many misses occur with 3…
- A virtually indexed cache is 64 KB, 4-way set-associative with 32-byte blocks, and pages are 4 KB. How many distinct page colours (values…
- In IEEE 754 single precision with round-to-nearest-even, the value 0.1 (itself rounded to single precision) is added to an accumulator…
- A 16 × 16 unsigned multiplier generates 16 partial products, which are reduced to two rows by a Wallace tree of 3:2 carry-save adders…
- A DMA controller moves a 4 KB block over a 64-bit bus clocked at 100 MHz. Each burst needs 10 cycles of arbitration and then transfers 64…