Units of Storage in Computer
Download the Lessonotes Mobile Nigeria 2025 app for faster lesson access on Android and iPhone.
Subject: Information Technology (IT)
Class: Junior Secondary 2
Term: 1st Term
Week: 7
Theme: Basic Computer Operations And Concepts
This page supports the lesson note with a companion video and a short classroom-ready summary.
For class groups and homework, share this lesson page so learners also get the summary, objectives, and full lesson context.
state the various units of storage and the ir values; convert from one unit to another; differentiate between kilometer, kilogram and kilobyte; distinguish between kilobyte, megabyte and gigabyte.
Introduction to Data Storage: Computers process and store information digitally. This information, whether it's text, pictures, videos, or programs, needs to be measured, just like we measure length in metres or weight in kilograms. The units of storage tell us how much data a computer can hold or process.
The Smallest Unit: The Bit The fundamental unit of digital information is the Bit. A Bit is a binary digit, representing either a '0' or a '1'. It's the smallest piece of data a computer can understand. Think of it like an electrical switch being either 'off' (0) or 'on' (1).
Grouping Bits: Nibbles and Bytes While a bit is the smallest, it's usually too small to be practical for everyday measurement. Bits are grouped together to form larger units: Nibble: A group of 4 bits. (Not commonly used for storage measurement, but good to know).
Byte (B): A group of 8 bits. This is the fundamental unit for measuring file sizes and storage capacity. A single character (like 'A', 'b', '7', or '!') typically occupies 1 Byte of storage. The Hierarchy of Storage Units Larger quantities of data are measured using prefixes, similar to how grams become kilograms.
However, in computer storage, these units are based on powers of 2 (specifically 1024), not 1000, because computers use binary (base-2) mathematics. | Unit | Abbreviation | Value in Bytes | Value in previous unit | | :---------- | :----------- | :------------------ | :--------------------- | | Bit | bit | 1/8 Byte | - | | Byte | B | 8 bits | - | | Kilobyte | KB | 1,024 Bytes | 1,024 B | | Megabyte | MB | 1,024 Kilobytes | 1,024 KB | | Gigabyte | GB | 1,024 Megabytes | 1,024 MB | | Terabyte | TB | 1,024 Gigabytes | 1,024 GB | | Petabyte | PB | 1,024 Terabytes | 1,024 TB | | Exabyte | EB | 1,024 Petabytes | 1,024 PB | (For JSS2, focus primarily on Bytes, KB, MB, GB, and TB.)
Conversion Principles: To convert between these units, remember the magic number:
1
0
2
4. To convert from a larger unit to a smaller unit: Multiply by
1
0
2
4. Example: To convert MB to KB, multiply the MB value by
1
0
2
4. To convert from a smaller unit to a larger unit: Divide by
1
0
2
4. Example: To convert KB to MB, divide the KB value by
1
0
2
4. Worked Examples for Conversion:
1. Example 1: Converting Bytes to Kilobytes (Smaller to Larger)
Question: A student typed an essay that is 5,120 Bytes. How many Kilobytes (KB) is this?
Solution: We need to convert Bytes to KB. Since Bytes are smaller than KB, we divide. 1 KB = 1024 Bytes Number of KB = Total Bytes / 1024 Number of KB = 5120 Bytes / 1024 Bytes/KB Number of KB = 5 KB Answer: The essay is 5 KB.
2. Example 2: Converting Megabytes to Kilobytes (Larger to Smaller)
Question: A popular Gospel song is 4 MB in size. How many Kilobytes (KB) is this?
Solution: We need to convert MB to KB. Since MB is larger than KB, we multiply. 1 MB = 1024 KB Number of KB = Total MB × 1024 Number of KB = 4 MB × 1024 KB/MB Number of KB = 4096 KB Answer: The song is 4096 KB.
3. Example 3: Converting Gigabytes to Megabytes (Larger to Smaller)
Question: A student bought a new 8 GB flash drive. How many Megabytes (MB) does it contain?
Solution: We need to convert GB to MB. Since GB is larger than MB, we multiply. 1 GB = 1024 MB Number of MB = Total GB × 1024 Number of MB = 8 GB × 1024 MB/GB Number of MB = 8192 MB * Answer: The flash drive contains 8192 M
B. Differentiating between Kilometer, Kilogram, and Kilobyte: It is crucial for students to understand that 'kilo-' is a prefix meaning 'one thousand', but the unit it flash drive. How many Megabytes (MB) does it contain?
Solution: We need to convert GB to MB. Since GB is larger than MB, we multiply. 1 GB = 1024 MB Number of MB = Total GB × 1024 Number of MB = 8 GB × 1024 MB/GB Number of MB = 8192 MB Answer: The flash drive contains 8192 M
B. Differentiating between Kilometer, Kilogram, and Kilobyte: It is crucial for students to understand that 'kilo-' is a prefix meaning 'one thousand', but the unit it attaches to defines what is being measured.
Kilometer (km): A unit of distance or length.
Example: The distance from Lagos to Abuja is approximately 530 kilometers.
Kilogram (kg): A unit of mass or weight.
Example: A bag of rice in the market typically weighs 50 kilograms.
Kilobyte (KB): A unit of digital data storage.
Example: A short text message or a very small image might be a few kilobytes in size. Distinguishing between Kilobyte (KB), Megabyte (MB), and Gigabyte (GB): These three units are the most commonly encountered in daily computing. Their primary distinction lies in their relative size.
Kilobyte (KB): Size: The smallest of the three. Roughly 1,000 Bytes (precisely 1024 Bytes).
Typical Use: Used for very small files like simple text documents (e.g., an email without attachments), small icons, or basic software instructions. A typical text document with a few paragraphs is usually a few KBs.
Megabyte (MB): Size: Much larger than a Kilobyte. Roughly 1,000 Kilobytes (precisely 1024 KB).
Typical Use: Used for larger files like standard photographs taken with a phone camera, MP3 audio files (songs), short video clips, or smaller software applications. A typical photo might be 2-5 MB, and an average song is 3-8 M
B. Gigabyte (GB): Size: Significantly larger than a Megabyte. Roughly 1,000 Megabytes (precisely 1024 MB).
Typical Use: Used for very large files, such as full-length movies, video games, operating systems (like Windows or Android), large software suites, and measuring the total capacity of storage devices like hard drives, SSDs, and most modern flash drives and smartphone storage. A typical movie might be 1-5 GB, and a smartphone's internal storage is commonly 64 GB, 128 GB, or 256 G
B. Analogy for Size Comparison (Nigerian Context): Imagine: Kilobyte (KB): Like a single grain of rice.
Megabyte (MB): Like a small handful of rice, or a small cup of rice. * Gigabyte (GB): Like a full 50kg bag of rice. This analogy helps students grasp the immense difference in scale.
Teacher Activities: Introduction (5 minutes): The teacher displays a flash drive, an external hard drive (if available), and possibly a smartphone or its empty box showing storage capacity (e.g., 64GB).
Ask students questions like: "What do these devices have in common?", "What do the numbers '32GB', '64GB', or '256GB' on these devices mean?", "Why is it important to know how much space you have on your phone?" Introduce the topic: "Units of Storage in Computer" as the way we measure this 'space' or 'capacity'. Concept Explanation and Unit Hierarchy (15 minutes): Define 'Bit', 'Nibble', and 'Byte' clearly on the whiteboard. Present the full hierarchy of storage units (Bytes, KB, MB, GB, TB) on the board or using a chart. Emphasize the '1024' relationship. Provide simple, relatable examples for each unit, e.g., "A single character is 1 Byte," "A small text file is a few KB," "A song is a few MB," "A movie is a few GB," "A computer's hard drive is usually hundreds of GB or a few TB." Conversion Demonstration (15 minutes): The teacher demonstrates step-by-step how to convert units, starting with smaller to larger (division) and then larger to smaller (multiplication). Use the worked examples provided in the "Key Concepts" section. Encourage students to follow along and ask questions. Differentiation and Distinction (10 minutes): The teacher writes "Kilometer," "Kilogram," and "Kilobyte" on the board. The teacher asks students what each term measures, guiding them to understand distance, mass, and data storage respectively.
Use Nigerian context: "How many kilometres from our school to the nearest market?", "How many kilograms is a bag of garri?", "How many kilobytes is a simple WhatsApp message?" The teacher then focuses on KB, MB, and GB, reiterating their relative sizes and typical real-world applications (e.g., "A student's project document vs. a selfie vs. a downloaded Nollywood movie").
Activity Planning: The teacher prepares small group or individual tasks for students.
Student Activities: Note-taking: Students actively listen, copy definitions, the hierarchy of units, and conversion rules from the board/chart into their notebooks.
Q&A Participation: Students respond to teacher's questions and ask their own questions for clarification. Conversion Practice (Individual/Pair Work - 10 minutes): Students attempt simple conversion problems given by the teacher on their own or in pairs. The teacher monitors and provides immediate feedback.
Example: "Convert 2048 Bytes to KB," "Convert 2 MB to KB." Discussion/Group Work (5 minutes): In small groups, students discuss where they have encountered these units in their daily lives (e.g., "My dad's phone storage is 128GB", "My data bundle is 1GB", "I downloaded a song that was 5MB"). Students articulate the differences between Kilometer, Kilogram, and Kilobyte using their own examples.
Review: Students review their notes and conversions. The teacher should guide students through these problems, explaining each step.
Question: A student wants to save a picture from a website, and the file size is listed as 3072 K
B. How many Megabytes (MB) is this picture?
Solution: We are converting from Kilobytes (KB) to Megabytes (MB). Since KB is a smaller unit than MB, we will divide by 1024. 1 MB = 1024 KB Number of MB = 3072 KB / 1024 KB/MB Number of MB = 3 MB
Commentary: This helps students understand actual photo sizes on their phones.
Question: A local musician is recording an album. One of the tracks is 5 M
B. If he records 10 such tracks, what would be the total size of the album in Megabytes?
Solution: Size of one track = 5 MB Number of tracks = 10 Total size = Size of one track × Number of tracks Total size = 5 MB × 10 Total size = 50 MB
Commentary: This practical scenario relates to local content creation and understanding cumulative file sizes.
Question: Consider the terms: Kilogram, Kilobyte, and Kilometer. a) Which one is used to measure the amount of data on a flash drive bought from Computer Village, Lagos? b) Which one is used to measure the weight of fruits bought in the market? c) Which one is used to measure the length of a road connecting two towns in Nigeria?
Solution: a) Kilobyte (or Megabyte/Gigabyte for larger drives). b) Kilogram. c) Kilometer.
Commentary: This directly addresses Performance Objective 3, ensuring students can differentiate these common terms within a Nigerian context.
Question: Your mother wants to download a Nollywood movie that is 1.5 GB. If her internet data plan has 2048 MB remaining, can she download the movie completely? Explain your answer.
Solution: Movie size = 1.5 GB Remaining data = 2048 MB To compare, we need to convert one of the units. Let's convert the movie size from GB to MB. 1 GB = 1024 MB Movie size in MB = 1.5 GB × 1024 MB/GB = 1536 MB Compare: Movie size (1536 MB) is less than remaining data (2048 MB).
Answer: Yes, she can download the movie completely because 1.5 GB is equal to 1536 MB, which is less than the 2048 MB remaining data.
Commentary: This is a multi-step problem that incorporates conversion and practical decision-making, highly relevant to data usage in Nigeria.
Mobile Phone and Data Bundle Management: Students constantly interact with storage units when checking their phone's internal storage, available space on their SD cards, or understanding the size of apps they want to download (e.g., "This new game is 500 MB, do I have enough space?"). The concept of MB and GB is crucial for managing mobile data bundles (e.g., a 1 GB data plan means 1024 MB of internet usage) and understanding why watching a long video consumes data faster than sending text messages. This helps students make informed choices about data consumption, a significant cost factor for many Nigerian families. Purchasing and Understanding Device Specifications: When purchasing smartphones, laptops, flash drives, or external hard drives in Nigerian markets (e.g., Computer Village in Lagos, or local electronics stores), understanding storage units (GB, TB) helps consumers make informed decisions. A 128GB phone offers more storage than a 64GB one for storing photos, videos, and applications. This knowledge helps them avoid being oversold or buying devices that don't meet their storage needs.
File Management and Sharing: Students use storage units to gauge the size of files they are working with. For instance, knowing that an assignment document is a few KB, while a photo from their phone is a few MB, and a school project video could be several GB, influences how they share these files (e.g., email attachments have size limits, while cloud storage or flash drives are better for larger files). It also helps them organize their files by deleting unnecessary large files to free up space, especially relevant for devices with limited storage common in many Nigerian homes.