CMSC 104, Fall 2005
Homework 2

 
Due Date: Friday, September 23th (in Class)
Note that late Homework will NOT be accepted.
YOU MUST SHOW YOUR WORK. Answers without intermediate work will be given only partial credit.


1) Convert from Decimal to Binary (10 points total, 2 points each)
a. 18
b. 100
c. 128
d. 351
e. 2467

2) Convert form Binary to Decimal (10 points total, 2 points each)
a. 110101
b. 1101110
c. 1011101
d. 10100011
e. 00110111

3) Add these Binary Numbers (20 points total, 10 points each)

1 0 1 0 1 1 1 1 0
1 1 0 1 1 1 1 1 1

1 1 0 1 1 0 1 1 0 1 1
1 1 1 0 0 1 0 1 0 1 0

4) Convert from Decimal to Hex (10 points total)
a. 113547
b. 2545786
c. 12733295


5) Convert from Hex to Decimal (10 points total)
a. ACE
b. C0FFEE
c. BEE
d. CAB
e. CAFÉ

6) Add these Hex Numbers (20 points total, 10 points each)
1 A F 3 B C
F A 4 5 2 1

3 3 F F C C
5 5 A B D 1

7) Convert from Hex to Binary (10 points total)
a. ACE
b. CAFE
c. BEE

8) Convert from Binary to Hex (10 points total)
 110000001111111111101110