Question Details

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 ______.

Show Answer
Correct Answer
13

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:

q-1=0

For each step i from 0 to n-1 (where n is the bit-width of the multiplier, which is 16 in this case), we examine the bit pair (qi,qi-1) 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:

q15=1

q14=0

q13=1

q12=0

q11=0

q10=1

q9=0

q8=0

q7=1

q6=0

q5=1

q4=0

q3=1

q2=0

q1=1

q0=0

q-1=0

Now, let us examine the pairs sequentially and track the count of arithmetic operations:

- For i=0: pair (q0,q-1)=(0,0) ⇒ No operation.
- For i=1: pair (q1,q0)=(1,0) ⇒ Subtraction (Operation 1)
- For i=2: pair (q2,q1)=(0,1) ⇒ Addition (Operation 2)
- For i=3: pair (q3,q2)=(1,0) ⇒ Subtraction (Operation 3)
- For i=4: pair (q4,q3)=(0,1) ⇒ Addition (Operation 4)
- For i=5: pair (q5,q4)=(1,0) ⇒ Subtraction (Operation 5)
- For i=6: pair (q6,q5)=(0,1) ⇒ Addition (Operation 6)
- For i=7: pair (q7,q6)=(1,0) ⇒ Subtraction (Operation 7)
- For i=8: pair (q8,q7)=(0,1) ⇒ Addition (Operation 8)
- For i=9: pair (q9,q8)=(0,0) ⇒ No operation.
- For i=10: pair (q10,q9)=(1,0) ⇒ Subtraction (Operation 9)
- For i=11: pair (q11,q10)=(0,1) ⇒ Addition (Operation 10)
- For i=12: pair (q12,q11)=(0,0) ⇒ No operation.
- For i=13: pair (q13,q12)=(1,0) ⇒ Subtraction (Operation 11)
- For i=14: pair (q14,q13)=(0,1) ⇒ Addition (Operation 12)
- For i=15: pair (q15,q14)=(1,0) ⇒ Subtraction (Operation 13)

Summing up all the arithmetic operations, we perform 6 addition operations and 7 subtraction operations, yielding a total of 13 operations.

Transparent Access on Mindyard

Built for Learners & Educators Alike

Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.

FREE FOR STUDENTS

Practice & Learn Free for Students

Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.

  • Unlimited mock tests & question bank practice
  • Full access to curated study library & formula notes
  • 100% free for students • No credit card required
2 MONTHS FREE TRIAL

Educators & Coaching Institutes

Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.

  • AI question uploader & rapid test generator
  • Anti-cheating tab proctoring & performance reports
  • Full Pro access free for 60 days • No upfront commitment
Discover more resources

You may also like

Mock Tests

View All
  • GATE
  • beginner
  • 3 hours
  • computer science and information technology

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.

  • GATE
  • intermediate
  • 3 hours
  • computer science and information technology

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.

Ask AI Tutor
5 left
Q1 View Question & Options
AI Tutor is solving this question...
Reading question context & options...
Ask your own doubt or choose a quick prompt: