141k views
5 votes
The hexadecimal number is 0xFEE. what will be the octal number of this?

User WaZ
by
5.0k points

1 Answer

5 votes

Answer:

0xFEE₁₆ = 7756₈

Explanation:

Convert the hexadecimal number to decimal first

0xFEE

E = 14

F = 15

Then convert them to binary


(14)/(2)=7

Remainder = 0


(7)/(2)=3

Remainder = 1


(3)/(2)=1

Quotient = 1

Remainder = 1


(15)/(2)=7

Remainder = 1


(7)/(2)=3

Remainder = 1


(3)/(2)=1

Quotient = 1

Remainder = 1

0 F E E

0000 1111 1110 1110

Take groups of three

and multiply with
2^n where n is the place of the digit

111 111 101 110

4,2,1 4,2,1 4,2,1 4,2,1

4+2+1 4+2+1 4+0+1 4+2+0

7756

So, 0xFEE₁₆ = 7756₈

User Thorfin
by
5.4k points