Question: The Gray code is sometimes called a reflected code because the bit values are reflected on both sides of any 2 value. For example, as

The Gray code is sometimes called a reflected code because the bit values are reflected on both sides of any 2" value. For example, as shown in Table 3-5, the values of the three low-order bits are reflected over a line drawn between 7 and 8. Using this property of the Gray code, obtain: 

a. The Gray code numbers for 16 through 31 as a continuation of Table 3-5. 

b. The excess-3 Gray code for decimals 10 to 19 as a continuation of the list in Table 3-6.

Table 3-5

TABLE 3-5 4-Bit Gray Code Binary code Binary Decimal code equivalent 0000 0001 0011 0010 0110 0111 0101 0100

Table 3-6

TABLE 3-6 Four Different Binary Codes for the Decimal Digit Excess-3 gray Decimal BCD digit 8421 012345 0 2 4

TABLE 3-5 4-Bit Gray Code Binary code Binary Decimal code equivalent 0000 0001 0011 0010 0110 0111 0101 0100 0 1 2 3 4 5 6 7' 1100 1101 1111 1110 1010 1011 1001 1000 Decimal equivalent 8 9 10 11 12 13 14 15

Step by Step Solution

3.53 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To generate the Gray codes for 16 through 31 we can use the property that Gray codes can be generated by reflecting the codes for 0 through 15 and app... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer System Architecture Questions!