USTHB-Faculty of Electrical Engineering Telecommunication Department

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Digital Electronics 3rd year: Advanced Telecommunication Technologies

USTHB- Faculty of Electrical Engineering


Telecommunication Department

Tutorial No. 1
Numeration Systems

Part I: Coding and Conversion

EXERCICE N°1 Conversion

1°. Binary to Decimal Conversion

101010102 1010110101102 10110,101012 1011011,110112

2 °). Decimal to Binary Conversion


15210 124010 1000,12510

3 °). Conversions
1234(10) = ? (16)
138,145(10) = ? (2)
754(8) = ? (10)
A9F(16) = ? (10)
234(5) = ? (7)
3FE(16) = ? (4)
312,3(4) = ? (8)
517(8) = ? (16)
11001.01 (2) = ? (16)

4 °) Fill in the following table:

Decimal Binairy Hexadecimal BCD


49
1101001
5F

EXERCICE N°2

1. Give the fixed-point representation of the following numbers: (PE=7bits, PF=6bits)


(72,5)10 ; (16,35)10 ; (45,125)10

2. Represent the following numbers in hexadecimal


(72,5)8 ; (74,05)8 ; (22,07)8
Digital Electronics 3rd year: Advanced Telecommunication Technologies
Part II: Binary Arithmetic

EXERCICE N°3

1 °). Operations in binary system :


10110111, 1001 10010011,1110
+ 10101011, 0110 + 01111101,1001

11000101,0110 11010101
- 10111001,1111 - 01010110

10100101,1101 10101010
* 11011,101 * 1000

10001100 / 101
11101011 / 100

6 °). Operations in hexadecimal system


2E + 3F ; 3FD+978 ; 1F2D+ FABC

BA-AB ; F7A-DC5 .

5 °). Operations en B.C.D


Faire les calculs suivants en BCD
(456 +234)= ?
(145-899)= ?
(439-123)= ?
13510 + 25510 = ?
957810 + 921510 = ?

4 °) Operations with signed numbers in two's complement:

Perform the addition and subtraction of signed numbers in two's complement, and verify the
result in base 10.

+2+ (+3)
-7- (-3)
-3 + (-4)
-3+ (+2)

EXERCICE N°4

Code Transformation
Represent the following decimal numbers in Gray code: 35, 36, 37. Why is Gray code more
stable?
Give the one's complement and two's complement of the following decimal numbers: (+31), (-
31), (+45), (-45).
Digital Electronics 3rd year: Advanced Telecommunication Technologies
EXERCICE N°5

1. Represent the number 24810 in bases 2, 3, 8, 9, and 16.


(Use the successive division technique for bases 2, 3, and 16.)
2°) Conversions
Convert the following hexadecimal numbers:
BEDF; 4321; AA55; A987
Into bases 2, 4, and 8.

EXERCICE N° 6

1) 11100012 = ?10
2) 1001101102 = ?8
3) 11011001101102= ?16
4) 100.1012= ?10
5) 1100110.0102 = ?8
6) 1100110110.001012 = ?16
7) 47.7510 = ?2
8) 14510 = ?8
9) 287.9910 = ?16
10) 138.3210 = ?2
11) 783.1310 = ?8
12) 1443.4410 = ?16
13) 542.7568 = ?2
14) 6218 = ?10
15) 743.28 = ?16
16) 671.228 = ?2
17) 1342.538 = ?10
18) 2045.428 = ?16
19) AB02.C0116 = ?2
20) FF016 = ?10
21) D12.116 = ?8
22) A2.B16 = ?2
23) 93.416 = ?10
24) F1B.C16 = ?8

You might also like