
25/01/2024
Computer processes information in binary code. in lieu of how computer and its component works, components such as control unit, transistors and others are operated using on/off which is represented as binary digits 0s and 1s.
The binary system forms the foundation of all computer operations from simple to complex task.
The binary (base-2) isn't the only number base used for programming or mathematical expression. Below are other common and uncommon number base used by programmers.
Commonly used by programmers are decimal (base-10), Octal (base-8) and Hexadecimal (base-16).
Here are the uncommon number base used too.
3. Ternary (base-3): Uses 0, 1, and 2.
4. Quaternary (base-4): Uses 0, 1, 2, and 3.
5. Quinary (base-5): Uses 0, 1, 2, 3, and 4.
6. Senary (base-6): Uses 0,1, 2, 3 and 5
7. Septenary (base-7): Uses 0, 1, 2, 3, 4, 5, and 6.
9. Nonary (base-9): Uses 0, 1, 2, 3, 4, 5, 6, 7, and 8.
11. Undecimal (base-11): Uses 0 through 9 and A.
12. Duodecimal (base-12): Uses 0 through 9 and A, B.
Till Hexadecimal (base-16) and so on.
It's important to commit the usage to memory by understanding that each base counts less (