Encode the word 'COMPUTER' using ASCII and convert the encode value into binary values.
To encode the word 'COMPUTER' using ASCII and convert to binary values:
Step 1: Find ASCII Code for each character C = 67, O = 79, M = 77, P = 80, U = 85, T = 84, E = 69, R = 82
Step 2: Convert each ASCII value to 7-bit binary code
| Character | ASCII Code | Binary Code |
|---|---|---|
| C | 67 | 1000011 |
| O | 79 | 1001111 |
| M | 77 | 1001101 |
| P | 80 | 1010000 |
| U | 85 | 1010101 |
| T | 84 | 1010100 |
| E | 69 | 1000101 |
| R | 82 | 1010010 |
Therefore, the word 'COMPUTER' is encoded as: 1000011 1001111 1001101 1010000 1010101 1010100 1000101 1010010 in binary.
Explanation
Following the methodology shown in Example 2.2 of the textbook (which encodes 'DATA'), each alphabet in 'COMPUTER' is replaced with its ASCII code value and then converted to equivalent 7-bit binary code. The context confirms that computers understand only binary (0s and 1s), and encoded text must be converted to binary form for processing. The ASCII value of T=84 and its binary 1010100 is explicitly given in the context.
Solution Steps
Step 1: Write each character of 'COMPUTER' and find its ASCII decimal value.
Step 2: Convert each ASCII decimal value to 7-bit binary equivalent.
Step 3: Present results in a table format showing Character, ASCII Code, and Binary Code.