📚 Study Notes: Number System
For the Jail Warder’s Quantitative Aptitude (Jail Warder Program)
1. What is a Number System?
A number system is a way of writing numbers using a fixed set of symbols (called digits) and a rule that tells you how the position of each digit matters.
Everyday analogy
- Think of a phone keypad.
- Pressing 1 gives the digit 1.
- Pressing 2 gives 2, 3, or A (if you’re using a phone that supports letters).
- The same idea works for numbers: the set of symbols and the “place value” rule decide how we read the number.
2. Common Number Systems
| System | Base | Digits Used | Everyday use | Quick example |
|---|---|---|---|---|
| Decimal | 10 | 0‑9 | Every day counting, money | 245 (two‑hundred‑fifty‑five) |
| Binary | 2 | 0,1 | Computers, digital electronics | 1011 (eleven in decimal) |
| Octal | 8 | 0‑7 | Rarely used by laymen, sometimes in programming | 17 (one‑seven) |
| Hexadecimal | 16 | 0‑9, A‑F | Computer memory addresses, color codes | 1A3 (one‑A‑three) |
Base = number of unique digits the system uses.
3. Place Value – The “Weight” of Each Digit
Just like a stack of blocks, each block on the left side is heavier (has more weight) than the one on its right.
- Decimal
- 3 4 5
- 5 is ones (3×10² + 4×10¹ + 5×10⁰)
- Binary
- 1 0 1 1
- 1×2³ + 0×2² + 1×2¹ + 1×2⁰
Tiny Example
Decimal 23
- 2 in tens place → 2×10 = 20
- 3 in ones place → 3×1 = 3
- 23 = 20 + 3
4. Converting Between Systems
4.1 Decimal ➜ Binary
- Divide the number by 2.
- Write down the remainder (0 or 1).
- Repeat with the quotient until it becomes 0.
- Read the remainders backwards.
Tiny Example – Convert 6 to binary
| Step | Quotient | Remainder |
|---|---|---|
| 1 | 6 ÷ 2 = 3 | 0 |
| 2 | 3 ÷ 2 = 1 | 1 |
| 3 | 1 ÷ 2 = 0 | 1 |
- Remainders (bottom‑to‑top): 110
- 6 (decimal) = 110 (binary)
4.2 Binary ➜ Decimal
- Start from the rightmost digit.
- Multiply each digit by 2 raised to the position index (starting at 0).
- Add them up.
Tiny Example – Convert binary 101 to decimal
- 1×2² = 4
- 0×2¹ = 0
- 1×2⁰ = 1
- Sum = 4 + 0 + 1 = 5
4.3 Decimal ➜ Hexadecimal
Same as decimal ➜ binary, but divide by 16.
Use letters A‑F for remainders 10‑15.
Tiny Example – Convert 26 to hex
- 26 ÷ 16 = 1 remainder 10 → A
- 1 ÷ 16 = 0 remainder 1
- Result (backwards): 1A
- 26 (decimal) = 1A (hex)
4.4 Hexadecimal ➜ Decimal
Multiply each hex digit by 16 raised to the position index, then add.
Tiny Example – Convert hex 3F to decimal
- 3×16¹ = 48
- F (15)×16⁰ = 15
- Sum = 48 + 15 = 63
5. Quick Practice Problems
| # | Problem | Answer |
|---|---|---|
| 1 | 13 (decimal) → binary | 1101 |
| 2 | 1010 (binary) → decimal | 10 |
| 3 | 7 (decimal) → octal | 7 |
| 4 | 15 (decimal) → hex | F |
| 5 | 23 (decimal) → binary, then back to decimal | 10111 → 23 |
(Try solving them before checking the answers!)
6. Tips for the Jail Warder
| Tip | Why it helps |
|---|---|
| Write it out | Seeing the steps reduces mistakes. |
| Check the result | Convert back to confirm you didn’t slip. |
| Use a calculator | For quick conversions in exams. |
| Practice with everyday numbers | 10, 16, 64 are quick to remember. |
7. Summary
- A number system is a way to write numbers using a set of digits.
- Decimal (base 10) is what we use daily.
- Binary (base 2), octal (base 8), and hexadecimal (base 16) are common in computing.
- Converting involves dividing by the base (decimal→another) or multiplying by powers of the base (another→decimal).
- Practice a few conversions, and you’ll be quick at solving aptitude questions.
Good luck, and keep those digits in order! 🚓📏