Skip to content
Official PYQ · 1996

GATE CS 1996 Q2.21 — Combinational Circuits

Explain with AI

Consider the circuit in below figure which has a four bit binary number b3b2b1b0b_3b_2b_1b_0 as input and a five bit binary number, d4d3d2d1d0d_4d_3d_2d_1d_0 as output.

Choose one option
View worked solution

Answer: D

To identify the function of the circuit, let us analyze the relation between the 4-bit binary input b3b2b1b0b_3b_2b_1b_0 (values 00 to 1515) and the 5-bit output d4d3d2d1d0d_4d_3d_2d_1d_0:

  • For a radix-12 (base-12) representation, any value N∈[0,15]N \in [0, 15] is represented as: N=12×d4+(d3d2d1d0)2N = 12 \times d_4 + (d_3d_2d_1d_0)_{2}
  • The most significant digit d4d_4 (the quotient when divided by 12) is:
    • d4=0d_4 = 0 for N<12N < 12 (inputs 000020000_2 to 101121011_2)
    • d4=1d_4 = 1 for N≥12N \ge 12 (inputs 110021100_2 to 111121111_2)
  • The condition for d4=1d_4 = 1 is precisely when b3=1b_3 = 1 and b2=1b_2 = 1, which is implemented as d4=b3⋅b2d_4 = b_3 \cdot b_2 using an AND gate.
  • When d4=1d_4 = 1, the circuit subtracts 1212 (110021100_2) from the input to obtain the remainder d3d2d1d0d_3d_2d_1d_0.

Therefore, the circuit performs a Binary to radix-12 conversion.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Combinational Circuits questions