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

Module Two

📖 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.
3
Module 2 · AI & Automation Level 1

🤖 Module 2 · AI & Automation Level 1

Welcome back, young AI explorer! In Module 1, we learned what AI and automation are. Now we are going to learn how to build simple AI and automation projects. Let's dive in!


📘 1. Module Title

“AI & Automation Level One – Module 2: Building Simple AI and Automation”

📖 2. Module Introduction

Hello! 👋 In Module 1, we learned that AI is like a smart computer that can learn, and automation is a machine that does work by itself. Now, in Module 2, we are going to build our own simple AI and automation projects. You don’t need to be a programmer – we will use easy tools and fun activities.

We will learn how to give instructions, how to collect data, and how to make a chatbot. We will also create our own automation rules. By the end of this module, you will have built at least two projects! Ready? Let’s go! 🚀

🎯 3. Learning Objectives

  • ✅ Understand how to give step-by-step instructions (algorithms).
  • ✅ Collect and organise data for a simple AI.
  • ✅ Build a simple chatbot using a template.
  • ✅ Create an “If-This-Then-That” automation rule.
  • ✅ Explain how AI makes decisions.
  • ✅ Work with friends to design an AI project.

📚 4. Warm-up Story: Tunde’s Automatic Farm

Tunde lives in Ibadan. He helps his grandmother on the farm. Every morning, they water the vegetables. It takes a long time. Tunde thought: “What if I could make a machine that waters the plants when the soil gets dry?”

He took a small pump, a soil sensor, and a small computer. He wrote a rule: IF the soil is dry, THEN turn on the water pump. He tested it. It worked! The plants got water only when they needed it. Tunde built an automation.

But then he thought: “What if the pump could learn how much water each plant likes?” That would be AI. In this module, we will build things like Tunde’s automatic farm – starting with simple rules, and then adding a little intelligence.

   🌱 TUNDE’S AUTOMATION
   Sensor checks soil
        |
        V
   Is it dry? → YES → Turn on pump
        |
        NO → Do nothing

📗 5. Main Lessons

Lesson 1: Giving Instructions – Algorithms in Action

Definition: An algorithm is a list of steps to do something.

Why important? AI and automation work by following algorithms.

Simple explanation: It’s like a recipe for making pancakes – you follow steps in order.

Real-life example: A recipe for jollof rice.

School example: The steps to solve a math problem.

Home example: The steps to brush your teeth.

Nigerian example: The steps to make a phone call: pick up phone → unlock → dial number → talk.

   📱 ALGORITHM TO SEND A TEXT
   1. Unlock phone
   2. Open messaging app
   3. Choose contact
   4. Type message
   5. Press send

Mini summary: Algorithms are step-by-step instructions. We use them every day.

Lesson 2: Data – Collecting Information for AI

Definition: Data is pieces of information. Numbers, words, pictures.

Why important? AI learns from data. Good data = smart AI.

Simple explanation: If you want to teach your friend about cars, you show them pictures of cars. That is data.

Real-life example: A weather app uses temperature data.

School example: Your scores in tests are data.

Home example: A list of groceries is data.

Nigerian example: A bank collects data on how much you spend to give you offers.

   📊 DATA COLLECTION
   Fruit: Orange  |  Colour: Orange  |  Shape: Round
   Fruit: Banana  |  Colour: Yellow  |  Shape: Long
   Fruit: Apple   |  Colour: Red     |  Shape: Round

Mini summary: Data is information that helps AI learn. Collect it carefully.

Lesson 3: Decision Trees – How AI Decides

Definition: A decision tree is a chart that shows decisions. Like a flowchart.

Why important? Many AIs use decision trees to make choices.

Simple explanation: It’s like asking yes/no questions. “Is it raining?” If yes → take umbrella. If no → don’t.

Real-life example: A spam filter decides if an email is spam or not.

School example: “Do you have a pencil?” If yes → start writing. If no → borrow one.

Home example: “Is the fridge empty?” If yes → go shopping. If no → cook.

Nigerian example: A farmer asks: “Is it rainy season?” If yes → plant yams. If no → wait.

   🌳 DECISION TREE FOR OUTDOOR PLAY
   Is it sunny?
       /       \
     YES        NO
     /           \
   Play outside   Play inside

Mini summary: Decision trees are yes/no questions that help AI make choices.

Lesson 4: Chatbot – Your First AI Friend

Definition: A chatbot is a program that talks to you.

Why important? Chatbots are used in many places to answer questions.

Simple explanation: It’s like a robot that you can text.

Real-life example: Bank chatbots that help you check balance.

School example: A bot that tells you the school timetable.

Home example: A bot that reminds you to do chores.

Nigerian example: Some Nigerian companies use WhatsApp chatbots for customer service.

   💬 CHATBOT FLOW
   User: "Hello"
   Bot: "Hi! How can I help?"
   User: "What is 2+2?"
   Bot: "2+2 = 4"

Mini summary: Chatbots are AI programs that have conversations with us.

Lesson 5: IFTTT – Automate with Simple Rules

Definition: IFTTT means “If This Then That”. It lets you make automation rules.

Why important? You can connect apps and devices to work together.

Simple explanation: You say: “If it rains, then close the window.”

Real-life example: If you get an email, then send a WhatsApp message.

School example: If it’s 2pm, then ring the bell.

Home example: If the sun sets, then turn on the light.

Nigerian example: If the power goes off, then turn on the generator (automatically).

   🔗 IFTTT RULE
   IF (I arrive home) 
   THEN (turn on the light)

Mini summary: IFTTT lets you create easy automations by connecting “if” and “then”.

Lesson 6: Training an AI with Pictures

Definition: Training means showing AI many examples so it can learn.

Why important? This is how AI gets smart.

Simple explanation: Show a child many pictures of cats and dogs, then they learn to tell them apart. AI does the same.

Real-life example: Google Photos can group pictures of the same person.

School example: A tool that sorts shapes by showing examples.

Home example: A toy that recognises your voice.

Nigerian example: An app that identifies crops from photos.

   🖼️ TRAINING AI
   Step 1: Collect 100 cat photos and 100 dog photos.
   Step 2: Show AI the photos with labels (cat/dog).
   Step 3: AI finds patterns (ears, nose, fur).
   Step 4: Test with a new photo.
   Step 5: If wrong, correct it.

Mini summary: Training is giving AI examples to learn from. It’s like studying for a test.

Lesson 7: Testing – Checking if AI Works

Definition: Testing is trying your AI with new data to see if it is correct.

Why important? You need to know if your AI is smart enough.

Simple explanation: After you study for a test, you answer questions to see if you learned.

Real-life example: A self-driving car is tested on empty roads first.

School example: A teacher gives a quiz to check if students understood.

Home example: You test a recipe by cooking a small portion first.

Nigerian example: A farmer tests a new fertiliser on a small plot before using it everywhere.

   🔍 TESTING AI
   New image → AI predicts “cat”
   Actual label: “cat” → Correct ✅
   If wrong → find out why and fix it.

Mini summary: Testing tells us if our AI learned well. We can fix mistakes and make it better.

Lesson 8: Automation All Around Us

Definition: Automation is everywhere – from traffic lights to washing machines.

Why important? It saves time and makes life easier.

Simple explanation: Instead of you doing a boring job, a machine does it.

Real-life example: Elevator that takes you to the right floor.

School example: A projector that turns on with a remote.

Home example: A fan that rotates automatically.

Nigerian example: Toll gates that open automatically for cars with a pass.

   🏢 AUTOMATION EXAMPLES
   - ATM machine (dispenses cash)
   - Traffic light
   - Automatic door
   - Water dispenser

Mini summary: Automation is everywhere, making our lives easier.

Lesson 9: AI Ethics – Being Kind with AI

Definition: Ethics means doing the right thing. We need to use AI fairly.

Why important? AI can make mistakes, and we must make sure it helps everyone.

Simple explanation: If you have a superpower, you use it to help, not to hurt.

Real-life example: AI should not be used to cheat or steal.

School example: Don’t use AI to do your homework without learning.

Home example: Use AI to help with chores, not to be lazy.

Nigerian example: AI should treat everyone the same, no matter where they are from.

   🤝 AI ETHICS RULES
   1. Be fair – don’t let AI be biased.
   2. Be honest – tell people when they talk to AI.
   3. Be helpful – use AI to solve problems.
   4. Be safe – protect data.

Mini summary: We must use AI responsibly, just like we use our superpowers for good.

Lesson 10: Fruit Classifier – Build a Simple AI

Definition: A classifier is an AI that sorts things into groups.

Why important? This is a common AI task – like sorting spam emails.

Simple explanation: You give it a fruit, it tells you if it’s an apple or an orange.

Real-life example: A machine in a supermarket that sorts fruits by type.

School example: Sorting coloured blocks into groups.

Home example: Sorting laundry by colour.

Nigerian example: Sorting yams by size for market.

   🍎 FRUIT CLASSIFIER
   Input: picture of fruit
   AI checks: shape, colour, size
   Output: “Apple” or “Orange”

Mini summary: A fruit classifier is a simple AI that sorts fruits by looking at them.

Lesson 11: Voice Assistants – Siri, Alexa, and Google

Definition: Voice assistants are AI that understand spoken words.

Why important? You can talk to them like a friend.

Simple explanation: You say “What’s the time?” and it answers.

Real-life example: Asking Siri to set an alarm.

School example: Using a voice assistant to spell a word.

Home example: Asking Alexa to play music.

Nigerian example: Using Google Assistant to find a recipe for jollof rice.

   🎤 VOICE ASSISTANT FLOW
   You speak → AI converts to text → AI understands → AI responds

Mini summary: Voice assistants listen to us and respond with useful answers.

Lesson 12: The Future – AI will Grow

AI is getting better every year. In the future, we might have AI that can:

  • 🚀 Drive spaceships.
  • 🧑‍🏫 Teach every child personalised lessons.
  • 🌍 Help solve climate change.

But we must learn about AI now, so we can shape that future.

   🔮 FUTURE AI
   Self-driving cars → Robot doctors → AI teachers → Smart cities

Mini summary: AI will grow and help us in amazing ways. You can be part of it!

🔑 6. Key Vocabulary

  • Algorithm: A list of steps to do something.
  • Data: Information used by AI.
  • Decision Tree: A yes/no chart for decisions.
  • Chatbot: A program that talks to you.
  • IFTTT: If This Then That – a rule for automation.
  • Training: Giving AI examples to learn.
  • Testing: Checking if AI works.
  • Ethics: Doing the right thing with AI.
  • Classifier: AI that sorts things into groups.
  • Voice Assistant: AI that listens and talks.

🧠 7. Important Concepts

  • AI learns from data – good data = good AI.
  • Algorithms are step-by-step recipes.
  • Decision trees help AI make choices.
  • Chatbots are AI friends that talk.
  • IFTTT makes automation easy.
  • Training and testing are very important.
  • We must use AI ethically.

📋 8. Step-by-step Explanations

How to build a simple chatbot (using a template):

  1. Choose a platform (like Dialogflow or a chatbot app).
  2. Create a new bot.
  3. Add training phrases (what people say).
  4. Add responses (what the bot says).
  5. Test it by typing a question.

How to create an IFTTT rule:

  1. Sign up for IFTTT.
  2. Click “Create”.
  3. Choose “If This” – pick a trigger (e.g., weather).
  4. Choose “Then That” – pick an action (e.g., send a message).
  5. Turn it on – it works!

🧑‍🏫 13. Teacher Notes

Use group activities. Let students build chatbots using simple tools. Encourage creativity.

👨‍👩‍👦 14. Parent Tips

Help your child think of daily tasks that can be automated. Try IFTTT together. Discuss AI ethics.

💡 15. Interesting Facts

  • AI can now write poems!
  • Some AI can detect cancer better than doctors.
  • The first chatbot was ELIZA, created in 1966.

🤔 16. Did You Know?

  • AI is used in farming to check crop health.
  • Automation can reduce mistakes by up to 90%.

🧾 17. Remember This

  • Algorithms = instructions.
  • Data = learning material for AI.
  • IFTTT = easy automation.
  • Train + Test = Good AI.
  • AI should be fair and helpful.

⚠️ 18. Common Mistakes

  • Thinking AI is perfect – it makes mistakes.
  • Not testing AI properly.
  • Forgetting to update data.

✅ 19. Best Practices

  • Collect good data.
  • Test with new examples.
  • Keep your automation simple.
  • Always think about ethics.

📊 21. Comparison Table: Automation vs. AI

FeatureAutomationAI
Follows rulesYesLearns rules
Changes over timeNoYes
ExampleAutomatic doorChatbot
Needs data?NoYes

📌 23. End-of-Module Summary

Excellent work! In this module, you learned how to build simple AI and automation. You now know about algorithms, data, decision trees, chatbots, IFTTT, training, testing, and ethics. You also built your first chatbot and automation rule. You are now an AI builder! In the next module, we will dive deeper into machine learning and explore how AI learns like a human brain. Keep up the great work!

❓ 24. Frequently Asked Questions

  1. Q: Do I need a computer to build AI? A: Yes, but you can also use a tablet or phone.
  2. Q: Can I build a chatbot for free? A: Yes, many free tools exist.
  3. Q: Is IFTTT free? A: Yes, it has a free version.
  4. Q: How long does it take to train an AI? A: It can take minutes to hours depending on data.
  5. Q: Can AI do everything? A: No, it has limits.
  6. Q: What if my AI is wrong? A: You can fix it by adding more data.
  7. Q: Can I make money with AI? A: Yes, many businesses use AI.
  8. Q: Is AI hard to learn? A: It can be easy if you start simple.
  9. Q: What is the best AI project for a beginner? A: A chatbot or an IFTTT automation.
  10. Q: How do I know if my AI is good? A: Test it with new data – if it’s correct often, it’s good.

📝 25. Review Questions

  1. What is an algorithm?
  2. What is data?
  3. What is a decision tree?
  4. What does IFTTT stand for?
  5. How does a chatbot work?
  6. Why is training important?
  7. What is testing in AI?
  8. Give an example of automation at home.
  9. What is a classifier?
  10. Name a voice assistant.
  11. What are ethics in AI?
  12. How do you collect data for AI?
  13. Can AI make mistakes?
  14. What is a future use of AI?
  15. Why should we be careful with AI?

✏️ 26. Fill-in-the-Blank

  1. An algorithm is a set of ________.
  2. ________ is information used by AI.
  3. IFTTT means “If ________ Then That”.
  4. A ________ is an AI that sorts things into groups.
  5. ________ is checking if AI works correctly.

✔️ 27. True or False

  1. AI can learn without data. (False)
  2. Automation always uses AI. (False)
  3. A chatbot can talk to you. (True)
  4. Training is not important for AI. (False)
  5. IFTTT is a type of automation. (True)

🔘 28. Multiple Choice

  1. What is an algorithm?
    a) A robot b) A list of steps c) A type of data Answer: b
  2. What does IFTTT stand for?
    a) If Then That b) If This Then That c) If That Then This Answer: b
  3. Which is data?
    a) A picture b) A chair c) A door Answer: a
  4. A chatbot is a type of:
    a) Automation b) AI c) Sensor Answer: b
  5. Decision trees use:
    a) Yes/No questions b) Colours c) Sounds Answer: a
  6. Training means:
    a) Playing b) Giving examples to AI c) Sleeping Answer: b
  7. Testing means:
    a) Checking if AI works b) Deleting data c) Turning off Answer: a
  8. Which is a voice assistant?
    a) Siri b) A printer c) A fridge Answer: a
  9. Ethics in AI means:
    a) Using AI fairly b) Making AI fast c) Making AI big Answer: a
  10. A classifier sorts:
    a) Data b) People c) Books Answer: a
  11. Automation can:
    a) Save time b) Eat food c) Sing Answer: a
  12. AI needs:
    a) Data b) Food c) Sleep Answer: a
  13. An example of automation is:
    a) A traffic light b) A chat with a friend c) A football match Answer: a
  14. A fruit classifier can tell:
    a) Apple from orange b) Day from night c) Fast from slow Answer: a
  15. Future AI might:
    a) Drive cars b) Write books c) Both Answer: c

🔗 29. Matching

TermDefinition
AlgorithmStep-by-step instructions
DataInformation
ChatbotAI that talks
IFTTTIf This Then That
ClassifierSorts things into groups

📝 30. Short Answer

  1. What is an algorithm? Give an example.
  2. Why is data important for AI?
  3. What is the difference between automation and AI?

🎭 31. Scenario-based Exercises

Scenario: Your school wants to use AI to help students find books in the library. Design a simple AI that can suggest a book based on what a student likes.

👥 32. Group Activity

In groups, build a simple chatbot using a free tool. Each group presents their chatbot to the class.

🧑 33. Individual Activity

Write down an IFTTT rule for your morning routine. Example: “If I wake up, then turn on the kettle.”

🗣️ 34. Classroom Discussion Questions

  • Would you trust an AI to drive a bus? Why?
  • What if an AI makes a mistake at school? Who fixes it?

🛠️ 35. Mini Project

Create a fruit classifier using a drawing or a simple spreadsheet. Collect data (pictures or descriptions) and train your AI on paper.

📂 36. Practical Assignment

Use IFTTT to connect two apps. For example, get an alert when it rains. Write down how you did it.

🏆 37. Challenge Exercise

Build a decision tree for your morning routine. Include at least 5 decisions.

✅ 38. Quiz Answers

Fill-in: 1.steps 2.Data 3.This 4.classifier 5.Testing

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

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

🎁 39. Key Takeaways

  • Algorithms are step-by-step instructions.
  • Data is the food for AI.
  • Decision trees help AI make choices.
  • Chatbots are AI that talk.
  • IFTTT makes automation easy.
  • Training and testing are key.
  • AI must be used ethically.

🔜 40. Preparation for Module 3

In Module 3, we will learn about Machine Learning – how AI improves itself. We will also use simple coding to train an AI. Bring your curiosity and creativity!


🎉 Well done! You are now an AI builder. See you in Module 3! 🎉

🏆 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.
→