HND Computer Architecture Tutorial 1 1. Write the following as a number of bytes, kbytes, Mbytes, Gbytes, or Tbytes. For example, 212 bytes = 22 * 210 = 4 kbytes. a) 26 bytes b) 216 bytes 2. c) 224 bytes d) 232 bytes d) 237 bytes e) 248 bytes Convert the following ASCII coded (8 bits = 1 character) numbers to decimal notation (a) 00110001. (b) 00110010 00110111. (c) 00111000 00111001. 3. What is the ASCII code for the number ‘637’? Your answer should have 24 bits. 4. Convert the following binary coded decimal numbers (4 bits = 1 decimal digit) to decimal notation if they are valid. (a) 0011 (b) 0110 0101 (c) 1000 1010 0000. 5. 6. What is the binary coded decimal form of the answers to questions 2 and 3? Two one byte unsigned values are given in binary as 00101101 and 00011111. Add these two binary values together (in one byte), and check whether the answer is correct by converting all three to base 10. 7. Repeat the above question for the values 10011100 and 01110011. 8. If the values in questions 6 and 7 were signed binary (two’s complement), how would that affect your answers? 9. The hexadecimal numbers E8 and FC represent two signed binary values. What are the decimal equivalents? Add the two binary values, and convert back to base 10. What has happened? 10. What are the largest and smallest values you can store in (a) 12 bit, unsigned binary? (b) 12 bit signed binary? (c) 32 bit unsigned binary? (Give an approximate answer, e.g. 16 meg) (d) 32 bit signed binary?