Problem 1.1
+ 91.25:
Binary: 26 + 24 + 23 + 21 + 20+ 2-2
Octal :
Problem 1.2
Please represent the decimal numbers A=123 and B=213 in BCD, and show the necessary
steps to find (in their BCD form):
BCD Form:
A = 123 = 0001 0010 0011
B = 213 = 0010 0001 0011
a. C=A+B
A= 0001 0010 0011 (123)
B= 0010 0001 0011 (213)
C= 0011 0011 0110 (316)
b. D=A-B
A= 0001 0010 0011 (123)
B= 1101 1110 1100 (-213)
1
1 0000
Problem 1.3
A computer represents information in groups of 32 bits. How many different integers
can be represented in (a) binary, (b) BCD, and (c) Octal (d) Hexadecimal (e) 8-bit
ASCII, all using 32 bits?
(a) Binary: There are 232 different integers can be represented in Binary.
(b) BCD: There are 108 different integers can be represented in BCD.
(c) Octal: There are 832 different integers can be represented in Octal.
(d) Hexadecimal: There are 1632 different integers can be represented in Hexadecimal.
(e) 8-bit ASCII: There are 104 different integers can be represented in 8-bit ASCII
Problem 1.4
In each of the following cases, determine the radix r:
a) (ABC)r = (1845)10
Ar2 + Br + C = 1 x 103 + 8 x 102 + 4 x 10 + 5
Ar2 + Br – 1833 = 0
r = 13 or r = - 141/10 ( eliminated as r N)
=> r = 13
b) (52)r = (37)10
5r + 2 = 3 x 10 + 7
5r = 35
=> r = 7
c) (BEE)r= (2699)10
Br2 + Er + E = 2 x 103 + 6 x 102 + 9 x 10 + 9
Br2 + Er – 2685 = 0
r = 15 or r = - 179/11 ( eliminated as r N)
=> r = 15
d) (3E2)r = (1742)8
3r2 + Er + 2 = 1 x 83 + 7 x 82 + 4 x 8 + 2
3r2 + Er – 992 = 0
r = 16 or r = - 62/3 ( eliminated as r N)
=> r = 16