Skip to content

Data Science Basics – SS2 Digital Technologies Lesson Note (Second Term)

Download this term · ₦1,000

Lesson note at a glance

Subject
Digital Technologies
Class
SS2
Term
Second Term
Topic
Data Science Basics
Order
Topic 5 of 8 this term
Reading time
5 min

Data science is the practice of studying data from the past to make better decisions for the future.

Advertisement

Behavioural objectives

By the end of the lesson, students should be able to:

  1. explain what data science is;
  2. describe four methods of collecting data;
  3. state three places where data can be stored;
  4. identify common problems in “dirty” data and say how to clean them;
  5. describe the stages of the data life cycle;
  6. explain why consent, security and anonymity matter when handling people’s data.

What is data science?

Data science is the practice of collecting, storing, cleaning and analysing data to find patterns that guide decisions.

  • Data: facts and figures such as names, ages, prices, scores and temperatures.
  • Information: data that has been organised so that it means something.
  • Pattern: something that repeats in the data, such as the same result every week.

Everyday example

  • The shop owner: a shop owner notices that students buy more Zobo than Coke every Friday.
  • The decision: the owner prepares more Zobo on Friday mornings.
  • The lesson: past data was used to make a better decision for the future.

Where is data science used?

  • Shops: deciding what to stock and when.
  • Schools: tracking attendance and exam scores.
  • Banks: keeping records of customer accounts.
  • Weather services: using past temperature and rainfall records to forecast weather.

What is data collection?

Data collection is the process of gathering information from different sources.

  • Why it matters: poor data leads to poor decisions.

What are the methods of data collection?

There are four common methods of collecting data: surveys, observation, sensors and web scraping.

  • Surveys or questionnaires: asking people questions directly, for example with Google Forms.
  • Observation: counting things as they happen, for example cars passing the school gate.
  • Sensors: automatic devices that record data, for example a thermometer recording the temperature every hour.
  • Web scraping: using a computer program to copy information from websites automatically.
Advertisement

What are the types of data?

There are two main types of data: qualitative data and quantitative data.

  • Qualitative data: describes qualities or categories, such as favourite snack or hair colour.
  • Quantitative data: is a number that can be counted or measured, such as age or height.
Feature Qualitative data Quantitative data
Form Words or labels Numbers
Example Favourite snack: “Biscuits” Number of pupils in a class: 42
Question it answers What kind? How many? How much?

Where is data stored?

Data is stored in organised places such as spreadsheets, databases and the cloud, not in one big pile.

What are the types of data storage?

  1. Spreadsheets (Excel or Google Sheets): suit small amounts of data arranged in a table of rows and columns.
  2. Databases: hold very large amounts of data, such as all the accounts in a bank. They are often managed with a language called SQL.
  3. The cloud: stores data on the internet (for example Google Drive) so it can be reached from any computer.

Why should data be backed up?

  • Failure: storage can fail, for example when a hard drive crashes.
  • Backup: a backup is an extra copy of the data.
  • Good practice: keep copies in different places.

What is data cleaning?

Data cleaning is the process of finding and fixing mistakes, gaps and repeats in data before it is analysed.

  • Dirty data: data with mistakes, missing parts or duplicates.
  • Effect: analysing dirty data gives wrong answers.

What are the common problems in dirty data?

There are four common problems: missing values, duplicates, inconsistent formatting and outliers.

  • Missing values: a student forgot to write their age on a form.
  • Duplicates: the same person signed the attendance sheet twice.
  • Inconsistent formatting: one person wrote “June 1st”, another wrote “01/06/2026” and another wrote “1-Jun”.
  • Outliers: values far outside the normal range, often caused by errors, such as a student’s age recorded as 200.
Advertisement

How is data cleaned?

  1. Remove duplicates: delete the extra copies.
  2. Handle missing data: delete the row, or fill the gap with an average (for number data).
  3. Standardise: make sure all dates and names follow the same format.
  4. Check outliers: confirm the value, then correct it or remove it.

What is data analysis?

Data analysis is the study of clean data to find patterns and answer a question.

  • Counting: finding how many times each item appears, for example votes for each snack.
  • Finding the most common value: the item with the highest count is the most popular.
  • Finding the average: add all the values and divide by how many there are.
  • Showing results: use tables and charts so that others can read the pattern easily.

What is the data life cycle?

The data life cycle is the series of four stages data passes through: collection, storage, cleaning and analysis.

Collection Storage Cleaning Analysis
The four stages of the data life cycle, in order.
Stage What we do Farm analogy
Collection Gather information. Harvesting crops from a farm.
Storage Keep information safe. Putting the crops in a barn.
Cleaning Fix mistakes. Sorting the good crops from the rotten ones.
Analysis Find patterns. Cooking the crops to make a meal.

Why does privacy matter in data science?

Privacy matters because data often describes real people, and mishandled data can harm them.

What are the three rules for protecting people’s data?

  • Consent: always ask permission before taking someone’s data.
  • Security: keep personal data, such as home addresses, locked away from people who might misuse it.
  • Anonymity: do not show names when sharing results. Say “50% of students”, not “Bisi and Obi failed”.

Class activity: the “Snack Survey”

The Snack Survey takes the class through all four stages of the data life cycle.

Advertisement
  1. Collection: ask 5 classmates for their favourite snack and write each answer on paper.
  2. Storage: draw a table with two columns, “Name” and “Snack”.
  3. Cleaning: check for wrong spellings such as “Biscuts”, blank snack boxes and repeated names. Fix them.
  4. Analysis: count how many times each snack appears. The snack with the highest count is the most popular in your group.

Evaluation

  1. What is data science? Give one example from daily life.
  2. Name four methods of collecting data.
  3. List three places where data can be stored.
  4. What are “dirty” data problems? Name two and say how each can be fixed.
  5. Why should you ask for consent before collecting someone’s data?

Assignment

Using the farm analogy, write a short paragraph explaining the four stages of the data life cycle. Then state one way to protect the privacy of the people whose data you collect.

This term's Digital Technologies topics

SS2 Second Term · 8 topics

  1. Computer Programming I
  2. Computer Programming II
  3. Programming Basics
  4. Control Structure
  5. Data Science Basics
  6. Big Data and Analytics
  7. Artificial Intelligence
  8. Machine Learning Basics
Downloads

Get Digital Technologies as PDF and Word

Every week of SS2 Digital Technologies, Second Term, formatted and ready to print. Ad-free, and the copy lock comes off.

Get this term Card, bank transfer, USSD or OPay

Advertisement

Lesson Notes for Other Classes

Print it or edit it in Word

Every note is free to read online. A PDF or Word copy of one subject costs ₦1,000 for one term, or ₦2,000 for all three terms.

Sign in first, then choose your class and subject at checkout.