Number System – Quantitative Aptitude Study Notes
(For Mizoram Patwari / Lekhpal Examination)
1. Simple Explanation
A number system is a way of representing numbers using a set of symbols (digits) and a base (radix).
| Base | Symbols | Example (decimal 45) | Representation |
|---|---|---|---|
| 2 (Binary) | 0,1 | 45 | 101101 |
| 3 | 0,1,2 | 45 | 1220 |
| 4 | 0,1,2,3 | 45 | 231 |
| 5 | 0–4 | 45 | 140 |
| 6 | 0–5 | 45 | 113 |
| 7 | 0–6 | 45 | 66 |
| 8 (Octal) | 0–7 | 45 | 55 |
| 9 | 0–8 | 45 | 50 |
| 10 (Decimal) | 0–9 | 45 | 45 |
| 12 | 0–9, A,B | 45 | 39 |
| 16 (Hexadecimal) | 0–9, A–F | 45 | 2D |
The base is the number of distinct digits before repeating. In the decimal system (base‑10) we have 0‑9.
Conversions between systems involve:
- Division‑and‑remainder (for base‑N to decimal or to any lower base)
- Multiplication‑by‑N (for decimal to base‑N)
2. Key Points
| Concept | What to Remember | Common Pitfall |
|---|---|---|
| Notation | 10⁰, 10¹, … for decimal; 2⁰, 2¹, … for binary; 16⁰, 16¹, … for hexadecimal. | Forgetting the base when writing powers. |
| Conversion (Base‑N → Decimal) | Sum of (digit × Nᶦ). | Mis‑ordering the positions (units, tens, etc.). |
| Conversion (Decimal → Base‑N) | Repeated division by N; remainders read bottom‑up. | Ignoring a remainder of 0. |
| Place Value | In base‑N, the value of a digit in position i is digit × Nᶦ. | Using decimal place values for other bases. |
| Digit Limits | Digit must be < N. | Using a digit equal to N (e.g., 8 in octal). |
| Hexadecimal Letters | A=10, B=11, C=12, D=13, E=14, F=15. | Confusing letters with alphabet positions. |
| Binary Arithmetic | 1+1=10, 1+1+carry=11, etc. | Forgetting carry propagation. |
| Decimal to Binary Example | 13 ÷ 2 = 6 r 1; 6 ÷ 2 = 3 r 0; 3 ÷ 2 = 1 r 1; 1 ÷ 2 = 0 r 1 → 1101. | Skipping the final division. |
3. Worked Example
Problem:
Convert the decimal number 415 to (a) binary, (b) octal, (c) hexadecimal.
(a) Decimal → Binary
Repeated division by 2:
| Quotient | Remainder |
|---|---|
| 415 ÷ 2 = 207 | 1 |
| 207 ÷ 2 = 103 | 1 |
| 103 ÷ 2 = 51 | 1 |
| 51 ÷ 2 = 25 | 1 |
| 25 ÷ 2 = 12 | 1 |
| 12 ÷ 2 = 6 | 0 |
| 6 ÷ 2 = 3 | 0 |
| 3 ÷ 2 = 1 | 1 |
| 1 ÷ 2 = 0 | 1 |
Read remainders bottom‑up → 110011111 (binary).
(b) Decimal → Octal
Repeated division by 8:
| Quotient | Remainder |
|---|---|
| 415 ÷ 8 = 51 | 7 |
| 51 ÷ 8 = 6 | 3 |
| 6 ÷ 8 = 0 | 6 |
Top‑to‑bottom → 637 (octal).
(c) Decimal → Hexadecimal
Repeated division by 16:
| Quotient | Remainder |
|---|---|
| 415 ÷ 16 = 25 | 15 (F) |
| 25 ÷ 16 = 1 | 9 |
| 1 ÷ 16 = 0 | 1 |
Top‑to‑bottom → 19F (hexadecimal).
Check (Hex → Dec)
(1\times16^2 + 9\times16^1 + 15\times16^0 = 256 + 144 + 15 = 415). ✔️
4. Quick Revision Summary
| Task | Formula / Method |
|---|---|
| Base‑N → Decimal | (\sum_{i=0}^{k} d_i \times N^i) |
| Decimal → Base‑N | Repeated division by N; collect remainders (bottom‑up). |
| Binary Add | 0+0=0, 0+1=1, 1+1=0 carry 1, 1+1+carry=1 carry 1. |
| Hex Letters | A=10, B=11, C=12, D=13, E=14, F=15. |
| Check Conversion | Convert back to decimal to verify. |
| Common Mistake | Mixing up place values or carrying. |
Practice Problem (for you)
- Convert 256 to binary, octal, and hexadecimal.
- Convert 7B₁₆ to decimal and binary.
Try solving them before checking the solutions below.
Solutions
-
256 → Binary: 100000000.
256 → Octal: 400.
256 → Hex: 100. -
7B₁₆ → Decimal: (7\times16 +