Design a logic circuit that counts the number of 1s in 3 inputs (A, B, C) and outputs a two-bit binary number representing that count of 1s?

Design a logic circuit that counts the number of 1s in 3 inputs (A, B, C) and outputs a two-bit binary number representing that count of 1s?

From the BPSC Assistant Programmer (CSE) February 2022 – Written exam, question 30 of 32.

More from this paper