Question: Task 4 : ASCII Arithmetic Since ASCII characters are just numbers in a table, they can be represented in many different bases. For example, the

Task 4: ASCII Arithmetic
Since ASCII characters are just numbers in a table, they can be represented in many different bases. For
example, the character e can be represented as 65 in hexadecimal representation and 01100101 in binary.
Hence, by converting between hexadecimal and decimal, we can do arithmetic calculation using the ASCII
characters.
1. Write the ASCII character which results from the following substractions from or additions to other
characters:
(a) A +3=
(b) z 7=
(c) H +8=
(d) j +2=
(e) C +9=
2. Write the integer that must be added or subtracted to satisfy the following conditions.
(a) What should be added to the ASCII code of 0 to get the ASCII code of 9?
(b) What should be subtracted from the ASCII code of c to get G
(c) What should be added to ASCII code of E to get k?
(d) What should be subtracted from the ASCII code of m to get the ASCII code of S?
(e) What should be added to the ASCII code of 2 to get the ASCII code of 8?
(f) What should be multiplied by the ASCII code of 6 to get the ASCII code of l?
(g) What should the ASCII code of x be divided by to get the ASCII code of (?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!