OCTAL to HEXADECIMAL conversion
Before understanding the concept of octal to hexadecimal conversion we must have some idea about octal and hexadecimal number system…
Octal number system
An octal system or it is called the base eight system .The digits in octal maths are 0,1,2,3,4,5,6,7.The value of “!” is written as eight and 0 as ones or 108 .
Hexadecimal number system
In the hexadecimal,we need to have the digits from 0 through 15.for this single solitary digits are required that stands for the values of 11,12,13,14,15 i.e.in counting the hexadecimal the sixteen hexadecimal numerals are-
In other words A is 10 in regular basis,B is 11,c is 12 and so on…
OCTAL TO HEXADECIMAL conversion
While converting from octal to hexadecimal unit, it is a usual practice to convert the octal to hexadecimal by converting the octal number into binary digit and then further to from binary to hexadecimal.For example to convert the number 536 from octal to hexadecimal.
Convert 536 from octal to hexadecimal number
Convert 536(octal) into its binary equivalent we get
(536)8 = (101) (011) (110)
Now forming the group of 4 binary bits to obtain its hexadecimal equivalent,
(101011110)2= (0001) (0101) (1110)
So the hexadecimal number of 536 is 15E.
1.WHAT ARE THE BASE VALUES OF OCTAL AND HEXADECIMAL??
The base value of octal number system is 8 and that of the hexadecimal number system is 16.
2.WHAT ARE THE BASIC TWO STEPS FOR THE CONVERSION FROM OCTAL TO HEXADECIMAL???
a)conversion from octal to binary
b)conversion from binary to hexadecimal