The following two signed 2's complement numbers (multiplicand M and multiplier Q) are being 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 ______.
Solution :
The correct answer is 13.
Step-by-Step Explanation:
In Booth's multiplication algorithm, the total number of addition and subtraction operations is determined by scanning the multiplier, Q, from right to left (from the least significant bit to the most significant bit) and analyzing adjacent bit pairs. We also append an implicit 0 to the right of the least significant bit, which we denote as:
For each step from 0 to (where is the bit-width of the multiplier, which is 16 in this case), we examine the bit pair and decide on the operation according to the following rules:
1. If the pair is 01, we perform an addition operation.
2. If the pair is 10, we perform a subtraction operation.
3. If the pair is 00 or 11, no arithmetic operation is performed (only shifting occurs).
Given the multiplier Q = 1010 0100 1010 1010, the bits are index-mapped as follows:
Now, let us examine the pairs sequentially and track the count of arithmetic operations:
- For : pair ⇒ No operation.
- For : pair ⇒ Subtraction (Operation 1)
- For : pair ⇒ Addition (Operation 2)
- For : pair ⇒ Subtraction (Operation 3)
- For : pair ⇒ Addition (Operation 4)
- For : pair ⇒ Subtraction (Operation 5)
- For : pair ⇒ Addition (Operation 6)
- For : pair ⇒ Subtraction (Operation 7)
- For : pair ⇒ Addition (Operation 8)
- For : pair ⇒ No operation.
- For : pair ⇒ Subtraction (Operation 9)
- For : pair ⇒ Addition (Operation 10)
- For : pair ⇒ No operation.
- For : pair ⇒ Subtraction (Operation 11)
- For : pair ⇒ Addition (Operation 12)
- For : pair ⇒ Subtraction (Operation 13)
Summing up all the arithmetic operations, we perform 6 addition operations and 7 subtraction operations, yielding a total of 13 operations.
Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.
Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.
Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.
Prepare effectively for GATE 2026 Computer Science & Information Technology (CS & IT) with this comprehensive Question Paper with Solutions. This resource includes detailed explanations, concept-wise solutions, previous year paper analysis, and exam-oriented practice to help aspirants strengthen core subjects like Data Structures, Algorithms, Operating Systems, DBMS, Computer Networks, Theory of Computation, Compiler Design, and more. Perfect for revision, self-assessment, and boosting your GATE 2026 preparation strategy.
Prepare for GATE 2026 Electrical Engineering (EE) with high-quality study material, previous year question papers, mock tests, syllabus updates, exam pattern, and expert preparation strategies. Master core EE subjects including Power Systems, Control Systems, Electrical Machines, Circuit Theory, Signals & Systems, Power Electronics, and Measurements to secure a top rank in GATE 2026.
Copyright © 2026 Combe Labs Private Limited. All Rights Reserved.