Since there is binary point here and fractional part. Since there is no binary point here and no fractional part. This is simple algorithm where you have to grouped binary number and replace their equivalent octal digit.Įxample-1 − Convert binary number 1010111100 into octal number. So, these are following steps to convert a binary number into octal number.ĭivide the binary digits into groups of three (starting from right) for integer part and start from left for fraction part.Ĭonvert each group of three binary digits to one octal digit. Note that you can add any number of 0’s in leftmost bit (or in most significant bit) for integer part and add any number of 0’s in rightmost bit (or in least significant bit) for fraction part for completing the group of 3 bit, this does not change value of input binary number. That will be octal number of given number number. So, if you make each group of 3 bit of binary input number, then replace each group of binary number from its equivalent octal digits. Since, there are only 8 digits (from 0 to 7) in octal number system, so we can represent any digit of octal number system using only 3 bit as following below. However, there is also a direct method to convert a binary number into octal number − grouping which is explained as following below. That means weight of the positions from right to left are as 8 0, 8 1, 8 2, 8 3 and so onfor the integer part and weight of the positions from left to right are as 8 -1, 8 -2, 8 -3 and so on.for the fractional part.Įxample − Convert binary number 10010110 into octal number. Since number numbers are type of positional number system. Then you need to convert it octal number. First, you need to convert a binary into other base system (e.g., into decimal, or into hexadecimal). You can convert using direct methods or indirect methods. There are various ways to convert a binary number into octal number. Octal number system provides convenient way of converting large binary numbers into more compact and smaller groups. Conversion from Binary to Octal number system Whereas Octal number is one of the number systems which has value is 10 and it has only 8 symbols: 0, 1, 2, 3, 4, 5, 6, and 7. Since digital electronics have only these two states (either 0 or 1), so binary number is most preferred in modern computer engineer, networking and communication specialists, and other professionals. Binary is the simplest kind of number system that uses only two digits of 0 and 1 (i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |