The main memory given below stores the ASCII codes of some characters. (1) what
ID: 3732824 • Letter: T
Question
The main memory given below stores the ASCII codes of some characters. (1) what is the address of character ‘h'? (2) What is the first character string starting from the address 0x20183011? Address 0x20183010 0x2018301B 0x2018301A 0x20183019 0x20183018 0x20183017 0x20183016 0x20183015 0x20183014 0x20183013 0x20183012 0x20183011 0x00 0x00 0x20 Decimal Hex Char Decimal Hex Char Decimal Hex Char i Decimal Hex Char NULL 20 SPACE 64 1 !START OF HEADING] 2 START OF TEXT END OF TEXT ENQUIRY ACKNOWLEDGE1 6 BACKSPACE A LINE FEED B [VERTICAL TAB C IFORM FEED D CARRIAGE RETURN 10 DATA LINK ESCAPE 11 !DEVICE CONTROL 1 12 DEVICE CONTROL 2 14 IDEVICE CONTROL 4 15 NEGATIVE ACKNOWLEDGE) 53 16 [SYNCHRONOUS IDLE 17 ENG OF TRANS BLOCKI55 24 18 19 IEND OF MEDIUM A [SUBSTITUTE 1B ESCAPE 1C IFILE SEPARATOR D ilGROUP 1E RECORD SEPARATOR F UNIT SEPARATOR 29. JF [DELIExplanation / Answer
1. In the chart given in the question go to the character 'h' under the column Char and then check the hex column corresponding to the character 'h' . We find that it is 68, we look only at the hex column because in the main memory the hex code of the characters are stored(recognized by 0x in front of the numbers). Now, in the main memory table, the address of 0x68 is 0x20183019.
So, the answer is , the address of character h is 0x20183019.
2. Now, we first look at the main memory table. In the table we find the corresponding hex code to the address 0x20183011(given in question). We find it is 0x54. Now we find the character corresponding to the hex code 54 in the table given below. We find it is T.
So,the answer is, the firts character string starting from 0x20183011 is T.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.