CAMBIO DE BASE - Gestión de recursos informáticos del Departamento de...

3
Resolución ejercicios propuestos en clase 1 CAMBIO DE BASE 225,5 10 Decimal a binario: Parte entera 225 2 1 112 2 0 56 2 0 28 2 0 14 2 0 7 2 1 3 2 1 1 Parte decimal 0,5 x 2 = 1,0 225,5 10 =11100001,1 2 Decimal a octal: Parte entera 225 8 1 28 8 4 3 Parte decimal 0,5 x 8 = 4 225,5 10 =341,4 8 Decimal a hexadecimal: Parte entera 225 16 1 14 Parte decimal 0,5 x 16 =8,0 225,5 10 =E1,8 16 110101,101 2 Binario a decimal: 110101,101 2 =53,625 10 Binario a octal: Octal 0 1 2 3 4 5 6 7 Binario 000 001 010 011 100 101 110 111 110101,101 2 =65,5 8 Binario a hexadecimal: 2 5 2 4 2 3 2 2 2 1 2 0 2 -1 2 -2 2 -3 Suma x 1 x 1 x 0 x 1 x 0 x 1 x 1 x 0 x 1 32 16 0 4 0 1 0,5 0 0,125 =53,625 Octal 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 Hexadecimal 0 1 2 3 4 5 6 7 8 9 A B C D E F Binario 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111

Transcript of CAMBIO DE BASE - Gestión de recursos informáticos del Departamento de...

Page 1: CAMBIO DE BASE - Gestión de recursos informáticos del Departamento de …avellano.usal.es/~compi/ejercicios2-2.pdf ·  · 2010-09-22Resolución ejercicios propuestos en clase 1

Resolución ejercicios propuestos en clase

1

CAMBIO DE BASE • 225,510

Decimal a binario:

Parte entera

225 2 1 112 2 0 56 2 0 28 2 0 14 2 0 7 2 1 3 2 1 1

Parte decimal

0,5 x 2 = 1,0

225,510=11100001,12 Decimal a octal:

Parte entera

225 8 1 28 8 4 3

Parte decimal

0,5 x 8 = 4

225,5 10=341,4 8 Decimal a hexadecimal:

Parte entera

225 16 1 14

Parte decimal

0,5 x 16 =8,0 225,510=E1,8 16

• 110101,1012

Binario a decimal:

110101,1012=53,62510 Binario a octal:

Octal 0 1 2 3 4 5 6 7 Binario 000 001 010 011 100 101 110 111

110101,1012=65,5 8 Binario a hexadecimal:

25 24 23 22 21 20 2-1 2-2 2-3 Suma x 1 x 1 x 0 x 1 x 0 x 1 x 1 x 0 x 1 32 16 0 4 0 1 0,5 0 0,125 =53,625

Octal 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 Hexadecimal 0 1 2 3 4 5 6 7 8 9 A B C D E F Binario 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111

Page 2: CAMBIO DE BASE - Gestión de recursos informáticos del Departamento de …avellano.usal.es/~compi/ejercicios2-2.pdf ·  · 2010-09-22Resolución ejercicios propuestos en clase 1

Resolución ejercicios propuestos en clase

2

110101,1012=35,A16 • 6E,C16

Hexadecimal a decimal: 6E,C16=110,7510 Hexadecimal a binario: 6E,C 16=01101110,11002 Hexadecimal a octal:

6E,C 16=01101110,1102=156,6 8

• 74,1 8

Octal a decimal: 74.1 8=60,12510 Octal a binario: 74.1 8=111100,0012 Octal a hexadecimal:

Según tabla:

74.1 8=111100,0012=3C,216

161 160 16-1 Suma x 6 x 14 x 12 96 14 0, 75 = 110,75

81 80 8-1 Suma x 7 x 4 x 1 56 4 0,125 =60,125

Octal 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 Hexadecimal 0 1 2 3 4 5 6 7 8 9 A B C D E F Binario 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111

Page 3: CAMBIO DE BASE - Gestión de recursos informáticos del Departamento de …avellano.usal.es/~compi/ejercicios2-2.pdf ·  · 2010-09-22Resolución ejercicios propuestos en clase 1

Resolución ejercicios propuestos en clase

3

OPERACIONES • 1101101,11012+1011,00112

1 1 1 1 1 1 1 1 1 1 0 1 1 0 1 , 1 1 0 12 + 1 0 1 1 , 0 0 1 12 1 1 1 1 0 0 1 , 0 0 0 02

• 1101101,11012+1011,00112

1 1 1 1 0 1 1 0 1 , 1 1 0 12 - 1 0 1 1 , 0 0 1 12 1 1 0 0 0 1 0 , 1 0 1 02

• 1011012x1112 1 0 1 1 0 12 x 1 1 12 1 1 1 1 1 1 1 0 1 1 0 1 1 0 1 1 0 1 + 1 0 1 1 0 1 1 0 0 1 1 1 0 1 12 • 1011012:1112 1 0 1 1 0 12 1 1 12 - 1 1 1 0 1 1 02 0 1 0 0 0 - 1 1 1 0 0 1 1 • AB5C16-FF616

1 1 A B 5 C16

- F F 616 9 B 6 616

• 3578+778

1 1 3 5 78 + 7 78 4 5 68