Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

Unit 3: Binary Number System

Lesson 23 of 34 in the free Fundamentals of IT & Computers notes on Siksha Sarovar, written by Rohit Jangra.

Unit III — Binary Number System

The binary number system (Base-2) uses only two digits: 0 and 1. Every piece of data inside a computer — instructions, numbers, text, images — is ultimately stored and processed as binary values. The digits 0 and 1 map directly to off (low voltage) and on (high voltage) in digital circuits.

---

Binary Terminology

TermMeaning
BitA single binary digit (0 or 1) — smallest unit of data
Nibble4 bits (e.g., 1010)
Byte8 bits (e.g., 10110011)
Word16, 32, or 64 bits depending on architecture
Kilobyte (KB)1024 bytes = 2¹⁰ bytes
Megabyte (MB)1024 KB = 2²⁰ bytes
Gigabyte (GB)1024 MB = 2³⁰ bytes

---

Binary to Decimal Conversion

Method: Multiply each bit by its place value (power of 2) and sum.

Place values (right to left): 2⁰=1, 2¹=2, 2²=4, 2³=8, 2⁴=16, 2⁵=32, 2⁶=64, 2⁷=128 …

Example: Convert (10110101)₂ to decimal

Bit10110101
Position76543210
Place Value1286432168421
Value128032160401

Sum = 128 + 32 + 16 + 4 + 1 = 181 So (10110101)₂ = (181)₁₀

---

Decimal to Binary Conversion

Method: Repeated Division by 2 — divide by 2 repeatedly and note remainders.

Example: Convert (45)₁₀ to binary

DivisionQuotientRemainder
45 ÷ 2221 ← LSB
22 ÷ 2110
11 ÷ 251
5 ÷ 221
2 ÷ 210
1 ÷ 201 ← MSB

Read remainders bottom to top: (45)₁₀ = (101101)₂

Verification: 1×32 + 0×16 + 1×8 + 1×4 + 0×2 + 1×1 = 32+8+4+1 = 45 ✓

---

Binary Fractions

For fractional binary numbers, positions to the right of the binary point use negative powers of 2:

  • 2⁻¹ = 0.5, 2⁻² = 0.25, 2⁻³ = 0.125

Example: (0.101)₂ = 1×0.5 + 0×0.25 + 1×0.125 = 0.625

Decimal fraction to binary: Multiply repeatedly by 2, record integer part.

Example: Convert (0.625)₁₀ to binary:

  • 0.625 × 2 = 1.25 → 1
  • 0.25 × 2 = 0.5 → 0
  • 0.5 × 2 = 1.0 → 1

Read top to bottom: (0.625)₁₀ = (0.101)₂

Key Takeaway: Binary is the language of computers. The key conversions are binary↔decimal using place value (B→D) and repeated division/multiplication by 2 (D→B). Memorise powers of 2 up to 2¹⁰ = 1024 for quick exam work.