GATE Computer ScienceVery hardGATE CS (PYQ pattern)
Radix-4 Booth recoding of the 8-bit two's-complement multiplier 01101110 (value 110) produces four digits in {−2, −1, 0, +1, +2}. Which list (least significant digit first) is correct?
- A. [-2, 0, 1, 2]
- B. [2, -2, 0, 1]
- C. [-2, 0, -1, 2]
- D. [-1, 0, -1, 2]
Correct answer: C. [-2, 0, -1, 2]
Triples (b₁ b₀ b₋₁) = 100 → −2; (b₃ b₂ b₁) = 111 → 0; (b₅ b₄ b₃) = 101 → −1; (b₇ b₆ b₅) = 011 → +2. Check: −2 + 0 − 16 + 128 = 110.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- Three interrupt handlers have no overhead: A (priority 1, arrives at 0 µs, runs 10 µs), B (priority 3, arrives at 4 µs, runs 5 µs) and C…
- A cache access takes 2 ns on a hit; a miss takes 22 ns in total (hierarchical model). The average access time is 5 ns. What is the miss…
- In an n-bit two's-complement adder, which pair (carry into the MSB, carry out of the MSB) signals signed overflow?
- The logic of a processor takes 48 ns per instruction unpipelined. Pipelining into k stages gives a cycle time of 48/k + 3 ns (latch…
- A branch target buffer (BTB) lets the fetch unit predict taken branches with no bubble when it hits and predicts correctly. Branches are…
- A stack grows downwards in 4-byte units and SP = 0x8000 initially. The instructions PUSH, PUSH, CALL (pushes a 4-byte return address)…