Introduction to Units of Information
Welcome! In this chapter, we are going to explore how computers measure information. Just like we use grams to measure weight or meters to measure distance, computers use specific units to measure data. Don't worry if you aren't a "maths person"—once you learn the patterns, these measurements are as simple as counting by thousands!
The Building Blocks: Bits and Bytes
At their most basic level, computers are made of billions of tiny electronic switches. Because a switch can only be on or off, computers use a system called binary to represent everything.
What is a Bit?
A bit is the smallest possible unit of information a computer can hold. The word "bit" comes from Binary Digit.
- A bit can only ever be one of two values: 0 or 1.
- Think of a bit like a single light switch: it is either down (0) or up (1).
- In shorthand, we use a lowercase b to represent a bit.
What is a Byte?
A single bit can't tell us very much, so computers group them together. A byte is a group of 8 bits working together.
- A byte is the smallest "addressable" unit of memory, usually enough to store a single character (like the letter 'A').
- In shorthand, we use an uppercase B to represent a byte.
Quick Review Box:
- 1 bit (b) = a single 0 or 1.
- 1 byte (B) = 8 bits.
Measuring Larger Quantities
We rarely talk about single bytes anymore because modern files are huge! To make things easier, we use prefixes. For your AQA exam, you need to know the decimal prefixes. These are based on powers of 10, meaning each step up is 1,000 times larger than the one before it.
The Four Key Prefixes
1. Kilobyte (kB): 1 kB is 1,000 bytes. (Roughly the size of a very short email).
2. Megabyte (MB): 1 MB is 1,000 kilobytes. (Roughly the size of a 1-minute MP3 song).
3. Gigabyte (GB): 1 GB is 1,000 megabytes. (Roughly the size of a high-definition movie).
4. Terabyte (TB): 1 TB is 1,000 gigabytes. (The capacity of a modern hard drive).
Memory Aid: To remember the order from smallest to largest, use this mnemonic:
King Midas Gets Treasures
(Kilo, Mega, Giga, Tera)
Did you know?
In the past, some people used "1,024" to calculate these units because computers work in binary ($2^{10} = 1,024$). However, for the AQA 8525 syllabus, you should always use 1,000 when working with these specific decimal prefixes (kB, MB, GB, TB) in your exam.
Comparing and Converting Units
Sometimes an exam question will ask you to compare two amounts or convert between them. The trick is to remember if you are going up the scale or down the scale.
How to convert:
- To go from a larger unit to a smaller unit (e.g., GB to MB), you multiply by 1,000.
- To go from a smaller unit to a larger unit (e.g., kB to MB), you divide by 1,000.
- To turn bytes into bits, you multiply by 8.
Example Calculation:
If you have a 2 GB file and want to know how many MB that is:
\( 2 \times 1,000 = 2,000 \text{ MB} \)
If you have 4,000 kilobytes and want to know how many Megabytes that is:
\( 4,000 \div 1,000 = 4 \text{ MB} \)
Common Mistake to Avoid:
Don't mix up b (bits) and B (bytes)! If a question asks for the number of bits in 2 bytes, the answer is 16 (\( 2 \times 8 \)). If it asks for bytes, the answer is just 2. Always read the letter case carefully!
Section Summary: Key Takeaways
- The bit is the fundamental unit (0 or 1).
- 8 bits make up 1 byte.
- kB, MB, GB, and TB increase by factors of 1,000.
- Use 1,000 for calculations, not 1,024.
- b = bit, B = Byte.