CMSC 104
Homework 2
Homework 2 is due Monday June 14 at the beginning
of class. Late homeworks will NOT be accepted.
- Convert each of the following binary representations to its equivalent
decimal form:
a. 101010
b. 100001
c. 10111
d. 0110
- Convert each of the following decimal representations to its equivalent
binary form:
- Perform the following additions in binary notation:
a. 11011 b. 1010001 c. 11111
+01101 +0111101 + 1
------ --------- ------
- Use hexadecimal notation to represent the following bit patterns:
a. 0110 1010 1111 0010
b. 1110 1000 0101 0101 0001 0111
c. 0100 1000
d. 1101 0110 1010 0011
- What bit patterns are represented by the following hexadecimal patterns ?
a. 5FD7
b. ABCD
c. 0100
d. FE09
- Convert each of the following decimal representations to its equivalent
hexadecimal form:
- Convert each of the following hexadecimal representations to its
equivalent decimal form: