Question 13Asked in Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)

What is the Gray Code equivalent of the binary number 1101?बाइनरी नंबर 1101 के बराबर ग्रे कोड क्या है?

बाइनरी नंबर 1101 के बराबर ग्रे कोड क्या है?
  1. A11101110
  2. B10111011
  3. C10101010
  4. D10011001
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 है।

From Bihar STET 2024 Paper II Computer Science PYQ, 12 Jun 2024, Shift 1 (10:00 AM)

This is question 13 of Bihar STET 2024 Paper II Computer Science PYQ, 12 Jun 2024, Shift 1 (10:00 AM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.