What is the Gray Code equivalent of the binary number 1101?बाइनरी नंबर 1101 के बराबर ग्रे कोड क्या है?
बाइनरी नंबर 1101 के बराबर ग्रे कोड क्या है?
Show answerHide answer
Correct answer: (B) 10111011
Explanation
Keep the MSB (1). Then XOR each pair of adjacent bits: 1⊕1 = 0, 1⊕0 = 1, 0⊕1 = 1. So binary 1101 gives Gray code 1011.MSB (1) को रखें। फिर हर आसन्न बिट-जोड़ी का XOR लें: 1⊕1 = 0, 1⊕0 = 1, 0⊕1 = 1। इसलिए बाइनरी 1101 का Gray कोड 1011 है।