📚 Navy AA – Quantitative Aptitude
Topic: Number System
A quick guide for beginners – short sentences, simple analogies, and tiny examples.
1. What is a Number System?
| Item | Description | Analogy |
|---|---|---|
| Digits | Small symbols that hold a value (0‑9 in decimal). | Think of them as parking spaces for numbers. |
| Base (Radix) | How many different digits you can use. | Like a parking lot that can hold X cars. |
| Number | A collection of digits that gives a value. | Like a row of cars where each car’s spot matters. |
2. Common Bases
| Base | Digits | Example | Everyday Use |
|---|---|---|---|
| Decimal (Base‑10) | 0–9 | 137 | Our normal counting system. |
| Binary (Base‑2) | 0,1 | 1011 | Computers use it. |
| Octal (Base‑8) | 0–7 | 27 | Used in some old code. |
| Hexadecimal (Base‑16) | 0–9, A–F | 1A3 | Handy for memory addresses. |
Tip:
Decimal is like a street with 10 houses.
Binary is a street with only 2 houses (yes/no, on/off).
3. How Numbers are Written
- The rightmost digit is the ones place.
- Moving left, each position is 10, 100, 1000… in decimal.
- In binary, each position is 2, 4, 8….
Example (Decimal 234):
2 3 4
| | |
200 + 30 + 4
4. Converting Between Bases
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 bottom‑up.
Tiny Example: Convert 5 to binary.
| Step | Quotient | Remainder |
|---|---|---|
| 1 | 5 ÷ 2 = 2 | 1 |
| 2 | 2 ÷ 2 = 1 | 0 |
| 3 | 1 ÷ 2 = 0 | 1 |
Binary = 101
4.2 Binary → Decimal
Multiply each binary digit by its power of 2, then add.
Tiny Example: Convert 101 to decimal.
(1 × 2²) + (0 × 2¹) + (1 × 2⁰)
= 4 + 0 + 1 = 5
4.3 Decimal ↔ Hexadecimal
Use 16 instead of 2. Remainders 10–15 become A–F.
Tiny Example: 31 → Hex
31 ÷ 16 = 1 remainder 15 → 1F
4.4 Octal ↔ Decimal
Use 8 instead of 2. Remainders 0–7 remain digits.
5. Arithmetic in Binary
| Operation | Simple Rule | Tiny Example |
|---|---|---|
| Addition | Add like decimal. Carry 1 when sum ≥ 2. | 1 + 1 = 10 |
| Subtraction | Borrow 1 when needed. | 10 – 1 = 1 |
| Multiplication | Shift left (×2) and add. | 11 × 10 = 110 |
| Division | Similar to long division. | 110 ÷ 10 = 11 |
Analogy:
Carry is like moving a coin from one jar to the next when the jar overflows.
6. Quick Practice Problems
1. Convert 13 (decimal) to binary.
2. Convert 1101 (binary) to decimal.
3. What is 7 (decimal) in hexadecimal?
4. Add 1011 and 110 in binary.
(Answers are in the next section.)
7. Common Pitfalls
| Mistake | Why it happens | How to fix |
|---|---|---|
| Forgetting the base | Mixing decimal and binary | Always note the base (e.g., 101₂). |
| Wrong carry in binary | Think of decimal carry (10) | In binary, carry is 1 when sum = 2. |
| Misreading remainders | Writing bottom‑up incorrectly | Write remainders top‑to‑bottom and read backwards. |
8. Answers to Practice Problems
| Problem | Answer |
|---|---|
| 1. 13 → binary | 1101 |
| 2. 1101₂ → decimal | 13 |
| 3. 7₁₀ → hex | 7 |
| 4. 1011 + 110 | 10001 |
9. Key Takeaways
- Base tells how many digits you can use.
- Conversion is just repeated division/re