ALGORITHM AND DATA STRUCTURE
Download the Lessonotes Mobile Ghana app for faster lesson access on Android and iPhone.
Subject: Computing
Class: SHS 2
Term: 2nd Term
Week: 3
Grade code: 2.2.1.LI.2
Strand code: 2
Sub-strand code: 1
Content standard code: 2.2.1.CS.1
Indicator code: 2.2.1.LI.2
Theme: COMPUTATIONAL THINKING (PROGRAMMING LOGIC)
Subtheme: ALGORITHM AND DATA STRUCTURE
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.
In our daily lives, we are constantly organising things to make them easier to find and use. We arrange books on a shelf, create a list of items to buy at the market, or queue for a tro-tro. In the world of computing, we do the same with data. Data Structures are the special methods computers use to organise data efficiently. Understanding them is crucial because they are the foundation of the apps we use every day, from WhatsApp and TikTok to Mobile Money and the GhanaPostGPS system. This lesson will explore these fundamental building blocks and connect them to real-world technologies we see and use here in Ghana.
What is a Data Structure?
Think of a library. If all the books were just thrown in a big pile in the middle of the room, finding a specific book would be almost impossible. A library organises books using a system (e.g., by genre, then alphabetically by author's name). This system is a "structure" that makes it easy to store, find, and manage the books.
A Data Structure is a specialised format for organising, processing, retrieving, and storing data in a computer. It is a way of arranging data so that it can be used efficiently. Different data structures are designed for different kinds of problems.
Let's explore some of the most common ones.