Question 10Asked in Bihar STET Paper 2 Computer Science (Class 11-12), 12 Sep 2023, Shift 1 + 1 more paper

To convert a Gray Code to its binary equivalent, which technique is commonly used?ग्रे कोड को उसके द्विआधारी समकक्ष में परिवर्तित करने के लिए, आमतौर पर किस तकनीक का उपयोग किया जाता है?

ग्रे कोड को उसके द्विआधारी समकक्ष में परिवर्तित करने के लिए, आमतौर पर किस तकनीक का उपयोग किया जाता है?
  1. ASubtraction methodघटाव विधि
  2. BAddition methodजोड़ विधि
  3. CExclusive OR (XOR) operationएक्सक्लूसिव OR (XOR) संक्रिया
  4. DDivision methodविभाजन विधि
Show answerHide answer

Correct answer: (C) Exclusive OR (XOR) operationएक्सक्लूसिव OR (XOR) संक्रिया

Explanation

Gray to binary: the MSB is copied, then each next binary bit = previous binary bit XOR the current Gray bit. So the method is the Exclusive-OR operation.Gray से binary: MSB वैसा ही कॉपी होता है, फिर अगला हर binary बिट = पिछला binary बिट XOR वर्तमान Gray बिट। इसलिए विधि Exclusive-OR संक्रिया है।

From Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 1

This is question 10 of Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 1. 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.

Asked in 2 papers