Question

1.
2.
3.
4.
Answer (Detailed Solution Below)

Option 2 : 10111

Advertisement

Detailed Solution

सही उत्तर 10111 है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

What is the Gray code equivalent of the binary number 11010? / बाइनरी संख्या 11010 के समतुल्य Gray code क्या है?

1.
10101
2.
10111
3.
10011
4.
01101

Correct Answer: 10111

Keep the MSB; each following Gray bit is the XOR of adjacent binary bits: 1, 1⊕1 = 0, 1⊕0 = 1, 0⊕1 = 1, 1⊕0 = 1, giving 10111. / MSB वही रहता है; प्रत्येक अगला Gray बिट आसन्न बाइनरी बिटों का XOR है: 1, 1⊕1 = 0, 1⊕0 = 1, 0⊕1 = 1, 1⊕0 = 1, अर्थात 10111।

Downloaded from PrepSnap (prepsnap.in)