In this topic you have to learn how to do conversion in computer because computer only understand binary numbers 0 and 1 form. So this topic is totally depend on how we do conversion like -

  • Decimal to Binary
  • Binary to Decimal
  • Octal to Binary
  • Binary to Octal
  • Hexadecimal to Binary
  • Binary to Hexadecimal
Number Sytem Base Range
Binary Number 2 0-1
Decimal Number 10 0-9
Octal Number 8 0-7
HexaDecimal Number 16 0-9 and A-F

 


Decimal to Binary
In Decimal to Binary conversion. The number is having base 10. so you prime factorize that number by 2 only and what remainder you get after every factorization is in the form of 0 and 1. Below is the solution how we convert Decimal number system to Binary Number system.




Binary to Decimal
In Binary to decimal conversion, For example you get binary number like 101010 with base 2 then you convert this binary value to decimal. You start from right side and start counting from 0. for detailed explanation watch the below video in which i discussed two methods for conversion of Binary to Decimal.
  


                                 
Octal to Binary
In Octal to binary conversion, The base of Octal number is 8 and its range is from 0-7 and In case of Binary number system its base is 2 and its range is from 0-1.
Watch the below vedio to understand the concept in easy way.



Binary to Octal
Binary to Octal conversion is not so tough. In this type of conversion you convert the binary number into Octal number by making the pair of three binary numbers from right side and put the value 124 from right side onwards and compare the binary values with this term and where you get 1 add that number in pair and where you get 0 leave that number, similarly you do for all pairs of binary numbers.
second method is first you convert binary number system to Decimal number system and then convert Decimal Number system to octal number system. Watch the below video for detailed explanation.






Hexadecimal to Binary
In the conversion of Hexadecimal to Binary, Hexadecimal numbers having base 16 and its range from 0-9 and 10-A, 11-B, 12-C, 13-D, 14-E, 15-F. in the conversion we use only numbers upto 9 and after that we use Alphabets. First you convert Hexadecimal to Decimal number system and then you convert Decimal to Binary. Other method is also there in which you convert directly from Hexadecimal to Binary.



Binary to Hexadecimal
Similarly what you understand the concept in Binary to Octal same concept is applied here. In  this  conversion you make the pair of 4 binary numbers from right side  and below right 1248 from right side onward and similarly compare the binary values with that numbers. then add those numbers what you get in pairs and then right that number in sequence you will get Hexadecimal number system. Watch the below video for concept clarity.