Table of Contents

    Binary Number System

    đŸ’ģ Binary Number System

    📘 Introduction:

    The Binary Number System is a base-2 number system. It is used internally by almost all modern computers and digital systems.

    • It uses only two digits:
      0 and 1

    Each binary digit is known as a bit, and every bit represents a power of 2 based on its position.


    đŸ”ĸ Digits Used:

    
    0, 1
    
    

    🧠 Positional Value Concept:

    Just like the decimal system (base-10), the binary system also follows a positional number system, where:

    Value of a binary number =
    dₙ × 2âŋ + dₙ₋₁ × 2âŋâģ¹ + ... + d₁ × 2¹ + d₀ × 2⁰


    ✅ Example:

    (1101)₂

    Step-by-step breakdown:

    
    = 1 × 2Âŗ + 1 × 2² + 0 × 2š + 1 × 2⁰  
    = 8 + 4 + 0 + 1  
    = (13)₁₀
    
    

    ✅ More Examples:

    Example:

    
    = 1 × 2Âŗ + 0 × 2² + 1 × 2š + 0 × 2⁰  
    = 8 + 0 + 2 + 0  
    = (10)₁₀
    
    

    (1010)₂

    Example :

    (10001)₂

    
    = 1 × 2⁴ + 0 × 2Âŗ + 0 × 2² + 0 × 2š + 1 × 2⁰  
    = 16 + 0 + 0 + 0 + 1  
    = (17)₁₀
    
    

    🔄 Counting in Binary:

    Binary Decimal
    0000 0
    0001 1
    0010 2
    0011 3
    0100 4
    0101 5
    0110 6
    0111 7
    1000 8

    💡 Applications of Binary:

    • Used in digital electronics

    • Microprocessors and memory represent all values in binary

    • All data in computers (text, image, sound) is stored in binary format


    🧾 Summary:

    Feature Value
    Base 2
    Digits Used 0, 1
    Positional System Yes
    Used In Computers, electronics, logic gates