GATE / CS ARCHIVE

GATE CSE 1999 / QUESTION 1.20

Booth recoding of a negative integer

Computer Organization & Architecture · Data Representation & Arithmetic · Full GATE CSE 1999 paper

GATE 1999, Q1.20 1 mark · MCQ
Report issue

Data Representation & Arithmetic

Question 1.20, GATE 1999: Find the eight Booth signed digits for decimal −57, most significant first; option B is 0,−1,0,0,+1,0,0,−1.
Question 1.20, GATE 1999: Find the eight Booth signed digits for decimal −57, most significant first; option B is 0,−1,0,0,+1,0,0,−1.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

The eight-bit two’s-complement representation of −57 is 11000111, obtained from 57=00111001 by inversion and adding one. Append b[−1]=0 and use signed digit d[i]=b[i−1]−b[i]. From low to high the digits are −1,0,0,+1,0,0,−1,0. Reversing them gives 0,−1,0,0,+1,0,0,−1, option B. The weighted check is −26+23−20=−64+8−1=−57. The negative sign in the question is essential.

Original paper, page 2