56. a) The ASCII code for the letter A is 1000001, and the ASCII code for the...

Question:

56.

a) The ASCII code for the letter A is 1000001, and the ASCII code for the letter a is 1100001.

Given that the ASCII code for the letter G is 1000111, without looking at Table 2.7, what is the ASCII code for the letter g?

b) The EBCDIC code for the letter A is 1100 0001, and the EBCDIC code for the letter a is 1000 0001. Given that the EBCDIC code for the letter G is 1100 0111, without looking at Table 2.6, what is the EBCDIC code for the letter g?

c) The ASCII code for the letter A is 1000001, and the ASCII code for the letter a is 1100001.

Given that the ASCII code for the letter Q is 1010001, without looking at Table 2.7, what is the ASCII code for the letter q?

d) The EBCDIC code for the letter J is 1101 0001, and the EBCDIC code for the letter j is 1001 0001. Given that the EBCDIC code for the letter Q is 1101 1000, without looking at Table 2.6, what is the EBCDIC code for the letter q?

e) In general, if you were going to write a program to convert uppercase ASCII characters to lowercase, how would you do it? Looking at Table 2.6, could you use the same algorithm to convert uppercase EBCDIC letters to lowercase?

f) If you were tasked with interfacing an EBCDIC-based computer with an ASCII or Unicode computer, what would be the best way to convert the EBCDIC characters to ASCII characters?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: