GATE Computer ScienceHardGATE CS (PYQ pattern)
A radix-4 (modified Booth) multiplier recodes a 16-bit multiplier 0000111100001111 into 8 digits from {−2, −1, 0, +1, +2}. How many of the 8 partial products are non-zero?
- A. 8
- B. 6
- C. 2
- D. 4
Correct answer: D. 4
Digits (from the least significant) are −1, 0, +1, 0, −1, 0, +1, 0: each run of 1s collapses to one −1 at its start and one +1 after its end. Four are non-zero.
More Digital Logic questions
- Every unsigned 33-digit decimal number (0 to 10³³ − 1) must be stored. What is the minimum number of bits with (i) BCD, (ii) densely…
- The 8-bit pattern 10000000 is read as (i) sign-magnitude, (ii) one's complement, (iii) two's complement and (iv) excess-128 (biased)…
- How many of the numbers 0.05, 0.25, 0.3125, 0.6, 0.71875 and 0.9375 can be stored exactly in an unsigned fixed-point format with 4…
- f(a,b,c) is a threshold function if f = 1 exactly when w1·a + w2·b + w3·c ≥ t for some real weights and threshold (negative weights…
- A Boolean function is affine if it equals c ⊕ (XOR of some subset of its variables) for a constant c, and self-dual if f(x̄) = f(x)'…
- A Boolean function f is self-dual if f(x̄) = f(x)' for every input x. How many self-dual functions of three variables A, B, C depend…