Exam Questions Papers - Engineering

Q1:

The logic circuit given below converts a binary code y1 y2, y3 into

A Excess - 3 code

B Gray code

C BCD code

D Hamming

ANS:C - BCD code

Let y1 = 1, y2 = 0, y3 = 1 then x1 = 1 x2 = y1y2 ⇒ 1 ⊕ 0 ⇒ 1 x3 = x2y3 = 1 ⊕ 0 = 1 which is gray code conversion.