Construct a logic circuit that accepts a 5-bit input and whose output is one when exactly 2 bits of the input are ones and zero otherwise. EX: 11000 outputs 1, 10101 outputs 0, 00100 outputs 0, and 00110 outputs 1.
NOTE, this has to be done with at MOST 10 logic gates, no more. Any logic gate with any number of inputs is allowed and inverters do not count towards the limit.
Get Answers For Free
Most questions answered within 1 hours.