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 : 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 in hexadecimal representation and in binary.
Hence, by converting between hexadecimal and decimal, we can do arithmetic calculation using the ASCII
characters.
Write the ASCII character which results from the following substractions from or additions to other
characters:
a A
b z
c H
d j
e C
Write the integer that must be added or subtracted to satisfy the following conditions.
a What should be added to the ASCII code of to get the ASCII code of
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 to get the ASCII code of
f What should be multiplied by the ASCII code of 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
