Question Detail

COM 101 COM 101 Past Questions Objective Question

Question

If the ASCII codes for letters T and O are 084 and 079 respectively, what is the binary representation of the word "TO"?
Options
A 01010100 01001111
Correct Answer
B 01000111 01011100
C 01001111 01010100
D 01011100 01001011
Correct Answer

Option A is the correct answer.

Detailed Explanation

084 in decimal = 01010100 in binary, 079 in decimal = 01001111 in binary. So "TO" is represented as 01010100 01001111.

Hint

Convert each decimal ASCII code to 8-bit binary.

Question Info