Octal Number System has a base of eight and uses the numbers from 0 to 7. The octal numbers, in the number system, are usually represented by binary numbers when they are grouped in pairs of three. For example, an octal number 128 is expressed as 0010102 in the binary system, where 1 is equivalent to 001 and 2 is equivalent to 010.
Octal Number System |
Base – 8 |
Octal Symbol – 0, 1, 2, 3, 4, 5, 6 and 7 |
Definition
A number system which has its base as ‘eight’ is called an Octal number system. It uses numbers from 0 to 7. Let us take an example, to understand the concept. As we said, any number with base 8 is an octal number like 248, 1098, 558, etc.
Like Octal number is represented with base 8, in the same way, a binary number is represented with base 2, a decimal number with base 10 and the hexadecimal number is represented with base 16.
Examples of these number systems are:
- 222 is a binary number
- 10010 is a decimal number
- 4016 is a hexadecimal number
If we solve an octal number, each place is a power of eight.
- 1248 = 1 × 82 + 2 × 81 + 4 × 80
Octal Numbers System Table
We use only 3 bits to represent Octal Numbers. Each group will have a distinct value between 000 and 111.
Note: Octal number system supports digits from 0 to 7. Beyond 7, such as 8 and 9 are not octal digits. For example, 19 is not an octal number.
Decimal to Octal Number
To convert decimal to octal numbers, the octal dabble method is used. In this method, the decimal number is divided by 8 each time, it yields or gives a remainder. The first remainder we get is the least significant digit(LSD) and the last remainder is the most significant digit(MSD). Let us understand the conversion with the help example.
Example on Decimal to Octal
Problem: Suppose 560 is a decimal number, convert it into an octal number.
Solution: If 560 is a decimal number, then,
560/8 = 70 and the remainder is 0
70/8 = 8 and the remainder is 6
8/8 = 1 and the remainder is 0
And 1/8 = 0 and the remainder is 1
So the octal number starts from MSD to LSD, i.e. 1060
Therefore, 56010 = 10608
Problem: Convert 0.52 into an octal number.
Solution: The fraction part of the decimal number has to be multiplied by 8.
0.52 × 8 = 0.16 with carry 4
0.16 × 8 = 0.28 with carry 1
0.28 × 8 = 0.24 with carry 2
0.24 × 8 = 0.92 with carry 1
So, for the fractional octal number, we read the generated carry from up to down.
Therefore, 4121 is the octal number.
Octal to Decimal
To convert an octal number to a decimal number we need to multiply each digit of the given octal with the reducing power of 8.
Let us learn here, the conversion of Octal number to Decimal Number or base 8 to base 10.
Examples on Octal to Decimal
Example 1: Suppose 2158 is an octal number, then it’s decimal form will be,
2158 = 2 × 82 + 1 × 81 + 5 × 80
= 2 × 64+ 1 × 8 + 5 × 1 = 128 + 8 + 5
= 14110
Example 2: Let 125 is an octal number denoted by 1258. Find the decimal number.
1258 = 1× 82 + 2 × 81 + 5 × 80
= 1 × 64 + 2 × 8 + 5 × 1 = 64+16+5
=8510
Binary To Octal Number
A binary number can be converted into an octal number, with the help of the below-given table.
Example on Binary to Octal
Example: Convert (100010)2 to an octal number.
Solution: With the help of the table we can write,
100→4
and 010→2
Therefore, (100010)2 = 42
Similarly, we can convert an octal number to a binary number with the help of the table.
Octal to Hexadecimal Number
Hexadecimal numbers consist of numbers and alphabets. It is represented with base 16. The numbers from 0-9 are represented in the usual form, but from 10 to 15, it is denoted as A, B, C, D, E, F. Conversion of the octal number to hexadecimal requires two steps.
- First, convert octal numbers to decimal numbers.
- Then, convert decimal numbers to hexadecimal numbers.
Example
Let us understand with the help of an example. We will take the same example, where we have converted the octal numbers to decimal, such as;
(55)8 = (45)10
Now, convert (45)10 into a hexadecimal number by dividing 45 by 16 until you get a remainder less than 16.
Therefore, we can write, (45)10 = (2D)16
Octal Multiplication Table
Applications
The octal Number system is widely used in computer application sectors and also in the aviation sector to use the number in the form of code.
Based on octal number system applications, several computing systems are developed. All the modern generation computing system uses 16-bit, 32-bit or 64-bit word which is further divided into 8-bit words. Similarly, for various programming languages, octal numbers are used to do coding or to write the encrypted language, which is only understood by the computing machine.
Also in the aviation sector or field or say aviation industry, Transponders used in the aircraft transmit a code which is expressed as four octal digit number. These codes are interrogated by ground radar.
Importance
The octal number system uses less digits (3-bits) than hexadecimal numbers (4-bits), which is one of the advantages. It is therefore, there will be less computations and the possibility of the occurrence of error will degrade.
Because of less digits, it is also easy to convert octal to any other number system and vice-versa.
One of the disadvantages is that computers do not understand the octal numbers in a direct way and hence it has to be converted into binary numbers first.
Problems and Solutions
Q.1: Convert 2758 to a decimal number.
Solution: 2 x 82 + 7 x 81 + 5 x 80
= 64×2 + 8×7 + 1×5
= 128 + 56 + 5
= 189
Therefore, 2758 = 18910
Q.2: Convert decimal number 139 into an equivalent octal number.
Solution: We need to divide 139 by 8 repeatedly, till the quotient is 0.
Now take the remainders from down to up to get the equivalent octal number.
13910 = 2138
Q.3: Convert the octal number 540 into a binary number.
Solution: Given, 540 is the octal number
By the octal number table, we can get the binary equivalent of each digit.
5 → 101
4 → 100
0 → 000
Therefore,
5408 = 1011000002
&
Win
0 Comments