Assume that for each character code we add an odd parity bit as the most significant bit. What are the 8-bit code values for the phrase "Digital Design" (without the quotes) with the added parity bit?
The phrase is "Digital Design".
Odd parity bit is added to ensure that the total number of 1's in a number (parity including) must be odd.
For every letter we have a corresponding ASCII value:
Letter | Decimal | Binary | Parity Bit |
D | 68 | 1000100 | 1 |
i | 105 | 1101001 | 1 |
g | 103 | 1100111 | 0 |
i | 105 | 1101001 | 1 |
t | 116 | 1110100 | 1 |
a | 97 | 1100001 | 0 |
l | 108 | 1101100 | 1 |
D | 68 | 1000100 | 1 |
e | 101 | 1100101 | 1 |
s | 115 | 1110011 | 0 |
i | 105 | 1101001 | 1 |
g | 103 | 1100111 | 0 |
n | 110 | 1101110 | 0 |
These parity bits will be added at the MSB and this will be the 8-bit code value for the letters of the given phrase.
Hope this helps.
Get Answers For Free
Most questions answered within 1 hours.