📚 Number System – Study Notes
(For West Bengal Police Sub‑Inspector Quantitative Aptitude – Beginner Level)
1. What Is a Number System?
A number system is just a way we write numbers.
- In our everyday life we use decimal (base‑10).
- Computers use binary (base‑2).
- Other systems (octal, hexadecimal) are just shortcuts that computers love.
Think of it like writing a recipe:
- Decimal = writing every ingredient in whole units.
- Binary = writing only “on” or “off”.
- Hexadecimal = writing ingredient amounts in a shorthand that saves space.
2. The Four Most Common Systems
| System | Base | Digits Used | Everyday Use |
|---|---|---|---|
| Decimal | 10 | 0‑9 | Money, phone numbers, school marks |
| Binary | 2 | 0,1 | Computer memory, switches |
| Octal | 8 | 0‑7 | Older computer systems |
| Hexadecimal | 16 | 0‑9, A‑F | Computer memory, colors in web design |
Key idea: The base tells us how many different digits we can use before we need to carry over to the next place.
3. Place Value – The “House” Analogy
Imagine each digit is a house in a row.
- The right‑most house is the ones house (1’s place).
- Move left: tens house, hundreds house, thousands house, and so on.
- In binary, the houses are powers of 2 (1, 2, 4, 8, …).
- In decimal, the houses are powers of 10 (1, 10, 100, 1000, …).
Example:
Number 527 in decimal
- 7 in the ones house (7 × 1)
- 2 in the tens house (2 × 10)
- 5 in the hundreds house (5 × 100)
Add them: 5×100 + 2×10 + 7×1 = 527.
4. Converting Decimal to Binary (and Back)
Decimal → Binary
- Divide the decimal number by 2.
- Write down the remainder (0 or 1).
- Repeat with the quotient until it becomes 0.
- The binary number is the remainders read backwards.
| Step | Quotient | Remainder |
|---|---|---|
| 1 | 13 ÷ 2 = 6 | 1 |
| 2 | 6 ÷ 2 = 3 | 0 |
| 3 | 3 ÷ 2 = 1 | 1 |
| 4 | 1 ÷ 2 = 0 | 1 |
Read remainders from bottom to top → 1101.
So, 13 (decimal) = 1101 (binary).
Binary → Decimal
Add the powers of 2 for each ‘1’ in the binary string.
1101₂ = 1×8 + 1×4 + 0×2 + 1×1 = 13₁₀.
5. Converting Between Other Bases
Because computers like base‑2, we usually:
- Convert the original number to decimal.
- Convert decimal to the desired base.
Example: Convert 13 (decimal) to hexadecimal.
- Decimal 13 → binary 1101 (from above).
- Group binary digits in groups of 4 from the right:
1101. - 1101₂ = 13₁₀ → In hex, 13 is written as D.
So, 13₁₀ = D₁₆.
6. Quick Rules for Divisibility (Decimal)
| Rule | How to Check |
|---|---|
| Divisible by 2 | Last digit is even (0,2,4,6,8). |
| Divisible by 3 | Sum of digits is divisible by 3. |
| Divisible by 5 | Last digit is 0 or 5. |
| Divisible by 10 | Last digit is 0. |
Tip: These rules help you spot multiples quickly without long division.
7. Everyday Applications
| Context | Number System Used | Why It Helps |
|---|---|---|
| Digital clocks | Binary (for internal calculations) | Efficient for processor time‑keeping |
| Web colors | Hexadecimal | Short, human‑readable code (e.g., #FF5733) |
| Phone numbers | Decimal | Easy to read and dial |
| Computer memory | Binary | Each bit is a switch (on/off) |
8. Mini Practice Problems
- Convert 45 (decimal) to binary.
- What is 1011₂ in decimal?
- Write 27 (decimal) in hexadecimal.
- Is 1234 divisible by 2? By 3?
Answers:
- 101101
- 11
- 1B
- Yes (2), No (3).
9. Summary
- A number system is just a language for numbers.
- Decimal is our everyday language; binary