Introduction
Imagine trying to send a secret message using only two signals, like a flashlight turning on or off. Computers face a similar challenge: they need a simple way to represent all kinds of information using just two states.
Think of a bit as a tiny light bulb that can be either off or on. A byte is like a small box holding 8 of these bulbs. By turning different bulbs on or off, you can create patterns that represent letters, numbers, or pictures.
┌─────────────┐ │ Byte │ │ ┌─┬─┬─┬─┬─┬─┬─┬─┐ │ │ │0│1│0│1│1│0│0│1│ │ │ └─┴─┴─┴─┴─┴─┴─┴─┘ │ └─────────────┘ ↑ │ Bits (8 total) File Size Example: 1 Byte = 8 bits 1 KB = 1024 Bytes 1 MB = 1024 KB