expand icon
book The Essentials Of Computer Organization And Architecture 4th Edition by Linda Null,Julia Lobur cover

The Essentials Of Computer Organization And Architecture 4th Edition by Linda Null,Julia Lobur

Edition 4ISBN: 978-1284074482
book The Essentials Of Computer Organization And Architecture 4th Edition by Linda Null,Julia Lobur cover

The Essentials Of Computer Organization And Architecture 4th Edition by Linda Null,Julia Lobur

Edition 4ISBN: 978-1284074482
Exercise 13
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?
Explanation
Verified
like image
like image
close menu
The Essentials Of Computer Organization And Architecture 4th Edition by Linda Null,Julia Lobur
cross icon