Q. Which of the bit is same for a binary code and its Gray code ?
Solution:
- Binary Code: Represents numbers using the standard base-2 system where each digit is either 0 or 1. The binary representation of numbers follows the pattern of powers of 2.
- Gray Code: A binary numeral system where two successive values differ in only one bit. It is a non-weighted code used to minimize errors in digital systems.
- The Most Significant Bit (MSB) is the bit that is the same for both a binary code and its Gray code.
- The Least Significant Bit (LSB) and the other bits will differ between the binary and Gray codes because the Gray code is generated by XORing consecutive bits of the binary code.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.