Вы находитесь на странице: 1из 7

Conversion of binary to

hexadecimal and octal


system.
Armando Cardiel Gutirrez
Jos Ramn Rivas Morales
Javier Rocha
Binary System
Binary describes a numeric system in which we can only use ones
1 and zeros 0 for make numbers of any size.
Binary also refers to any digital encoding/decoding systems.
There is only two values for these numbers.
1 = High
0 = Low

This system is used by computers.


Octal system is just a variant about our typical decimal system. The
difference between this and the rest is:
We need to do groups of three bits for represent just one number in
Octal. Besides that only 8 numbers are used including zero to make
any combinations of numbers.
Binary Octal
000 0
Binary to Octal 001 1
010 2
011 3
100 4
101 5
110 6
111 7
When we have numbers like the next ones in the table,
we can see that the first on the left doesnt complete the
groups of three bits required for do an Octal number; so
we add zeros at the left until complete the groups of
three bits.

Binary Binary

Binary to Octal 01,101,011 001,101,011


10,111,011 010,111,011
01,000,011,110 001,000,011,110
010,101,010 010,101,010
10,001,111,110 010,001,111,110
1,011,010,001 001,011,010,001
100,010,110,011 100,010,110,011
11,111,110,000 011,111,110,000
Binary Octal
001,101,011 153
010,111,011 273
001,000,011,110 1036
010,101,010 252
010,001,111,110 2176
001,011,010,001 1321
Binary to Octal 100,010,110,011 4263
011,111,110,000 3760
The Hexadecimal system integrate the first sixteen numbers of our
decimal system, that means 0 to 15, but theres a little diference with
last six numbers.
These last six numbers are 10 to 15, in hexadecimal arent exist these
0 numbers, however we use letters instead of numbers.
Hexadecimal Decimal
A 10

Binary to B 11
C 12
Hexadecimal D 13
E 14
F 15
In binary we can represent the number 15 (the biggest) with just four
bits, it means four ones:
1111 = 15
Binary Hexadecimal
0000 0
0001 1
0010 2
0011 3
The sequence is quite easy
0100 4
to understand. The only
0101 5 worry is know the mean of
0110 6 the letters.
Binary to 0111 7
After we know the
equivalence of the binary
Hexadecimal 1000 8 numbers with
1001 9 Hexadecimal, we can read
all the posibles mixes that
1010 A we make.
1011 B
1100 C
1101 D
1110 E
1111 F

Вам также может понравиться