0% found this document useful (0 votes)
77 views1 page

TD1: Number Systems

The document discusses various number systems and conversions between them. It contains 11 exercises involving converting between binary, octal, decimal, hexadecimal and other bases; performing arithmetic in non-decimal bases; representing numbers using binary coded decimal, excess-3 code, and other methods; and decoding ASCII codes.

Uploaded by

Sao Savath
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views1 page

TD1: Number Systems

The document discusses various number systems and conversions between them. It contains 11 exercises involving converting between binary, octal, decimal, hexadecimal and other bases; performing arithmetic in non-decimal bases; representing numbers using binary coded decimal, excess-3 code, and other methods; and decoding ASCII codes.

Uploaded by

Sao Savath
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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.

Ex6. Express the following numbers in decimal:


(a) (10110.0101)2 (b) (16.5)16
(c) (26.24)8 (d) (DADA.B)16

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)

Ex11. Decode the following ASCII code:


1010011 1110100 1100101 1110110 1100101 0100000 1001010 1101111 1100010 1110011.

You might also like