GATE / CS ARCHIVE

GATE CSE 1991 / QUESTION 1(v)

Second bit of a binary product

Digital Logic · Number Systems & Computer Arithmetic · Full GATE CSE 1991 paper

GATE 1991, Q1(v) 2 marks · Other
Report issue

Number Systems & Computer Arithmetic

Question 1(v), GATE 1991: A=a3a2a1a0 and B=b3b2b1b0 are unsigned four-bit numbers. Express product bit c1.
Question 1(v), GATE 1991: A=a3a2a1a0 and B=b3b2b1b0 are unsigned four-bit numbers. Express product bit c1.
Tap to enlarge
Answer & solution

Answer: c1=(a1b0) XOR (a0b1) (no official key was published)

The column of weight 1 contains only a0b0, so it produces c0 and no carry into the weight-2 column. That next column contains a1b0 and a0b1. Adding two bits gives their XOR as the low result bit and their AND as carry to weight 4. Hence c1 is the XOR of the two partial products. Higher input bits cannot contribute to this column because their positional weights are at least four. Ordinary OR would be wrong when both partial products are one.

Original paper, page 1