CS 301
HW #1
Due Monday, September 22^{nd} by 4:45 pm
 Convert the following decimal numbers to binary: a)
13, b) 25, c) 63, d) 256.
 Perform
the following binary addition problems:
01001011
+10001011

11100101
+10000111

00110011
+00110011

10000001
+01111111

 Convert each of the binary numbers (and their sums)
in question 2 to decimal values and check that the sums are valid.
 Give the two’s complement of the following binary
numbers: a) 01001011, b) 00000000, c) 00110011, d) 00000001
 Convert the following negative binary numbers to
their positive counterparts: a) 11001100, b) 10110111, c) 10101010, d)
11111111
 Perform
the following hexadecimal addition problems:
13B4
+0033

C53D
+0004

8798
+0777

DCBE
+35B5

 Convert the following decimal numbers to
hexadecimal: a) 23, b) 37, c) 255, d) 256, e) 56217
 Complete Problem 2.41 (page 100) in your text.
 Complete Problem 2.52 (page 100) in your text.