16. Base System (Binary/Decimal) Basics

Base system ka basic concept: base-10 (decimal) vs base-2 (binary), place value, conversion (binary↔decimal), quick tricks, common errors, SSC CGL level examples & practice with answers.

← Prev: Trailing Zeros in n! Next: Base Conversion (Advanced) →

1) Base / Radix kya hota hai?

Base (radix) = kitne digits allowed hain.

2) Place value (general formula)

Agar number (akak-1...a1a0)b ho, to value: Σ ai × bi (i=0 to k)

Example: (345)10

3×102 + 4×101 + 5×100 = 300 + 40 + 5 = 345

Example: (1011)2

1×23 + 0×22 + 1×21 + 1×20 = 8 + 0 + 2 + 1 = 11

3) Binary → Decimal (direct method)

Binary digits ko powers of 2 ke weights se multiply karke add kar do.

Binary Calculation Decimal
(1101)2 1×8 + 1×4 + 0×2 + 1×1 13
(10010)2 1×16 + 0×8 + 0×4 + 1×2 + 0×1 18
(111111)2 32+16+8+4+2+1 63

4) Decimal → Binary (division by 2 method)

Number ko 2 se repeatedly divide karo. Jo remainders aayen, unko reverse order me likho.

Example: 13 to binary

Division Quotient Remainder
13 ÷ 261
6 ÷ 230
3 ÷ 211
1 ÷ 201

Remainders bottom-to-top: 1101 ⇒ (1101)2

5) Quick binary facts (SSC handy)

6) Binary addition (mini example)

(1011)2 + (110)2 = ?

1011 +0110 =10001 ⇒ (10001)2 = 17

7) Common traps


8) Practice (SSC CGL) + Answers

  1. Convert (10101)2 to decimal.
  2. Convert 25 to binary.
  3. Convert (11100)2 to decimal.
  4. Is (1001)2 odd or even?
  5. Find decimal value of (1 00000)2 (i.e., 1 followed by 5 zeros).
  6. Add: (111)2 + (1)2.
Show Answers
  1. (10101)2 = 16 + 4 + 1 = 21
  2. 25 = 16+8+1 ⇒ (11001)2
  3. (11100)2 = 16 + 8 + 4 = 28
  4. Ends with 1 ⇒ odd
  5. 1 followed by 5 zeros ⇒ 25 = 32
  6. (111)2 + (1)2 = (1000)2
← Prev Next →