Operaciones Binarios
1. Realizar las siguientes operaciones.
a) Convertir a binario los siguientes decimales.
1
b) Convertir a decimal.
111001=( 1x25) +(1x24 )+ (1x23 )+ ( 1x20 )=57
101000=( 1x25) + ( 1x23) =40
10000001=( 1x27) + ( 1x20 )=129
6
5
4
3
01111000=( 1x2 )+ ( 1x2 )+ ( 1x2 ) + ( 1x2 )= 120
10101=( 1x24 )+ ( 1x22 ) +( 1x2 0)= 21c) Convertir a base 3.
2. Realizar las siguientes operaciones en binario.
1100110
1001011
a)
10110001
+
−111
100
h)
011
11
11
b)
110
+
−1000
0101
i)
0011100
010
110
+
c)
−1100
1000
j)
0100
1100
1000
d)
10100
+
k)
+ 1001
1011
e)
10100
1
1
+1
1
1
f)
101
−11
01
g)
10
−0001000
1101
−00000010000000001101
+ 0000001000
1111110011
1111111011
0000000101
⇒− 410
1111111011
2
3. Realizar las siguientes restas.
−1000000
0110111
a)
0001001
−00011111
00011100
b)00000011
c)
−00011100
00011111
00000011
⇒−310
11111101
4. Realizar las siguientes restas con 10 bits.
20 10
30 10
a)
⇒ 11111101102
−1010
−
5110
6410
b)
⇒ 11111100112−1310
−
1210
1910
c)
⇒ 1111111001 2
−710
−
NOTA: Los números negativos en binario están representados en complemento a dos.
UNIVERSIDAD DE GUANAJUATO
3
5. Convertir a base 16y a base 8.
1102 ⇒ 68 ⇒ 616
10010112 ⇒ 1138 ⇒ 4B16
NÚMERO
BASE 8
BASE 16
316710
6137
C5F
21910
333
DB
636010
14330
18D8
1102
6
6
10010112113
4B
72310
1323
2D3
6. Convertir a base 10.
3AE 16=( 3x16² ) + ( 3x16¹) + ( 3x16⁰ )=942
FFF 16=( Fx16² ) + ( Fx16¹ )+ ( Fx16⁰ )=4095
6AF16=( 6x16² ) +( Ax16¹ ) + ( Fx16⁰)=1711
C2D16 =( Cx16² )+ (2x16¹ ) +( Dx16⁰)= 3117
A2E 16=( Ax16² ) +( 2x16¹) +( Ex16⁰) =2606
208 =( 2x8¹)=16
1258=(1x8 2) +( 2x81) + ( 5x80) =85
UNIVERSIDAD DE GUANAJUATO
4
Regístrate para leer el documento completo.