A number system is a way of writing and representing numbers using symbols or digits.
For example, the decimal number system is the one we use in everyday life. It uses 10 digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
In computers, common number systems are:
| Number system | Base | Digits used | Example |
|---|---|---|---|
| Binary | 2 | 0, 1 | 1010 |
| Octal | 8 | 0–7 | 157 |
| Decimal | 10 | 0–9 | 245 |
| Hexadecimal | 16 | 0–9, A–F | 2AF |
Simple definition: A number system is a method used to represent numbers using a set of digits according to certain rules.
Example: Decimal system
We normally use the decimal number system, which has base 10.
The digits are:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Consider 345:
So, 10 is the radix/base.
Easy way to remember
Base = number of symbols available in the number system.
- Base 2 → 2 digits → 0, 1
- Base 8 → 8 digits → 0 to 7
- Base 10 → 10 digits → 0 to 9
- Base 16 → 16 symbols → 0 to 9 and A to F

No comments:
Post a Comment