Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
← Ai and Automation Level One · Lesson 5 of 8

Module Four

📖 Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
5
Module 4 · AI & Automation Level 1

🤖 Module 4 · AI & Automation Level 1

Welcome, young data explorer! In Module 3, we learned about Machine Learning. Now we are going to discover the most important part of AI: Data – the food that makes AI smart!


📘 1. Module Title

“AI & Automation Level One – Module 4: Data Science – The Food for AI”

📖 2. Module Introduction

Hello! 👋 Imagine you want to bake a cake. You need flour, eggs, sugar, and other ingredients. If you use bad ingredients, the cake will taste bad. It is the same with AI. AI needs data to learn. If the data is bad, the AI will make bad decisions.

In this module, we will learn about Data Science. That is the job of collecting, cleaning, and organising data so that AI can use it. We will learn about good data, bad data, and how to make data fair. We will also learn how to turn messy data into clean data – just like washing vegetables before cooking!

Ready to become a Data Scientist? Let’s go! 🚀

🎯 3. Learning Objectives

  • ✅ Understand what Data Science is.
  • ✅ Know why data is called the “food” for AI.
  • ✅ Learn about good data vs bad data.
  • ✅ Understand data bias and why it is a problem.
  • ✅ Learn how to clean and organise data.
  • ✅ Know the steps of a data science project.
  • ✅ Create a simple dataset.
  • ✅ Recognise data science in everyday life.

📚 4. Warm-up Story: Amina’s Data Journey

Amina lives in Kano. She loves to help her mother sell groundnuts. She noticed that some days they sold a lot, and some days very few. She decided to write down the number of sales each day, and also the weather, the day of the week, and if there was a festival.

After one month, she looked at her notes. She found a pattern: on Fridays and during festivals, sales were high. On rainy days, sales were low. She told her mother: “Let’s make extra groundnuts on Thursdays for Friday, and let’s have umbrellas for rainy days.”

Amina did Data Science. She collected data, found a pattern, and made a smart decision. That is what we are going to learn!

   📊 AMINA’S DATA SCIENCE
   Step 1: Collect data (sales, weather, day)
   Step 2: Organise in a table
   Step 3: Look for patterns
   Step 4: Make a decision (make more on Fridays)

📗 5. Main Lessons

Lesson 1: What is Data Science?

Definition: Data Science is the process of collecting, cleaning, organising, and studying data to find useful information.

Why important? Without data science, AI cannot learn. It is like trying to drive a car without fuel.

Simple explanation: It’s like being a detective who looks at clues (data) to solve a mystery.

Real-life example: A supermarket uses data science to know which products to stock.

School example: A teacher looks at test scores to see which topics need more teaching.

Home example: You keep a record of your pocket money to know how much you save.

Nigerian example: A farmer tracks rainfall and harvest size to plan planting.

   🔍 DATA SCIENCE PROCESS
   Collect Data → Clean Data → Analyse → Find Patterns → Make Decisions

Mini summary: Data Science is about finding useful information from data.

Lesson 2: Data – The Food for AI

Definition: Data is information – numbers, words, pictures, sounds.

Why important? AI eats data! Without data, AI is like a hungry baby with no food.

Simple explanation: If you want to teach a child about animals, you show them pictures. Those pictures are data.

Real-life example: Weather apps use data from satellites.

School example: Your report card is data about your performance.

Home example: A shopping list is data.

Nigerian example: A bank uses data on customer transactions.

   🍲 DATA TYPES
   Numbers: 25, 100, 3.14
   Words: "Hello", "Lagos", "Rain"
   Pictures: 📷 photos, drawings
   Sounds: 🎵 music, voice recordings

Mini summary: Data is information in many forms – it is the food for AI.

Lesson 3: Good Data vs Bad Data

Definition: Good data is correct, complete, and clean. Bad data has mistakes, is missing, or is messy.

Why important? Bad data causes AI to make wrong decisions.

Simple explanation: If you use salt instead of sugar in a cake, the cake is bad. Same with data.

Real-life example: A GPS uses bad data if it has old maps – it will send you the wrong way.

School example: If your teacher records wrong marks, you get the wrong grade.

Home example: If your calendar has the wrong date, you miss an appointment.

Nigerian example: If a hospital has wrong patient records, the patient gets wrong medicine.

   ✅ GOOD DATA VS ❌ BAD DATA
   Good: "Age=10, Name=Chidi"
   Bad: "Age=ten, Name=Chidi??" (mixing text and numbers)

Mini summary: Good data is correct and clean; bad data is messy and wrong.

Lesson 4: Data Bias – When Data is Unfair

Definition: Bias is when data is not fair – it favours one group over another.

Why important? Biased data creates unfair AI that can hurt people.

Simple explanation: If you only teach a friend about dogs, they won’t recognise cats. That is bias.

Real-life example: An AI that recognises faces better on lighter skin because it was trained on mostly light-skinned faces.

School example: A test that only has questions about football – students who don’t like football will do badly.

Home example: A robot that only cleans one type of floor because it was trained on that type.

Nigerian example: An AI for farming trained only on data from the south might not work in the north.

   ⚖️ DATA BIAS
   Unfair data → Unfair AI → Unfair decisions
   Example: AI only trained on men might not work well for women.

Mini summary: Bias in data makes AI unfair. We must use data from all groups.

Lesson 5: Cleaning Data – Washing the Data

Definition: Data cleaning is fixing mistakes and removing messy parts from data.

Why important? Clean data makes AI smart. Dirty data makes AI stupid.

Simple explanation: Like washing vegetables before cooking – you remove the dirt.

Real-life example: Removing duplicate entries in a customer list.

School example: Correcting spelling errors in a class list.

Home example: Sorting your socks by colour and removing worn-out ones.

Nigerian example: A bank removes old addresses from customer files.

   🧹 CLEANING DATA
   Remove duplicates
   Fix spelling errors
   Fill missing values
   Make everything consistent

Mini summary: Data cleaning fixes errors so AI can learn correctly.

Lesson 6: Organising Data – Tables and Spreadsheets

Definition: Organising data means arranging it in rows and columns (like a table).

Why important? Organised data is easy for AI to read.

Simple explanation: Like a class register with names, ages, and marks – neat and tidy.

Real-life example: A spreadsheet of sales: columns for date, product, price, quantity.

School example: A timetable with days and subjects.

Home example: A list of groceries with item, quantity, and price.

Nigerian example: A farmer’s record of crops: column for date, crop type, amount harvested.

   📊 TABLE EXAMPLE
   +--------+-------+--------+
   | Name   | Age   | Class  |
   +--------+-------+--------+
   | Ada    | 10    | 5      |
   | Chidi  | 11    | 6      |
   | Bola   | 10    | 5      |
   +--------+-------+--------+

Mini summary: Tables make data neat and easy to use.

Lesson 7: Data Sources – Where Data Comes From

Definition: A data source is where you get data – surveys, sensors, websites, etc.

Why important? You need to know where to find data.

Simple explanation: Like getting apples from a tree – the tree is the source.

Real-life example: A weather sensor on a roof.

School example: A class survey about favourite subjects.

Home example: Your electricity meter gives data on usage.

Nigerian example: A market trader records daily sales in a notebook.

   📡 DATA SOURCES
   - Surveys (asking people)
   - Sensors (temperature, motion)
   - Websites (scraping data)
   - Records (school, hospital)

Mini summary: Data comes from many places – sensors, surveys, and records.

Lesson 8: Data Size – Big Data vs Small Data

Definition: Small data is a few hundred items. Big data is millions or billions.

Why important? Different problems need different sizes of data.

Simple explanation: A small shop has small data. A big supermarket has big data.

Real-life example: Google searches generate huge data (big data).

School example: Your class test marks are small data.

Home example: Your monthly budget is small data.

Nigerian example: The census is big data – it has data on every person.

   📦 DATA SIZE
   Small Data: 100 rows (easy to handle)
   Big Data: 1,000,000,000 rows (needs computers)

Mini summary: Data can be small or huge. Big data needs special tools.

Lesson 9: Data Types – Numbers, Text, Images

Definition: Data can be numbers (age), text (name), or images (photos).

Why important? AI handles different types differently.

Simple explanation: You use numbers for maths, words for stories, and pictures for art.

Real-life example: A security camera gives image data.

School example: A maths test gives number data.

Home example: A shopping list gives text data.

Nigerian example: A passport photo is image data.

   📂 DATA TYPES
   Numbers: 25, 100, 3.14
   Text: "Hello", "Lagos"
   Images: .jpg, .png
   Sound: .mp3, .wav

Mini summary: Data can be numbers, words, images, or sounds.

Lesson 10: Data Privacy – Keeping Data Safe

Definition: Data privacy means protecting personal information so it is not misused.

Why important? People have a right to keep their information private.

Simple explanation: You don’t tell your password to strangers – that is privacy.

Real-life example: Hospitals keep patient records private.

School example: Your school doesn’t share your address with everyone.

Home example: You don’t post your address on social media.

Nigerian example: Banks protect customers’ account details.

   🔒 DATA PRIVACY
   - Don’t share personal info.
   - Use passwords and locks.
   - Ask permission before using someone’s data.

Mini summary: We must keep personal data safe and private.

Lesson 11: Steps of a Data Science Project

  1. Question: What do you want to know? (e.g., “What is the best time to plant yams?”)
  2. Collect Data: Gather information (rainfall, soil type).
  3. Clean Data: Fix errors.
  4. Analyse: Look for patterns.
  5. Interpret: Understand what the patterns mean.
  6. Act: Make a decision.
   🔄 DATA SCIENCE CYCLE
   Question → Collect → Clean → Analyse → Interpret → Act
      ↑                                             |
      └─────────────────────────────────────────────┘

Mini summary: Data science follows steps: question, collect, clean, analyse, interpret, act.

Lesson 12: Data Science in Nigeria

  • 🌾 Agriculture: Predicting crop yields.
  • 🏥 Health: Tracking disease outbreaks.
  • 🚦 Traffic: Analysing traffic patterns in Lagos.
  • 🏦 Banking: Detecting fraud.
  • 📊 Education: Analysing exam performance.
   🇳🇬 DATA SCIENCE IN NIGERIA
   Farmer: "When should I plant?"
   Data: rainfall, temperature, past harvests
   Answer: "Plant in April."

Mini summary: Data science is used in farming, health, traffic, and banking in Nigeria.

🔑 6. Key Vocabulary

  • Data Science: Finding useful information from data.
  • Data: Information (numbers, words, pictures).
  • Good Data: Correct and clean data.
  • Bad Data: Messy or wrong data.
  • Bias: Unfairness in data.
  • Data Cleaning: Fixing errors in data.
  • Data Source: Where data comes from.
  • Big Data: Very large amounts of data.
  • Data Privacy: Protecting personal information.

🧠 7. Important Concepts

  • Data is the food for AI – without it, AI is useless.
  • Good data = good AI. Bad data = bad AI.
  • Bias in data makes AI unfair.
  • Data cleaning is like washing vegetables.
  • Organised data (tables) is easier to use.
  • Data privacy is very important.

📋 8. Step-by-step Explanations

How to clean a simple dataset:

  1. Look for missing values (e.g., empty cells).
  2. Fill missing values with “unknown” or the average.
  3. Check for duplicates (same info twice) and remove them.
  4. Make sure all numbers are in the same format (e.g., 10 not “ten”).
  5. Check for mistakes like “age=200” – fix or remove.

🧑‍🏫 13. Teacher Notes

Use a spreadsheet to demonstrate data organisation. Discuss bias using simple examples. Emphasise that data privacy is like keeping a secret.

👨‍👩‍👦 14. Parent Tips

Help your child collect and organise a small dataset (e.g., daily temperature). Discuss where data is used in your home.

💡 15. Interesting Facts

  • Every day, we create 2.5 quintillion bytes of data – that’s a lot!
  • Data scientists are called the “sexiest job of the 21st century”.
  • About 80% of a data scientist’s time is spent cleaning data.

🤔 16. Did You Know?

  • The world’s data is growing faster than our ability to process it.
  • Some companies have more data than the entire Library of Congress.

🧾 17. Remember This

  • Data = food for AI.
  • Good data = good decisions.
  • Clean data is happy data.
  • Bias is bad – be fair.
  • Keep data safe and private.

⚠️ 18. Common Mistakes

  • Using dirty data (with errors).
  • Not checking for bias.
  • Forgetting to protect privacy.
  • Using too little data.

✅ 19. Best Practices

  • Always clean your data.
  • Use data from diverse sources to avoid bias.
  • Keep a record of where data came from.
  • Respect people’s privacy.

📊 21. Comparison Table: Good Data vs Bad Data

FeatureGood DataBad Data
AccuracyCorrectHas errors
CompletenessAll fields filledMissing values
ConsistencySame formatMixed formats
BiasFairUnfair

📌 23. End-of-Module Summary

Fantastic work! You now know that Data Science is about collecting, cleaning, and organising data so AI can learn. You learned about good data vs bad data, bias, data cleaning, and data privacy. You also learned the steps of a data science project and saw how data science is used in Nigeria. In the next module, we will learn about Data Visualisation – how to show data in pictures and charts to tell stories. Keep exploring!

❓ 24. Frequently Asked Questions

  1. Q: Is Data Science the same as AI? A: No, Data Science is about preparing data. AI uses that data.
  2. Q: Do I need to be good at maths for data science? A: Basic maths helps, but you can start with simple data.
  3. Q: What is the most important step in data science? A: Data cleaning – because dirty data leads to wrong results.
  4. Q: Can data be biased? A: Yes, if it doesn’t represent everyone fairly.
  5. Q: How do I collect data? A: You can use surveys, sensors, or look at records.
  6. Q: What is big data? A: Very large data that needs special computers.
  7. Q: Why is data privacy important? A: To protect people’s personal information.
  8. Q: Can I be a data scientist? A: Yes! Start by collecting and organising small data.
  9. Q: What tools do data scientists use? A: Spreadsheets, Python, and specialised software.
  10. Q: How is data science used in Nigeria? A: In farming, banking, traffic, and health.

📝 25. Review Questions

  1. What is Data Science?
  2. Why is data called the “food” for AI?
  3. What is the difference between good data and bad data?
  4. What is data bias?
  5. What is data cleaning?
  6. Why is data cleaning important?
  7. What is a data source?
  8. What is the difference between big data and small data?
  9. Name three types of data.
  10. What is data privacy?
  11. Give a Nigerian example of data science.
  12. What are the steps of a data science project?
  13. How can we avoid bias in data?
  14. Why is organised data (tables) useful?
  15. What should you do if you find missing values in data?

✏️ 26. Fill-in-the-Blank

  1. Data Science is about collecting, cleaning, and ________ data.
  2. ________ is the food for AI.
  3. ________ data is correct and clean.
  4. Bias in data makes AI ________.
  5. ________ means fixing errors in data.

✔️ 27. True or False

  1. Data Science is only for adults. (False)
  2. Bad data makes AI smart. (False)
  3. Bias in data is unfair. (True)
  4. Data cleaning removes errors. (True)
  5. Big data is always better than small data. (False)

🔘 28. Multiple Choice

  1. What is Data Science?
    a) Studying stars b) Finding information from data c) Playing games Answer: b
  2. What is data?
    a) Food b) Information c) Water Answer: b
  3. Which is good data?
    a) Age: 10 b) Age: ten c) Age: ??? Answer: a
  4. Bias in data means:
    a) Fair b) Unfair c) Fast Answer: b
  5. Data cleaning is:
    a) Fixing errors b) Deleting all data c) Making data bigger Answer: a
  6. A data source is:
    a) Where data comes from b) A type of computer c) A game Answer: a
  7. Big data means:
    a) Large amount of data b) Small amount c) No data Answer: a
  8. Which is a data type?
    a) Numbers b) Cars c) Trees Answer: a
  9. Data privacy means:
    a) Sharing data b) Protecting data c) Deleting data Answer: b
  10. Which is a Nigerian data science use?
    a) Snow prediction b) Crop yield prediction c) Ice cream sales Answer: b
  11. The first step of a data science project is:
    a) Clean data b) Question c) Analyse Answer: b
  12. What should you do with missing values?
    a) Ignore them b) Fix or fill them c) Delete everything Answer: b
  13. Tables help to:
    a) Organise data b) Hide data c) Eat data Answer: a
  14. Which is NOT a data type?
    a) Numbers b) Smell c) Text Answer: b
  15. Good data leads to:
    a) Good decisions b) Bad decisions c) No decisions Answer: a

🔗 29. Matching

TermDefinition
Data ScienceFinding info from data
Data CleaningFixing errors
BiasUnfairness
Big DataVery large data
Data PrivacyProtecting information

📝 30. Short Answer

  1. Why is data important for AI?
  2. What is data cleaning? Give an example.
  3. Why should we care about data bias?

🎭 31. Scenario-based Exercises

Scenario: You are helping a library know which books are borrowed most. You collect data on book titles, dates borrowed, and borrower ages. You find that some data is missing (no date) and some ages are written as “child” and “adult” instead of numbers. What would you do? (Clean data, fix formats, fill missing).

👥 32. Group Activity

In groups, design a data collection plan for a school event. What data would you collect? How would you organise it? Present your plan.

🧑 33. Individual Activity

Collect data on your favourite 5 fruits: name, colour, shape, taste (sweet/sour). Create a table.

🗣️ 34. Classroom Discussion Questions

  • What if a company uses your data without asking? Is that fair?
  • How can we make sure data is fair for everyone?

🛠️ 35. Mini Project

Create a dataset of 20 items (e.g., family members, pets, or toys). Include at least 3 columns (features). Clean it (fix errors, fill missing). Present it as a table.

📂 36. Practical Assignment

Use a spreadsheet (or paper) to record the temperature every day for 7 days. Also record if it was sunny, rainy, or cloudy. Then look for a pattern – is it warmer on sunny days? Write your findings.

🏆 37. Challenge Exercise

Think of a problem in your community (e.g., waste collection). Design a data science project to solve it. What data would you collect? How would you clean and analyse it? Write a simple plan.

✅ 38. Quiz Answers

Fill-in: 1.organising 2.Data 3.Good 4.unfair 5.Data cleaning

True/False: 1.F 2.F 3.T 4.T 5.F

MCQ: 1.b 2.b 3.a 4.b 5.a 6.a 7.a 8.a 9.b 10.b 11.b 12.b 13.a 14.b 15.a

🎁 39. Key Takeaways

  • Data is the food for AI – without it, AI cannot learn.
  • Good data = correct, complete, clean.
  • Bad data = errors, missing, messy.
  • Bias in data makes AI unfair.
  • Data cleaning fixes errors.
  • Tables organise data neatly.
  • Data privacy is about protecting people.
  • Data science is used everywhere in Nigeria.

🔜 40. Preparation for Module 5

In Module 5, we will learn about Data Visualisation – how to turn data into charts, graphs, and pictures. This helps us tell stories with data. Get ready to become a data storyteller!


🎉 Excellent! You are now a Data Scientist. See you in Module 5! 🎉

🏆 Get Certified

🔒

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (₦2,000 or 20,000 coins), and get a verified certificate with your name on it.

🎓 Sign Up to Get Certified
🛠️ Practice Tools
Hands-on simulators & labs - subscription required.
→
🎯 Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
→