Octal Number System and Hexadecimal Number System: Stem Technology Assignment
Octal Number System and Hexadecimal Number System: Stem Technology Assignment
JEREMIAH PINI
PORT MORESBY NATIONAL HIGH SCHOOL
TIC: Mr. Bilson
Octal Number System
Introduction
The octal number system is a type of computer number system. What then is a number system? It is the
naming, representing or expressing of numbers. Binary number system, decimal number system,
hexadecimal number system and octal number system are for basic ways of representing numbers.
Base Type, Symbol, and the Idea behind the Octal Number System
Octal number system has a base of 8 or is a type of computer number system that uses the Base-8 system
in which the numbers 0 to 7 are used. Therefore, any number which has a base of eight is an octal number
system. The symbol of octal is used to represent numbers that have base 8. Octal numbers are written using
the prefix letter o before the numeral, for example, o04 or o1242. Octal numbers may also be represented
with a a suffix 8 to the lower right, such as 1098. Basically, any number with this representation or has a
base of eight or is an octal number system.
To understand an octal number system the position of every digit has a weight which is a power of 8. Each
position in the octal system is 8 times more significant than the previous position, meaning that the
numeric value of an octal number is influenced by multiplying each digit of the number by the value of the
position in which the digit appears and then summing the products. So, it is also a positional (or weighted)
number system.
Most Significant Bit (MSB) Octal Point Least Significant Bit (LSB)
65.125 =1x82+0x81+1x80+1x8-1=101.10
Here, right most bit 0 is the least significant bit (LSB) and left most bit 1 is the most significant bit (MSB).
(21)10=2x81+5x80=(25)8
Thus, decimal value 21 is equivalent to 25 in Octal Number System.
1. First and foremost, since it uses less digits than hexadecimal and decimal number system, it
has fewer calculations and less calculational errors.
2. It as a very simple conversion process from binary to octal and vice versa.
3. The input and output of the octal form is easier to handle.
4. This number system is one third of the binary number system.
The disadvantages:
1. Since a computer doesn’t understand the octal number system an additional circuitry known
as octal to binary converters are required before it is applied onto the digital system.
Position of every digit has a weight which is a power of 16. Each position in the Hexadecimal system is 16
times more significant than the previous position, that means numeric value of a hexadecimal number is
determined by multiplying each digit of the number by the value of the position in which the digit appears
and then adding the products. So, it is also a positional (or weighted) number system.
Hex digit 8 9 A = 10 B = 11 C = 12 D = 13 E = 14 F = 15
Hexadecimal number system is similar to octal number system. Hexadecimal number system provides
convenient way of converting large binary numbers into more compact and smaller groups.
Most Significant Bit Hex Point Least Significant Bit (LSB)
(MSB)
162 161 160 16-1 16-2 16-3
Since base value of Hexadecimal number system is 16, so the maximum value of digit is 15 and it can not
be more than 15. In this number system, the successive positions to the left of the hexadecimal point
having weights of 160, 161, 162, 163and so on. Similarly, the successive positions to the right of the
hexadecimal point having weights of 16-1, 16-2, 16-3and so on. This is called base power of 16. The decimal
value of any hexadecimal number can be determined using sum of product of each digit with its positional
value.
512=2x162+0x161+0x160=200
Here, right most bit 0 is the least significant bit (LSB) and left most bit 2 is the most significant bit (MSB).
2015.0625=7x162+13x161+15x160+1x16-1=7DF.10
Here, right most bit 0 is the least significant bit (LSB) and left most bit 7 is the most significant bit (MSB).
Example-3 A decimal number 21 to represent in Hexadecimal representation
(21)10=1x161+5x160=(15)16
So, decimal value 21 is equivalent to 15 in Hexadecimal Number System.
Counting:
When F16 is reached, similar in increasing from 910 to 1010 in decimal, we roll up to 1016:
Once 1F16 is reached, roll up to 2016 and keep churning the right-most digit from 0 to F.
Reference:
https://www.electronics-tutorials.ws/binary/bin_3.html
https://www.vedantu.com/maths/octal-number-system
https://learn.sparkfun.com/tutorials/hexadecimal/alF
https://www.tutorialspoint.com/hexadecimal-number-system
https://www.tutorialspoint.com/octal-number-system