You are on page 1of 3

A) (255)10 

= (11111111)2
Divide (255)10 successively by 2 until the quotient is 0:
255/2 = 127, remainder is 1
127/2 = 63, remainder is 1
63/2 = 31, remainder is 1
31/2 = 15, remainder is 1
15/2 = 7, remainder is 1
7/2 = 3, remainder is 1
3/2 = 1, remainder is 1
1/2 = 0, remainder is 1
Then from the bottom to top it is 11111111.
Hence, (255)10 = (11111111)2

B) (255)10 = (FF)16
Divide (255)  successively by 16 until the quotient is 0:
10

255/16 = 15, remainder is 15


15/16 = 0, remainder is 15

Then, from the bottom (MSB) to top (LSB) as FF.


Hence, FF is the hexadecimal equivalent of decimal number 255.

Decimal: 0 1 2 3 4 5 6 7
Hexa 0 1 2 3 4 5 6 7
Decimal: 8 9 10 11 12 13 14 15
Hexa 8 9 A B C D E F

C) (377)8 = (255)10
Write down the octal number:
377 and multiply each digit of the octal number by
The corresponding power of eight: 3x82 + 7x81 + 7x80
Then, solve the powers: 3x64 + 7x8 + 7x1

Add up the numbers written above:


192 + 56 + 7 = 255
Hence, (377)8 = (255)10.
D) (11111111)2 = (255)10
First, write down the binary number:
11111111
Then, multiply each digit of the binary number by the corresponding power of
two:1x2  + 1x2  + 1x2  + 1x2  + 1x2  + 1x2  + 1x2  + 1x2
7 6 5 4 3 2 1 0

Next, solve the powers:


1x128 + 1x64 + 1x32 + 1x16 + 1x8 + 1x4 + 1x2 + 1x1 = 128 + 64 + 32 + 16 + 8 +
4+2+1
Lastly, add up the numbers written above:
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255.
So, 255 is the decimal equivalent of the binary number 11111111.

E) (face)16 = (1111101011001110)2
First, look up each octal digit to obtain the equivalent group of four
binary digits. You can use the table below to make these conversions.
(F)16 = (1111)2
(A)16 = (1010)2
(C)16 = (1100)2
(E)16 = (1110)2
Then, group each value of step 1
1111 1010 1100 1110
Next, join these values and remove zeros at left (if necessary) to get
the binary result.
1111101011001110
So, 1111101011001110 is the binary equivalent of hexadecimal
number FACE.

Hexadecimal to Binary Conversion Table


Hexa 0 1 2 3 4 5 6 7
Bin: 0000 0001 0010 0011 0100 0101 0110 0111
Hexa 8 9 A B C D E F
Bin: 1000 1001 1010 1011 1100 1101 1110 1111
F) (1111101011001111)2 = (175317)8
First, write down the binary number
(001111101011001111)2
Then, group all the digits in sets of three starting from the LSB (far
right). Add zeros to the left of the last digit if there aren't enough digits
to make a set of three.
001 111 101 011 001 111
Next, use the table below to convert each set of three into an octal
digit. In this case, 001=1, 111=7, 101=5, 011=3, 001=1, 111=7.
So, the number 175317 is the octal equivalent to 1111101011001111
in binary.

To convert from binary to octal use the following table:


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

You might also like