KnowledgeBoat Logo
|

Computer Science

Encode the word 'COMPUTER' using ASCII and convert the encoded value into binary values.

Number System

3 Likes

Answer

Representing the word 'COMPUTER' in ASCII values of its characters:

COMPUTER → 67 79 77 80 85 84 69 82

Binary Equivalent → 01000011 01001111 01001101 01010000 01010101 01010100 01000101 01010010

Explanation

ASCII value of C is 67 and its equivalent 7-bit binary code = 01000011
ASCII value of O is 79 and its equivalent 7-bit binary code = 01001111
ASCII value of M is 77 and its equivalent 7-bit binary code = 01001101
ASCII value of P is 80 and its equivalent 7-bit binary code = 01010000
ASCII value of U is 85 and its equivalent 7-bit binary code = 01010101
ASCII value of T is 84 and its equivalent 7-bit binary code = 01010100
ASCII value of E is 69 and its equivalent 7-bit binary code = 01000101
ASCII value of R is 82 and its equivalent 7-bit binary code = 01010010

Hence, binary value for the word 'COMPUTER' is 01000011 01001111 01001101 01010000 01010101 01010100 01000101 01010010.

Answered By

1 Like


Related Questions