arrow
arrow
arrow
What would be the gray code equal to the number 14 ?
Question

What would be the gray code equal to the number 14 ?

A.

1000

B.

1110

C.

1111

D.

1001

Correct option is D

Let the input to the circuit be 14Binary value of 14 is 1110For an input 1110, we get the output as:y1=1y2=11=0y3=11=0y4=10=1Hence the gray code for 14 is 1001\text{Let the input to the circuit be 14} \\ \text{Binary value of 14 is } 1110 \\ \\ \therefore \text{For an input } 1110, \text{ we get the output as:} \\ y_1 = 1 \\ y_2 = 1 \oplus 1 = 0 \\ y_3 = 1 \oplus 1 = 0 \\ y_4 = 1 \oplus 0 = 1 \\ \\ \text{Hence the gray code for 14 is } 1001​​

test-prime-package

Access ‘DFCCIL Technical’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
354k+ students have already unlocked exclusive benefits with Test Prime!
test-prime-package

Access ‘DFCCIL Technical’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
354k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow