Welcome to the World of Digital Measuring!
Ever wondered why a high-quality movie takes forever to download, but a simple text message sends in a split second? Or why your phone suddenly tells you its storage is full? It all comes down to Units. In this chapter, we’ll learn how computers measure information and how you can calculate exactly how much space your files will take up. Don’t worry if the numbers seem big at first—once you learn the patterns, it’s as easy as measuring ingredients for a cake!
1. Why do we use Binary?
Computers are full of billions of tiny electronic switches. These switches can only be in one of two states: ON or OFF. Because of this, computers don't understand the numbers we use (0-9). They use Binary (Base 2), which uses only two digits: 1 (for ON) and 0 (for OFF).
Did you know? Every single photo, song, and game on your computer is actually just a massive list of 1s and 0s!
2. The Ladder of Units
Just like we use grams and kilograms to measure weight, we use different units to measure data. We start tiny and get much, much bigger.
The Smallest Units
• Bit: The smallest possible unit. A single 0 or 1.
• Nibble: A group of 4 bits.
• Byte: A group of 8 bits. (This is the most important unit to remember!)
The Larger Units
To go from a Byte to the next level, we usually multiply by 1,000 (though the exam also accepts 1,024).
• Kilobyte (1 KB): 1,000 Bytes.
• Megabyte (1 MB): 1,000 Kilobytes.
• Gigabyte (1 GB): 1,000 Megabytes.
• Terabyte (1 TB): 1,000 Gigabytes.
• Petabyte (1 PB): 1,000 Terabytes.
Memory Aid: The Mnemonic
To remember the order from smallest to largest, try this:
"Big Ninjas Bite King-sized Meatballs Generally Toasted Perfectly"
(Bit, Nibble, Byte, Kilobyte, Megabyte, Gigabyte, Terabyte, Petabyte)
Quick Review Box:
8 Bits = 1 Byte
1,000 Bytes = 1 KB
1,000 KB = 1 MB
1,000 MB = 1 GB
3. Converting Between Units
Converting units is like moving up and down a ladder.
Moving DOWN the ladder (e.g., GB to MB): You are moving to a smaller unit, so you will have a larger number of them. Multiply by 1,000.
Moving UP the ladder (e.g., KB to MB): You are moving to a larger unit, so you will have a smaller number of them. Divide by 1,000.
Common Mistake to Avoid: Don't forget the number 8! When moving between Bits and Bytes, you multiply or divide by 8. For everything else (KB, MB, GB), use 1,000.
4. Calculating File Sizes
The exam will ask you to calculate how much storage a specific file needs. There are three main formulas you need to know.
A. Text Files
To find the size of a text file, you need to know how many bits are used for each character.
\( \text{File size (bits)} = \text{bits per character} \times \text{number of characters} \)
B. Image Files
The size of an image depends on its dimensions (resolution) and how many colors it can show (colour depth).
\( \text{File size (bits)} = \text{width (px)} \times \text{height (px)} \times \text{colour depth (bits)} \)
C. Sound Files
For sound, we look at the quality of the recording (sample rate), how long it is (duration), and the detail of each sample (bit depth).
\( \text{File size (bits)} = \text{sample rate (Hz)} \times \text{duration (s)} \times \text{bit depth} \)
Important Tip: These formulas usually give you the answer in bits. To convert that to Bytes, you must divide the final answer by 8.
5. Capacity and Storage Requirements
Storage devices like SD cards, Hard Drives, and USB sticks have fixed capacities (e.g., a 16 GB USB stick). In the exam, you might be asked if a set of files will fit on a certain device.
Step-by-Step Process:
1. Calculate the size of each individual file using the formulas above.
2. Add all the file sizes together to get the Total Size.
3. Make sure the Total Size and the Storage Capacity are in the same units (convert them both to MB or both to GB).
4. Compare: If the Total Size is smaller than the Capacity, it fits!
Example: Can you fit two 600 MB videos on a 1 GB USB stick?
1. Total size = \( 600 + 600 = 1,200\text{ MB} \).
2. USB Capacity = 1 GB = 1,000 MB.
3. 1,200 MB is more than 1,000 MB, so No, it won't fit!
Key Takeaway: Always check your units! You can't compare Megabytes to Gigabytes directly—you must convert one of them first.
Summary Checklist
• Can I list the units from Bit to Petabyte in order?
• Do I know that computers use binary because they are made of switches?
• Can I use the formulas for Text, Image, and Sound file sizes?
• Do I remember to divide by 8 to turn bits into Bytes?
• Can I explain why 1.2 GB of data won't fit on a 1 GB drive?