Question 17 of 17intermediate🔧 ApplyNumerical3 marks

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

Correct Answer

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

CharacterASCII CodeBinary Code
C671000011
O791001111
M771001101
P801010000
U851010101
T841010100
E691000101
R821010010

Therefore, the word 'COMPUTER' is encoded as: 1000011 1001111 1001101 1010000 1010101 1010100 1000101 1010010 in binary.

Exercise: EXERCISE | Q: 17 | (Page 18)
For More Understanding

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

  1. Step 1: Write each character of 'COMPUTER' and find its ASCII decimal value.

  2. Step 2: Convert each ASCII decimal value to 7-bit binary equivalent.

  3. Step 3: Present results in a table format showing Character, ASCII Code, and Binary Code.