Ejemplos Conversión Binaria
Enviado por Carlos Luis • 20 de Febrero de 2019 • Tarea • 413 Palabras (2 Páginas) • 215 Visitas
- Realizar las siguientes Conversiones:
- Convertir a binario y Hexadecimal los números decimales:
DECIMAL | BINARIO | HEXADECIMAL |
321 | 321/2=160 Resto=1 160/2=80 Resto=0 80/2=40 Resto=0 40/2=20 Resto=0 20/2=10 Resto=0 10/2=5 Resto=0 5/2=2 Resto=1 2/2=1 Resto=0 VALOR BINARIO = 0001 0100 0001 | 321/16=20 Resto=1 20/16=1 Resto= 4 VALOR HEXADECIMAL= 141 |
1462 | 0101 1011 0110 | 1462/16=91 Resto=6 91/16=80 Resto=11(B) 80/16=5 Resto=0 VALOR HEXADECIMAL= 5B6 |
205 | 0000 1100 1101 | 205/16=12(C) Resto=13(D) VALOR HEXADECIMAL= CD |
1023 | 0011 1111 1111 | 1023/16=63 Resto=15(F) 63/16=3 Resto=15(F) VALOR HEXADECIMAL=3FF |
1024 | 0100 0000 0000 | 1024/16=64 Resto=0 64/16=4 Resto=0 VALOR HEXADECIMAL=400 |
135 | 0000 1000 0111 | 135/16=8 Resto=7 VALOR HEXADECIMAL=87 |
45 | 0000 0010 1101 | 45/16=13(D) Resto=2 VALOR HEXADECIMAL=2D |
967 | 0011 1100 0111 | 967/16=60 Resto=7 60/16=3 Resto=12(C) VALOR HEXADECIMAL=3C7 |
- Convertir a decimal los números binarios:
BINARIO | CALCULO | DECIMAL |
11 1001 | 1*25+1*24+1*23+0*22+0*21+1*20 = 32+16+8+0+0+1 = 57 | 57 |
10 1000 | 1*25+0*24+1*23+0*22+0*21+0*20 = 32+0+8+0+0+0 = 40 | 40 |
1 0000 0001 | 1*28 +0*27+0*26+0*25+0*24+0*23+0*22+0*21+1*20 = 256+0+0+0+0+0+0+0+1 = 257 | 257 |
0111 1000 | 0*27+1*26+1*25+1*24+1*23+0*22+0*21+0*20 = 0+64+32+16+8+0+0+0 = 120 | 120 |
000 0011 | 0*26+0*25+0*24+0*23+0*22+1*21+1*20 = 2+1 = 3 | 3 |
1 0101 | 1*24+0*23+1*22+0*21+1*20 = 16+0+4+0+1 = 21 | 21 |
- Convertir a Decimal los números Hexadecimales:
HEXAD. | CALCULO | DECIMAL |
1AF3B00A | 1*167+A*166+F*165+3*164+B*163+0*162+0*161+ +A*160 = 1*268.435.456+10(A)*16.777.216+ +15(F)*1.048.576+3*65.536+11(B)*4.096+0*256+ +0*16+10(A)*1 = | 452.177.330 |
FF00ACDC | F*167+F*166+0*165+0*164+A*163+C*162+D*161+ +C*160 = 15(F)*268.435.456+15(F)*16.777.216+ +0*1.048.576+0*65.536+11(A)*4.096+12(C)*256+ +13(D)*16+12(C)*1 = | 4.278.234.332 |
0A0B1F6D | 0*167+A*166+0*165+B*164+1*163+F*162+6*161+ +D*160 = 0*268.435.456+10(A)*16.777.216+ +0*1.048.576+11(B)*65.536+1*4.096+15(F)*256+ +6*16+13(D)*1 = | 168.501.101 |
A345C78B | A*167+3*166+4*165+5*164+C*163+7*162+8*161 +B*160 = 10(A)*268.435.456+3*16.777.216+ +4*1.048.576+5*65.536+12(C)*4.096+7*256+ +8*16+11(B)*1 = | 2.739.259.275 |
...