Discover how computers use electricity to represent information using only two states: on and off.
How does a machine made of metal and plastic 'know' your name or show a movie? It all comes down to millions of tiny light switches flipping on and off faster than you can blink.
Humans typically use the decimal system (Base-10), likely because we have ten fingers. In Base-10, we use digits through . When we run out of digits, we move to the next 'place value' (tens, hundreds, etc.). Computers, however, are made of electronic circuits that are either on or off. Because there are only two states, they use the binary system (Base-2). In binary, the only available digits are and . Instead of powers of ten, each place value in binary represents a power of two: , and so on.
Let's look at the binary number . To find its decimal value, we map it to powers of : 1. The rightmost digit is . Here, it is . 2. The middle digit is . Here, it is . 3. The leftmost digit is . Here, it is . 4. Calculation: . So, .
Quick Check
If a binary number is , what is its value in our normal decimal system?
Answer
6
A single binary digit ( or ) is called a bit, which is short for Binary Digit. A bit is the smallest unit of data a computer can process. However, one bit can't tell us much. To represent more complex information like letters or colors, computers group bits together. The most common grouping is a byte, which consists of 8 bits. One byte can represent (or ) different values, which is enough to represent every character on a standard keyboard.
How many different values can you represent with 4 bits? 1. Each bit has possibilities ( or ). 2. For bits, the number of combinations is . 3. Calculation: . 4. These values range from () to ().
Quick Check
How many bits are contained in 3 bytes of data?
Answer
24 bits
Inside a computer's processor are billions of microscopic components called transistors. A transistor acts like a physical switch. When electricity flows through it (High Voltage), it represents a 1. When the flow is blocked (Low Voltage), it represents a 0. By combining these switches into complex patterns called logic gates, computers can perform math, move data, and run software. This is why binary is the 'native language' of hardware; it is a direct reflection of the physical state of electricity.
What is the highest decimal number a single byte (8 bits) can represent? 1. The largest 8-bit number is . 2. This equals . 3. Calculation: . 4. Note: While the max value is , there are total possibilities because we include .
Which of the following represents the number of possible values in a 3-bit system?
What physical state usually represents a binary '1' in computer hardware?
A byte is composed of exactly 10 bits.
Review Tomorrow
In 24 hours, try to write down the first eight powers of 2 ( through ) from memory.
Practice Activity
Try to convert your favorite single-digit number into a 4-bit binary code (e.g., if your number is 7, it would be 0111).