Mental Model
Bits are tiny switches that can be on or off. Bit manipulation changes these switches directly to do fast math and logic.
Analogy: Imagine a row of light switches where each switch can be turned on or off. Bit operations flip, combine, or shift these switches to create new patterns.
Bits: 0 1 0 1 1 0 0 1 Positions: 7 6 5 4 3 2 1 0 Operations: AND, OR, XOR, NOT, <<, >>
