📚 Study Notes – Number System
Program: Rajasthan Police Constable
Subject: Quantitative Aptitude
Topic: Number System
1. What is a Number System?
A number system is a way to write numbers using a set of symbols (digits) and rules.
Think of it like a language – each system has its own “alphabet” and “grammar”.
| System | Digits Used | Base (How many symbols) | Everyday Example |
|---|---|---|---|
| Decimal (Base‑10) | 0,1,2,3,4,5,6,7,8,9 | 10 | Our normal counting system |
| Binary (Base‑2) | 0,1 | 2 | Computer “yes/no” lights |
| Octal (Base‑8) | 0–7 | 8 | Old telephone dial codes |
| Hexadecimal (Base‑16) | 0–9, A–F | 16 | Color codes on websites (#FF5733) |
2. Why Do We Need Different Systems?
- Computers use binary (0 & 1) because it’s easy to power on/off a transistor.
- Humans prefer decimal because it’s simpler to count.
- Hexadecimal is a shortcut to write binary numbers in a compact form.
3. Converting Between Systems
3.1 Decimal → Binary
Rule: Divide by 2, keep the remainder.
Example: Convert 13 to binary.
| Division | Remainder |
|---|---|
| 13 ÷ 2 = 6 remainder 1 | |
| 6 ÷ 2 = 3 remainder 0 | |
| 3 ÷ 2 = 1 remainder 1 | |
| 1 ÷ 2 = 0 remainder 1 |
Write remainders from bottom to top: 1101₂.
3.2 Binary → Decimal
Rule: Multiply each bit by (2^{\text{position}}) and sum.
Example: 1101₂ →
(1×2^3 + 1×2^2 + 0×2^1 + 1×2^0 = 8+4+0+1 = 13_{10}).
3.3 Decimal → Hexadecimal
Rule: Divide by 16, keep the remainder.
Example: 255 →
255 ÷ 16 = 15 remainder 15 (F)
15 ÷ 16 = 0 remainder 15 (F)
Result: FF₁₆.
3.4 Hexadecimal → Decimal
Rule: Multiply each hex digit by (16^{\text{position}}).
Example: FF₁₆ →
(15×16^1 + 15×16^0 = 240 + 15 = 255_{10}).
4. Common Operations in Different Bases
| Operation | Decimal | Binary | Hexadecimal |
|---|---|---|---|
| Addition | 7 + 5 = 12 | 0111 + 0101 = 1100 | 0x7 + 0x5 = 0xC |
| Subtraction | 12 – 5 = 7 | 1100 – 0101 = 0111 | 0xC – 0x5 = 0x7 |
| Multiplication | 3 × 4 = 12 | 0011 × 0100 = 1100 | 0x3 × 0x4 = 0xC |
Tip: When doing binary, treat it like decimal addition but only use 0 and 1, and carry 1 when sum ≥ 2.
5. Quick Practice Problems
-
Convert 19 to binary.
Hint: 19 ÷ 2 → remainders. -
Find the decimal value of 10101₂.
-
Write 31 in hexadecimal.
Hint: 31 ÷ 16 → remainder 15. -
Add 1101₂ + 1010₂.
6. Everyday Analogy
- Decimal = Your usual grocery list (1 apple, 2 oranges).
- Binary = Light switches: ON = 1, OFF = 0.
- Hexadecimal = A shortcut note: “A” means 10, “F” means 15.
Just like you can write a recipe in different languages, numbers can be written in different systems. The key is knowing the rules of each language.
7. Quick Summary
| Concept | Key Point |
|---|---|
| Number System | Set of digits + base |
| Decimal | Base‑10, everyday use |
| Binary | Base‑2, computer language |
| Hexadecimal | Base‑16, compact binary |
| Conversion | Repeated division/remainder |
| Operations | Same rules, different digits |
Remember: Practice converting small numbers first; it builds muscle memory for quick mental math during exams.
Happy studying! 🚀