Carleton College CS 107, Explorations in Computer Science
Assignment B:
- Work through Laboratory 2, and turn in Exercise 1. Staple to the
lab any screen shots and extra paper required. Note that steps 1, 3,
and 6 require you to actually show your work to indicate that you can
do these conversions by yourself. Make sure that you show your work and
know how to do these calculations.
Question 8 in exercise 2 is somewhat unclear when you actually sit down
with the applet to try and answer it, since the column labeled "binary"
always shows 8 binary digits, even when the answer really has 9. Reword
the question, then, as the following:
"Finally, what are the limits of the 'Binary addition' applet? What are
the largest numbers it can add? What is the largest result it can
produce using all nine binary digits that it allows for the answer?
Record your answers below, in both binary and decimal values.
Largest numbers it can add ____________________
Largest result it can produce using all nine binary digits that it
allows for the answer ____________________"
- Add the following additional questions to the Exercise:
9) Add these two hexadecimal numbers
together by hand, showing all carries: 19AB6 + 43
10) Convert the base 6 number 4502 to decimal by hand, showing all
steps.
11) Convert the hexadecimal number 9a4 to binary, and then to octal.