Number System – Quick Study Notes
(Designed for NABARD Grade‑A Quantitative Aptitude – Beginner Level)
1. What is a Number System?
- A number system is a way of writing numbers.
- It tells you which digits you can use and how big each digit’s place is.
- The most common system in daily life is the decimal system (base 10).
- In computers we also use binary (base 2), octal (base 8), and hexadecimal (base 16).
Analogy
Think of a number system like a set of building blocks.
The blocks have labels (digits) and a size (value of the place).
When you stack them you build a number.
2. Place Value (Why the rightmost digit matters)
| Place | Weight (value) |
|---|---|
| 1st (rightmost) | 1 |
| 2nd | 10 |
| 3rd | 100 |
| 4th | 1 000 |
| … | … |
- In binary, the weights are powers of 2: 1, 2, 4, 8, 16, …
- In octal, the weights are powers of 8: 1, 8, 64, …
- In hexadecimal, the weights are powers of 16: 1, 16, 256, …
Tiny Example
Number: 345 in decimal
- 3 × 100 = 300
- 4 × 10 = 40
- 5 × 1 = 5
- Total = 345
3. Common Number Systems
| System | Base | Digits Used | Example |
|---|---|---|---|
| Decimal (Base 10) | 10 | 0–9 | 256 |
| Binary (Base 2) | 2 | 0, 1 | 1101 |
| Octal (Base 8) | 8 | 0–7 | 527 |
| Hexadecimal (Base 16) | 16 | 0–9, A–F | 1A3 |
Tip
The letter A in hex means 10, B = 11, … F = 15.
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 the quotient is 0.
- The binary number is the remainders read bottom‑to‑top.
Example: Convert 13 to binary
| Step | Quotient | Remainder |
|---|---|---|
| 1 | 13 ÷ 2 = 6 | 1 |
| 2 | 6 ÷ 2 = 3 | 0 |
| 3 | 3 ÷ 2 = 1 | 1 |
| 4 | 1 ÷ 2 = 0 | 1 |
Binary = 1101
4.2 Binary → Decimal
- Write the binary digits with their place values (powers of 2).
- Multiply each digit by its place value.
- Add all the products.
Example: Convert 1010 to decimal
| Digit | Position (from right) | Weight | Product |
|---|---|---|---|
| 0 | 0 | 1 | 0 |
| 1 | 1 | 2 | 2 |
| 0 | 2 | 4 | 0 |
| 1 | 3 | 8 | 8 |
Decimal = 0 + 2 + 0 + 8 = 10
4.3 Decimal → Hexadecimal
- Divide by 16.
- Remainder → hex digit (0‑9, A‑F).
- Repeat with quotient until 0.
Example: 31 →
- 31 ÷ 16 = 1 remainder 15 → 15 = F
- 1 ÷ 16 = 0 remainder 1
Hex = 1F
5. Simple Rules for Binary Arithmetic
| Operation | How to do it |
|---|---|
| Addition | 0+0=0, 0+1=1, 1+0=1, 1+1=0 with carry 1 |
| Subtraction | 0‑0=0, 1‑0=1, 1‑1=0, 0‑1=1 with borrow 1 |
| Multiplication | Same as decimal but only 0 or 1, no carries needed |
Tiny Example – Binary Addition
Add 101 (5) and 11 (3)
101
+ 011
-----
1000 (8)
- 1+1 = 0 carry 1
- 0+1 + carry 1 = 0 carry 1
- 1 + 0 + carry 1 = 0 carry 1
- Final carry 1 → new leftmost digit
Result = 1000 (decimal 8).
6. Quick Cheat Sheet
| Question | Quick Thought |
|---|---|
| “What is 0 in binary?” | 0 |
| “Is 101 a valid binary number?” | Yes – digits are 0 or 1 |
| “12 in hex?” | C (because 12 = 8 + 4) |
| “How many digits in 1000₂?” | 4 (since 2³ = 8 ≤ 1000₂ |