GATE CS 2025 Set 2 | Question 32

Computer Organization & Architecture › Machine Instructions · NAT · 1 mark · Answer: 13

  1. Question 32Computer Organization & Architecturenat1 mark
    Two signed 2's complement numbers (multiplicand M and multiplier Q) are multiplied using Booth's algorithm: M: 1100 1101 1110 1101 and Q: 1010 0100 1010 1010 The total number of addition and subtraction operations to be performed is ___________. (Answer in integer)

    Answer: 13

    Solution

    Answer: 13 Booth's algorithm examines each pair (with ): add, subtract, no operation. So the number of add/subtract operations equals the number of or transitions in (reading with the appended ). For , counting the bit-boundary transitions (including the implicit trailing 0) gives 13 transitions, hence 13 add/subtract operations.

More GATE PYQ on Machine Instructions

All GATE CS Computer Organization & Architecture PYQ →

Attempt GATE CS 2025 Set 2 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →