Skip to main content

GATE CSE 2025Digital Logic › Combinational CircuitsVerified

GATE CSE 2025 PYQ: The following two signed 2 2 2 's complement numbers (multiplicand M and multiplier Q) are being multiplied…

The following two signed 2 's complement numbers (multiplicand M and multiplier Q) are being multiplied using Booth's algorithm:

M: 1100110111101101 and Q: 1010010010101010

The total number of addition and subtraction operations to be performed is_____________. (Answer in integer)

    Answer

    13

    Approach

    Booth's algorithm recodes the multiplier Q by examining each adjacent bit pair $(q_i, q_{i-1})$ starting with an appended $q_{-1}=0$. Each 0-to-1 transition requires one addition of the multiplicand, each 1-to-0 transition requires one subtraction, and 00/11 pairs require no arithmetic operation. Thus the total number of add/subtract operations equals the number of non-zero Booth-recoded digits.

    The multiplier Q determines the number of arithmetic operations in Booth's algorithm. Its Booth recoding has 13 non-zero digits, hence 13 addition/subtraction operations are needed. The multiplicand M only supplies the value being added/subtracted and does not affect the count.

    Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.