TD1: Number Systems
TD1: Number Systems
Ex1. What is the exact number of bytes in a system that contains (a) 32Kbytes, (b) 64Mbytes, and
(c) 6.4Gbytes?
Ex2. Convert the following numbers with the indicated bases to decimal:
(a) (4310)5 (b) (198)12
(c) (435)8 (d) (345)6
Ex3. Determine the base of the numbers in each case for the following operations to be correct:
(a) 14/2 = 5 (b) 54/4 = 13 (c) 24 + 17 = 40.
Ex4. The solutions to the quadratic equation 𝑥 − 11𝑥 + 22 = 0 are 𝑥 = 3 and 𝑥 = 6. What is the
base of the numbers?
Ex5. Convert the hexadecimal number 64CD to binary, and then convert it from binary to octal.
Ex7. Add and multiply the following numbers without converting them to decimal.
(a) Binary numbers 1011 and 101.
(b) Hexadecimal numbers 2E and 34.
Ex8. Obtain the 1’s and 2’s complements of the following binary numbers:
(a) 00010000 (b) 00000000
(c) 11011010 (d) 10101010
Ex9. Represent the decimal number 6,248 in (a) BCD, (b) excess‐3 code, (c) 2421 code, and (d) a
6311 code.
Ex10. The following decimal numbers are shown in sign‐magnitude form: +9,286 and +801. Convert
them to signed-10’s‐complement form and perform the following operations (note that the sum is
+10,627 and requires five digits and a sign).
(a) (+9,286) + (+801) (b) (+9,286) + (-801)