Activity 2 – Information Representation Total 20 points Please answer below each

Activity 2 – Information Representation

Total 20 points

Please answer below each question. Do not remove the questions. Save your answers, then submit this file on D2L.

Q1 (4 pts): For the decimal numbers from 0 to 15, write down the equivalent binary numbers and their base-16 (hexadecimal) numbers.

Answer:

Q2 (3 pts): Convert the following binary numbers to decimal numbers. 

1) 11111

2) 10010110

3) 10101101

Answer:

Q3 (3 pts): Convert the following decimal numbers to binary numbers. 

1) 31

2) 55

3) 64

Answer:

Q4 (2 pts): Convert the decimal number 79 to base 2, and then to base-16. Show the steps involved in the conversion.

Answer:

Q5 (2 pts): Convert the decimal number 123 written in base 4 into the decimal number. Then convert it into the binary number.

Q6 (2 pts): Which character/symbol is represented by binary sequence 0100 0110 in ASCII coding? ASCII coding is provided to you on the lecture slides part c.

Answer:

Q7 (4 pts): In a text document that uses ASCII code to represent text characters, each byte stores an ASCII code that corresponds to a character. Using ASCII, if you created a text file with 15 characters, what is the storage size for this file? ASCII coding is provided to you on the lecture slides part c.

Answer: