Binary Numbering System
Binary Number system is the way of Computer to communicate.
In a normal number system, Decimal is Ten (10), which is 0 to 9.
But in Binary, which is Bi mean two. So only 0 and zero.
In a Binary system, there is On and Off.
1 equal to On and 0 equal to Off.
For example : 1010110, equal to On, Off, On, Off, On, On and Off
To represent a number in Binary, we must make a power of 2 from the right side.
For example, 123. So at the first we make the table of 2 power:
128 | 64| 32 | 16 | 8 | 4 | 2 | 1
And then we fill it, according to the table.
128 | 64| 32 | 16 | 8 | 4 | 2 | 1
0 1 1 1 1 0 1 1
So from 123, we get the binary number is 111011.
At this video, we only use 8 bit system. So its only from 1 until 128 as the maximum number
Octal Numbering System
Octal Numbering System is also called base 8 number system. Because it must be multiply or divide by 8.
So for the first, we make the table of 8 power from the right side. Which is:
512 | 64 | 8 | 1
We can freely fill the table. For example like this table,
| 512 | 64 | 8 | 1 |
4 3 6
So the result is, (4 x 64) + (3 x 8) + (6 x 1) = 286.
Or the other example is like this Table:
Decimal | Octal |
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
8 | 10 |
9 | 11 |
10 | 12 |
That’s is the converted number from decimal to octal. Which is from 0 to 7 has the same number.
But from 8 or more, it has a different number. Because we must fill it according to the table.