Write the binary code for EXAM in ASCII-7. (decimal code of A is 65)
2021
Write the binary code for EXAM in ASCII-7. (decimal code of A is 65)
- A.
1001101101100010000011001101
- B.
1000101101100010000011001101
- C.
1011000100000110110001000001
- D.
1000001101100010011011011000
Attempted by 79 students.
Show answer & explanation
Correct answer: B
First, find the ASCII decimal values for each letter: E is 69, X is 88, A is 65, and M is 77. Next, convert each decimal value to its 7-bit binary equivalent: E becomes 1000101, X is 1011000, A is 1000001, and M is 1001101. Finally, concatenate these binary strings in order to get the complete code.