ECE221 Digital Logic Design, Fall, 1999
Homework #1: Binary, Octal, and Hexadecimal Numbers
Due: On-campus: Wed., Sept. 15, 1999; Off-campus: 1 week after receipt.
-
(conversion to base 10). Convert each of the following numbers into its
equivalent form in base 10.
-
7578
-
11011002
-
FFA16
-
1001000010012
-
10008
-
100016
-
(conversion to target base). Convert each of the following base 10 numbers
into its equivalent form in the indicated base.
-
53 to base 2
-
127 to base 8
-
1023 to base 16
-
500 to base 2
-
798 to base 8
-
3798 to base 16
-
(conversion between base 2 and base 8 or base 16). Convert each of the
following binary numbers to the indicated base.
-
11100112 to base 8
-
100111002 to base 16
-
10110112 to base 8
-
111100112 to base 16
-
10010001110001012 to base 8
-
111000110011000110002 to base 16
-
(conversion between base 8 or base 16 and binary). Convert each of the
following numbers in the indicated base to binary.
-
25028
-
AFE016
-
40778
-
407716
-
1018
-
8FC16
-
(conversion between base 8 and base 16). Using the same numbers as in the
previous exercise, convert the numbers in base 8 to base 16. and the numbers
in base 16 to base 8.
-
(Binary addition). Perform the following additions in binary (where all
numbers are given in binary):
-
100110 + 111
-
110111 + 101
-
111110 + 10111
-
111001 + 10001
-
11011100110 + 10011001
-
10101010 + 1111111
-
(Binary subtraction). Perform the following subtractions in binary (where
all numbers are given in binary):
-
100110 - 111
-
110111 - 101
-
111110 - 10111
-
111001 - 10001
-
11011100110 - 10011001
-
10101010 - 1111111
-
Tocci, p. 51, exercise 2-17.
-
Tocci, p. 51, exercise 2-19.
-
Tocci, p. 51, exercise 2-21.
-
Tocci, p. 51, exercise 2-25.