Sunteți pe pagina 1din 4

Lucrare practic 7

Tema: Conversia numerelor dintr-un sistem n altul


Scopul lucrrii:
1.Utilizarea regulilor de conversie dintr-un sistem n altul.
2.Folosirea metodei substituiei autonome.

VARIANTELE NSRCINRILOR.

AB
56

REZOLVARE:

V=A+B
A=5
B=6

1. S se efectueze conversia din sistemul zecimal n sistemele binar, ternal, cuternal,


octal i hexazecimal:
1)V2+ A2 +B2 = (A+B)2 + A2 +B2;
(5+6)2 + 52 + 62 = 112 + 25 +36=182;
n binar :
n ternal :
(182)10= (10110110)2

(182)10= (20202)3

182 : 2 = 91 + 0/2;
91 : 2 = 45 + 1/2;
45 : 2 = 22 + ;
22 : 2 = 11 + 0/2;
11 : 2 = 5 + ;
5 : 2 = 2 + ;

182 : 3 = 60 + 2/3;
60 : 3 = 20 + 0/3;
20 : 3 = 6 + 2/3;
6 : 3 = 2 + 0/3;
2 : 3 = 0 + 2/3;

2 : 2 = 1 + 0/2;
1 : 2 = 0 + ;

Mod Coala
Elaborat
Verificat

Nr.document
Cojocaru A.
Catan V.

Semnat

Data

CPB.2153.09
Conversia numerelor dintr-un sistem
n altul

Lit.

Coala
1

Coli
4

n cuternal :

n octal :

(182)10= (2322)4

(182)10= (266)8

182 : 4 = 45 + 2/4;
45 : 4 = 11 + 2/4;
11 : 4 = 2 + ;
2 : 4 = 0 + 2/4;

182 : 8 = 22 + 6/8;
22 : 8 = 2 + 6/8;
2 : 8 = 0 + 2/8;

n hexazecimal :
(182)10= (B6)16
182 : 16 = 11 + 6/16;
11 : 16 = 0 + 11/16;

2) V-A3+B2= (A+B)-A3+B2;
(5+6)-53+62=11-125+36= -78;
n binar :

n ternal:

(78)10= (1001110)2

(78)10=(2220)3

78 : 2 = 39 + 0/2;
39 : 2 = 19 + ;
19 : 2 = 9 + ;
9 : 2 = 4 + ;
4 : 2 = 2 + 0/2;
2 : 2 = 1 + 0/2;
1 : 2 = 0 + ;

78 : 3 = 26 + 0/3;
26 : 3 = 8 + 2/3;
8 : 3 = 2 + 2/3;
2 : 3 = 0 + 2/3;

n cuternal :

n octal :

(78)10=(1032)4

(78)10=(16)8

78 : 4 = 19 + 2/4;
19 : 4 = 4 + 3/4;
4 : 4 = 1 + 0/4;
1 : 4 = 0 + ;

78 : 8 = 9 + 6/8;
9 : 8 = 1 + 1/8;

n hexazecimal :
(78)10= (4E)16
78 : 16 = 4 + 14/16;
4 : 16 = 0 + 4/16;

Coala
2
Mod Coala Nr.document

Semnat

Data

3)V+A2+B2= A+B+A2+B2
5+6+52+62=11+25+36=72
n binar :

n ternal:

(72)10= (1001000)2

(72)10=(2200)3

72 : 2 = 36 + 0/2;
36 : 2 = 18 +0/2;
18 : 2 = 9 +0/2;
9 : 2 = 4 + ;
4 : 2 = 2 + 0/2;
2 : 2 = 1 + 0/2;
1 : 2 = 0 + ;

72 : 3 = 24 + 0/3;
24 : 3 = 8 + 0/3;
8 : 3 = 2 + 2/3;
2 : 3 = 0 + 2/3;

n cuternal :

n octal :

(72)10=(1020)4

(72)10=(10)8

72 : 4 = 18 + 0/4;
18 : 4 = 4 + 2/4;
4 : 4 = 1 + 0/4;
1 : 4 = 0 + ;

72 : 8 = 9 + 0/8;
9 : 8 = 1 + 1/8;

n hexazecimal :
(72)10= (48)16
72 : 16 = 4 + 8/16;
4 : 16 = 0 + 4/16;

4)(A+B)2+(B-A)4+V=(A+B)2+(B-A)4+5+6
(5+6)2+(6-5)4+5+6=121+1+11=133
n binar :

n ternal:

(133)10= (10000101)2

(133)10=(11222)3

133 : 2 = 66 + 1/2;
66 : 2 = 33 +0/2;
33 : 2 = 16 +1/2;
16 : 2 = 8 + 0/2;
8 : 2 = 4 + 0/2;
4 : 2 = 2 + 0/2;
2 : 2 = 1 + 0/2;
1 : 2 = 0 + ;

133 : 3 = 44 + 2/3;
44 : 3 = 14 + 2/3;
14 : 3 = 4 + 2/3;
4 : 3 = 1 + 1/3;
1 : 3 = 0 + 1/3;

Coala
3
Mod Coala Nr.document

Semnat

Data

n cuternal :

n octal :

(133)10=(2011)4

(133)10=(175)8

133 : 4 = 33 + 1/4;
33 : 4 = 8 + 1/4;
8 : 4 = 2 + 0/4;
2 : 4 = 0 + 2/4;

133 : 8 = 16 + 5/8;
15 : 8 = 1 + 7/8;
1 : 8 = 0 + 1/8;

n hexazecimal :
(133)10= (85)16
133 : 16 = 8 + 5/16;
8 : 16 = 0 + 8/16;

2. S se transforme n zecimal:
1)(babab)8
(65656)8=6*84+5*83+6*82+5*8+6*80=24 576 + 2 560 + 384 + 40 + 6 =
(27 566)10;
(abvbv)16
(56B6B)16=5*164+6*163+11*162+6*16+11*160=327 680 + 24 576 + 2 816 + 96
+11 = (355 179)10;
2)(bbaab)8
(66556)8=6*84+6*83+5*82+5*8+6*80=24 576 + 3 072 + 320 + 40 + 6 =
(28 014)10;
(bavab)16
(65B56)16=6*164+5*163+11*162+5*16+6*160=393 216 + 20 480 + 2 816 + 80 +
6 = (416 598)10;
3)(babba)8
(65665)8=6*84+5*83+6*82+6*8+5*80=24 576 + 2 560 + 384 + 48 + 5 = 27 573
(vbbab)16
(B6656)16=11*164+6*163+6*162+5*16+6*160=720 896 + 24 576 + 4 096 + 86 =
749 654

Coala
4
Mod Coala Nr.document

Semnat

Data