You are on page 1of 12

Aluno: Adoniran Jos Kohler.

1. Represente os nmeros decimais abaixo em nmeros binrios


puros (sem sinal):

a. 183

183 2
1 91 2
1 45 2
1 22 2
0 11 2
1 5 2
1 2 2
0 1

R: 10110111

b. 435

435 2
1 217 2
1 108 2
0 54 2
0 27 2
1 13 2
1 7 2
1 3 2
1 1

R:111110011

c. 12192
12192 2
0 60 2
96
0 3048 2
0 1524 2
0 762 2
0 381 2
1 190 2
0 95 2
1 47 2
1 23 2
1 11 2
1 5 2
1 22
01

R:10111110100000
d. 3920

3920 2
0 1960 2
0 980 2
0 490 2
0 245 2
1 122 2
0 61 2
1 30 2
0 15 2
1 7 2
1 3 2
1 1

R:111101010000

e. 9365
936 2
5
1 468 2
2
0 234 2
1
1 117 2
0
0 58 2
5
1 29 2
2
0 14 2
6
0 7 2
3
1 3 2
6
0 1 2
8
0 9 2
1 4 2
0 2 2
0 1

R:10010010010101
2. Encontre os nmeros decimais a partir dos binrios puros (sem
sinal):

a. 11010101011

12 11 10 9 8 7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 0 1 0 1 0 1 0 1 1
1024 512 128 32 0 8 0 2 1
R: 1707
b.111100101101
12 11 10 9 8 7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 1 1 0 0 1 0 1 1 0 1
0 2048 1024 512 256 0 0 32 0 8 4 0 1
R: 3885

c. 10101010

7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2
1 0 1 0 1 0 1 0
128 0 32 0 8 0 2 0

R:170

d.100100100100
12 11 10 9 8 7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2 2 2 2 2 2
1 0 0 1 0 0 1 0 0 1 0 0
0 2048 0 0 256 0 0 32 0 0 4 0 0

R:2340

e. 1111000011110000

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0
32768 16384 8192 4096 0 0 0 0 128 64 32 16 0 0 0 0
R: 61680
3. Ache o segundo complemento (complemento de 2) dos
seguintes nmeros binrios (considere o mximo de 12 bits):

a. 010011001110

. 0 1 0 0 1 1 0 0 1 1 1 0
1
1 0 1 1 0 0 1 1 0 0 0 1
1
R: 1 0 1 1 0 0 1 1 0 0 1 0

b. 111001001101

. 1 1 1 0 0 1 0 0 1 1 0 1

0 0 0 1 1 0 1 1 0 0 1 0
1
R: 0 0 0 1 1 0 1 1 0 0 1 1

c. 100000000000

. 1 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1
0 1 1 1 1 1 1 1 1 1 1 1
1
R: 1 0 0 0 0 0 0 0 0 0 0 0

d. 100000000001

. 1 0 0 0 0 0 0 0 0 0 0 1

0 1 1 1 1 1 1 1 1 1 1 0
1
R: 1 1 1 1 1 1 1 1 1 1 1 1
e. 101010101010

. 1 0 1 0 1 0 1 0 1 0 1 0
1
0 1 0 1 0 1 0 1 0 1 0 1
1
R: 0 1 0 1 0 1 0 1 0 1 1 0

4. Encontre o complemento de 2 dos seguintes nmeros binrios:

a. 1100110012

1 1 0 0 1 1 0 0 1

0 0 1 1 0 0 1 1 0
1
R: 0 0 1 1 0 0 1 1 1

b.010101012

0 1 0 1 0 1 0 1

1 0 1 0 1 0 1 0
1
R: 1 0 1 0 1 0 1 1

c.112

1 1
0 0
0 0
1
R: 0 1

d.02

1
1
R: 0

5. Represente os nmeros decimais abaixo em binrios com sinal.

a. + 404

404 2
0 202 2
0 101 2
1 50 2
0 25 2
1 12 2
0 6 2
0 3 2
1 1

R:0110010100

b. 502
502 2
0 251 2
1 125 2
1 62 2
0 31 2
1 15 2
1 7 2
1 3 2
1 1

0 1 1 1 1 1 0 1 1 0
1 0 0 0 0 0 1 0 0 1
1
1 0 0 0 0 0 0 0 1 0

c. 12549
1254 2
9
1 627 2
4
0 313 2
7
1 156 2
8
0 78 2
4
0 39 2
2
0 19 2
6
0 9 2
8
0 4 2
9
1 2 2
4
0 1 2
2
0 6 2
0 3 2
1 1
0 1 1 0 0 0 1 0 0 0 0 0 1 0 1
1 0 0 1 1 1 0 1 1 1 1 1 0 1 0
1
1 0 0 1 1 1 0 1 1 1 1 1 0 1 1

R:100111011111011

d. 1
0 1
1 0
1
1 1

R:11

e. + 820

820 2
0 410 2
0 205 2
1 101 2
1 50 2
0 25 2
1 12 2
0 6 2
0 3 2
1 1

0 1 1 0 0 1 0 1 1 0 0

R:01100101100
6. Encontre os nmeros decimais a partir dos binrios com sinal,
representados abaixo:

a. 11010100010

negativo.

1 1 0 1 0 1 0 0 0 1 0
1
1
1 1 0 1 0 1 0 0 0 0 0

1 0 1 0 1 0 1 1 1 1 1
10 9 8 7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2 2 2 2
1 0 1 0 1 0 1 1 1 1 1
1024 0 256 0 64 0 16 8 4 2 1

R:-1375

b. 00101010010

positivo

10 9 8 7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2 2 2 2
0 0 1 0 1 0 1 0 0 1 0
0 0 256 0 64 0 16 0 0 2 0

R: 338

c. 010010000100001001

positivo
16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0
65536 0 0 8192 0 0 0 0 256 0 0 0 0 8 0 0 0

R: 73992

d. 00000000100

positivo
12 11 10 9 8 7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2 2 2 2 2 2
0 0 0 0 0 0 0 0 1 0 0
0 0 0 0 0 0 0 0 0 0 4 0 0

R: 4
e. 111111111111111111111111110

negativo

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0
1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0

R: -3