How Computers Understand Information: Data Representation (Bits, Bytes, ASCII, Unicode, Images & Sound)
INTRODUCTION
Every time you send a WhatsApp message to a friend in Lagos, stream a Burna Boy song on Spotify, or upload a photo to Instagram, something incredible is happening behind the scenes. Your phone or computer is quietly converting everything — your words, your music, your selfies — into a language it understands. That language is not Yoruba, Igbo, Hausa, or English. It is a language made entirely of two tiny symbols: 0 and 1.
This might sound strange at first. How can a whole song or a full photograph be reduced to just zeros and ones? That is exactly what this lesson is going to show you — and by the time you finish reading, you will never look at your phone the same way again.
For SSS 1 students in Nigeria studying Computer Studies, this topic is one of the most important foundations you will ever learn. Understanding how data is represented inside a computer gives you the ability to understand how every digital device around you actually works.
LEARNING OBJECTIVES
By the end of this lesson, students should be able to:
- Define the terms bit, byte, and related units of data measurement
- Explain how the binary number system is used to represent data inside computers
- Identify the role of ASCII and Unicode in representing text characters
- Describe how images are stored and represented digitally
- Explain how sound is converted into digital data
- Demonstrate an understanding of how data representation applies to everyday digital activities
MAIN CONTENT
What Is Data Representation?
Data representation simply means the way in which information is stored, processed, and communicated inside a computer system. Computers do not understand human language directly. Instead, they work with electrical signals that are either ON or OFF — and these two states are represented as 1 (ON) and 0 (OFF).
Everything you see on a computer screen — text, photos, videos, audio — has been translated into combinations of these two values before the computer can work with it. This system of using only 0s and 1s is called the binary number system.
Bits and Bytes: The Building Blocks of All Digital Data
What Is a Bit?
The word "bit" comes from "binary digit." A bit is the smallest unit of data in a computer. It can only hold one of two values: 0 or 1. Think of a bit like a light switch — it is either off (0) or on (1). One single bit cannot do much on its own, but when you combine many bits together, they become powerful.
What Is a Byte?
A byte is a group of 8 bits. This is the standard unit used to measure data storage and memory. One byte is enough to represent a single character of text — for example, the letter "A" or the number "5."
Larger Units of Data
As data grows, we need bigger units to measure it. Here is how the units build on each other:
- 1 Bit = a single 0 or 1
- 8 Bits = 1 Byte
- 1,024 Bytes = 1 Kilobyte (KB)
- 1,024 Kilobytes = 1 Megabyte (MB)
- 1,024 Megabytes = 1 Gigabyte (GB)
- 1,024 Gigabytes = 1 Terabyte (TB)
Nigerian Real-Life Example: When you buy a Tecno or Infinix phone with 64GB of storage, that 64GB is 64 gigabytes — enough to hold thousands of photos, hundreds of songs, and dozens of apps. All of that is stored as billions of tiny 0s and 1s.
ASCII: Giving Letters a Number
Computers only understand numbers. So how do they display the letters of the alphabet? The answer is ASCII — which stands for American Standard Code for Information Interchange.
ASCII is a standard system that assigns a unique number to each character on a keyboard. For example:
- The letter A = 65
- The letter B = 66
- The letter a (lowercase) = 97
- The digit 0 (zero) = 48
- The space character = 32
When you type the word "HELLO" on your keyboard, your computer converts it into the ASCII numbers 72, 69, 76, 76, 79 — and then stores those numbers in binary. When it needs to display the word again, it reverses the process.
ASCII was designed originally for the English alphabet and covers 128 characters. This worked well for a long time, but it ran into a big problem: it could not represent characters from other languages like Arabic, Chinese, Yoruba tonal marks, or special symbols.
Unicode: One System for Every Language on Earth
Unicode was created to solve the limitations of ASCII. It is a much larger and more powerful character encoding system that assigns a unique number — called a code point — to every character used in every language in the world.
Unicode currently supports over 143,000 characters, including:
- Latin alphabets (English, French, etc.)
- Arabic script
- Chinese, Japanese, and Korean characters
- Mathematical symbols
- Emojis (yes, emojis are part of Unicode!)
Why This Matters for Nigerians: When you type in Yoruba with tonal marks, or when a website displays Hausa text correctly on your screen, Unicode is the system making that possible. Without Unicode, many Nigerian languages and scripts would be very difficult to represent digitally.
The most common version of Unicode used today is UTF-8, which is compatible with ASCII for standard English characters but can expand to accommodate thousands of other characters when needed.
How Images Are Represented Digitally
You may have noticed that when you zoom into a photo too much, it starts to look blurry and you can see tiny squares. Those squares are called pixels — and every digital image is made of them.
What Is a Pixel?
A pixel (short for "picture element") is the smallest unit of a digital image. Each pixel holds a specific colour value. When millions of pixels are arranged together on a screen, they form the complete image you see.
How Colour Is Stored
Each pixel stores colour information using a combination of three values: Red, Green, and Blue — often called the RGB model. Each of these three colours is given a value between 0 and 255 (which can be represented in 8 bits or 1 byte). This means each pixel uses 3 bytes (24 bits) to store its full colour information.
For example:
- Pure red = (255, 0, 0)
- Pure green = (0, 255, 0)
- Pure blue = (0, 0, 255)
- White = (255, 255, 255)
- Black = (0, 0, 0)
Resolution and Image Quality
The resolution of an image refers to how many pixels it contains. A higher resolution means more pixels, more detail, and a larger file size. This is why a high-quality photo from your camera takes up more storage space than a small thumbnail image.
Nigerian Context: When photographers at events like weddings in Abuja or Lagos shoot in high resolution, their image files can be several megabytes each — because each photo contains millions of pixels, all storing colour data in binary.
How Sound Is Represented Digitally
Sound in the real world is a continuous wave — it is analogue. But computers can only work with digital data (0s and 1s), so sound must be converted into a digital format before a computer can store or process it.
Sampling
This conversion is done through a process called sampling. A device (like a microphone) measures the sound wave at regular intervals — thousands of times per second. Each measurement is called a sample, and it is stored as a binary number.
The number of samples taken per second is called the sampling rate and is measured in Hertz (Hz). A CD, for example, uses a sampling rate of 44,100 Hz — meaning it captures 44,100 snapshots of the sound every single second. The higher the sampling rate, the better the sound quality, but the larger the file size.
Bit Depth
Along with sampling rate, bit depth affects sound quality. Bit depth refers to how many bits are used to store each sample. A higher bit depth means more detail and better accuracy in the recording.
Real-Life Nigerian Example: When a music producer in Alaba International Market records a track in a studio, the vocal and instrumental sounds are captured by microphones and converted into digital audio data using sampling. That data is then stored as binary and can be saved as an MP3, WAV, or other audio file format.
PRACTICAL APPLICATIONS
Here is how data representation shows up in your everyday life as a Nigerian student:
Mobile Phones: The contact names saved on your phone are stored using ASCII or Unicode. Every text message you send is converted into binary data before being transmitted.
Social Media: Every photo you post on Facebook or Instagram is stored as a grid of pixels with RGB values encoded in binary.
Music Streaming: When you play a song on Audiomack or Boomplay, the app is reading binary data that was created when the song was originally recorded and digitised.
Online Learning: The text you read on an educational website like this one is encoded in Unicode (UTF-8) so it displays correctly regardless of your browser or device.
Banking and Fintech: When you use apps like Opay, Kuda, or GTBank, every transaction, every digit, every account name is stored and transmitted as binary data.
ADVANTAGES AND DISADVANTAGES OF DIGITAL DATA REPRESENTATION
Advantages:
- Data can be stored on very small devices and transmitted quickly over networks
- Digital data can be copied perfectly without any loss of quality
- Binary systems are highly reliable because there are only two states (0 and 1) — less chance of error
- Universal standards like Unicode allow different systems and languages to communicate
Disadvantages:
- Converting analogue data (like natural sound or real-world images) to digital always involves some loss of information, no matter how small
- Large media files (especially high-resolution images and lossless audio) can consume significant storage space
- Without proper encoding standards, text in different languages can display incorrectly (known as character encoding errors or "garbled text")
ETHICAL AND SAFETY CONSIDERATIONS
As you learn about how data is stored and transmitted, it is equally important to think about how that data is used responsibly.
Privacy: Every message, photo, and recording you create is stored as data somewhere. Be careful about the kind of personal data you share online.
Data Security: Since all information is stored in binary, it can potentially be accessed, copied, or stolen if not properly protected. This is why encryption — which scrambles data into unreadable form — is so important.
Copyright: Digital music, images, and videos are people's creative work stored as data. Downloading or sharing them without permission is illegal and unethical.
Digital Responsibility: In Nigeria, cybercrime is a serious issue. Understanding how data works is also a responsibility — use that knowledge to protect yourself and others, not to cause harm.
CLASSROOM AND HOME ACTIVITIES
Activity 1 — ASCII Decoder: Write the following ASCII values on paper and ask students to decode the word they spell: 78, 73, 71, 69, 82, 73, 65. (Answer: NIGERIA)
Activity 2 — Bit and Byte Count: Give students a short word (e.g., "Lagos") and ask them to calculate how many bits and bytes are needed to store it using ASCII. (5 characters × 8 bits = 40 bits = 5 bytes)
Activity 3 — Pixel Art: Using graph paper, ask students to design a small 10×10 pixel image and colour each square. Discuss how each square represents one pixel and holds a colour value.
Activity 4 — Sound Wave Observation: Clap your hands once near a microphone connected to a computer with a free audio visualiser tool. Show students how the sound wave appears on screen, and explain that those waves are being sampled and stored as binary data in real time.
ASSESSMENT QUESTIONS
Objective Questions:
-
What is the smallest unit of data in a computer called? A. Byte B. Bit C. Kilobyte D. Nibble (Answer: B)
-
How many bits make up one byte? A. 4 B. 16 C. 8 D. 2 (Answer: C)
-
What does ASCII stand for? A. American Standard Code for Information Interchange B. Automated System for Computer Input Interface C. Advanced Standard Code for International Integration D. None of the above (Answer: A)
-
Which of the following was designed to support characters from all world languages, including emojis? A. ASCII B. Binary C. Unicode D. Hexadecimal (Answer: C)
-
The smallest unit of a digital image is called a: A. Sample B. Pixel C. Bit D. Frame (Answer: B)
Theory Questions:
-
Explain the difference between ASCII and Unicode. Why was Unicode necessary, and how does it benefit Nigerian computer users in particular?
-
Describe how sound is converted from an analogue signal to digital data. In your answer, explain the terms "sampling" and "sampling rate."
-
A student says: "A photo taken with a 108-megapixel camera will use more storage space than one taken with a 12-megapixel camera." Do you agree? Justify your answer using your knowledge of pixels, bits, and bytes.
SUMMARY
In this lesson, we have covered the following key points:
- A bit is the smallest unit of data, holding a value of 0 or 1. Eight bits make one byte.
- Data storage units go from bits → bytes → kilobytes → megabytes → gigabytes → terabytes.
- ASCII is a character encoding system that assigns numbers to 128 characters, mainly the English alphabet and basic symbols.
- Unicode is a more powerful encoding system that supports over 143,000 characters from every language in the world, including emojis.
- Digital images are made up of pixels. Each pixel stores colour information using the RGB model, encoded in binary.
- Sound is converted to digital data through sampling — measuring the sound wave thousands of times per second and storing each measurement as a binary number.
- All of these concepts connect directly to the apps, phones, and internet services Nigerians use every day.
CONCLUSION
Data representation might seem like a highly technical topic at first glance, but as we have seen, it is woven into almost every digital experience in your daily life — from typing a text message to listening to Afrobeats to taking photos at a family celebration. Understanding how computers represent text, images, and sound in binary is not just important for passing your SSS 1 Computer Studies exam. It is the foundation of understanding how the entire digital world is built.
As Nigeria continues to grow its technology sector — from fintech in Lagos to digital agriculture in Kaduna to e-government services across the federation — young Nigerians who understand these fundamentals will be the ones building the future. That journey starts here, with bits and bytes.
FREQUENTLY ASKED QUESTIONS (FAQ)
Q1: What is the difference between a bit and a byte? A bit is a single binary digit — either 0 or 1. A byte is a collection of 8 bits and is the standard basic unit used to measure file sizes and storage capacity.
Q2: Why do computers use binary (0s and 1s) instead of normal numbers? Computers are built from electronic components that work with electrical signals. It is easiest and most reliable to design circuits that recognise two states — current flowing (1) or not flowing (0). This is why binary is the natural language of all computers and digital devices.
Q3: Is ASCII still used today? Yes, ASCII is still used, especially for standard English text. However, it has largely been extended by Unicode (particularly UTF-8), which is backward-compatible with ASCII for the first 128 characters but supports thousands of additional characters.
Q4: How does image file size relate to resolution? A higher-resolution image contains more pixels. Since each pixel stores colour data (typically 3 bytes for RGB), more pixels means more bytes and therefore a larger file size. This is why professional photos from DSLR cameras are much larger files than smartphone thumbnails.
Q5: What is the difference between analogue and digital sound? Analogue sound is a continuous wave that varies smoothly over time — like sound waves in the real world. Digital sound is a series of discrete measurements (samples) taken from that wave at regular intervals. Digital sound can be stored on a computer; analogue sound cannot without first being converted.
Q6: How is Unicode important for Nigerian languages? Many Nigerian languages use characters, tonal diacritics, or script forms that are not covered by standard ASCII. Unicode assigns unique code points to these special characters, making it possible to write, store, and display Nigerian languages correctly on computers, phones, and websites.


0 Comments