Class 8 AI: AI Project Lifecycle – Notes | CBSE CT & AI 2026-27

🏠 Home  /  Part 2 · Artificial Intelligence  /  AI Project Lifecycle
Part 2 · Artificial Intelligence · Chapter 1

AI Project Lifecycle 🔄

Ever wondered how apps "magically" know what you want before you ask? It's not magic — it's a carefully planned process. This chapter walks through the six stages every AI system goes through, from an idea to something running in the real world.

1. What is Artificial Intelligence?

Artificial Intelligence (AI) gives machines the ability to do things that normally need human intelligence — analysing data, recognising patterns, learning from experience, and making predictions or decisions.

Real-life example When your photo app automatically groups pictures of the same person, or your voice assistant sets a reminder when you speak to it, or Netflix suggests a show you end up loving — that's AI quietly analysing patterns from data and making a decision, just like a human would, but at a much bigger scale and speed.

2. AI vs. plain automation — what's the real difference?

Not everything "smart-sounding" is actually AI. A regular automatic car wash follows the exact same steps every time — spray water for X seconds, apply soap, run brushes — no matter how dirty or clean the car is. That's automation: fixed rules, no learning, no adapting.

An AI-based car wash, on the other hand, uses cameras to actually look at the car, judge how dirty it is, and decide how long to spray, how much soap to use, and how fast to run the brushes — a genuine decision made from data, not a fixed script.

Real-life example Think about traffic signals. A timer-based signal changes every 30 seconds no matter what — that's automation. An AI-based signal watches the actual traffic density through cameras and adjusts the green light time — that's AI. Same idea with irrigation: a timer that waters your garden every day at 7 AM is automation; a system that checks soil moisture and weather before deciding to water is AI.
Remember this The test for "is this really AI?" is simple: does the system learn, adapt or make decisions from data — or does it just follow a fixed set of steps every single time? If it's the same steps regardless of the situation, it's automation, not AI.

3. The 6 stages of an AI project

Building an AI system isn't a single step — it's a repeating, six-stage journey called the AI project lifecycle.

Stage 1 — Define the Problem

Before writing a single line of code, you must clearly state the goal, and honestly ask: does this actually need AI, or would simple automation do the job? A car wash with fixed timing doesn't need AI — but one that adjusts based on dirt level does.

Stage 2 — Data Collection and Preparation

Real-life example Teaching an AI model without good data is like baking a cake with the wrong ingredients — however good your technique, a bad recipe ruins the cake. In AI, this is famously summed up as: "Garbage In, Garbage Out." Data can come from sensors, surveys, websites, or historical records — and it usually needs cleaning first (removing duplicates, fixing errors, filling missing values) before it's ready to use.

Stage 3 — Model Development and Training

Think of the AI model as a student and the data as its textbook. You "teach" the model by showing it many worked examples; over time it starts noticing patterns on its own — like realising that students who attend more classes tend to score higher. This learning process is called model training.

Stage 4 — Model Evaluation and Refinement

Just like a surprise test checks what a student really learned, the model is tested on data it has never seen before (the test dataset). Its performance is measured as accuracy — the percentage of correct predictions. If accuracy is low, the model is refined: more data is added, mistakes are fixed, or it's retrained from scratch.

Stage 5 — Model Deployment

This is graduation day — the trained, tested, refined model is finally released into the real world to help real users: detecting spam in your inbox, recommending products, unlocking your phone with your face.

Stage 6 — Monitoring and Maintenance

Even after deployment, the job isn't over. The model's performance is watched over time — because patterns can change (exam formats change, shopping trends shift), and the model needs fresh data or retraining to stay accurate.

✅ Quick recap

  • AI mimics human thinking: analysing data, spotting patterns, learning, and predicting/deciding.
  • Automation follows fixed rules always; AI learns and adapts from data.
  • The AI project lifecycle has 6 stages: Define the Problem → Collect & Prepare Data → Develop & Train the Model → Evaluate & Refine → Deploy → Monitor & Maintain.
  • "Garbage in, garbage out" — an AI model is only as good as the data it learns from.

📖 Textbook exercise answers

A. Multiple Choice Questions

1. AI learns from:
Answer: (c) Data
2. In spam detection, the AI problem is to:
Answer: (d) Identify spam emails
3. The first stage of a project cycle is:
Answer: (a) Defining the problem
4. If an AI model predicts 8 out of 10 spam emails correctly, the accuracy is:
Answer: (c) 80%
5. AI model improves because:
Answer: (c) New data is added

B. Fill in the Blanks

1. AI learns by finding _____ in data.
Answer: patterns
2. An AI project follows a _____ cycle.
Answer: lifecycle (project lifecycle)
3. Spam emails often contain suspicious _____.
Answer: links / words (unusual offers, links or attachments that look untrustworthy)
4. After testing, we _____ the system.
Answer: deploy
5. AI cannot work without _____.
Answer: data

C. Short Answer Questions

1. How does AI learn?

AI learns by studying large amounts of data, finding patterns and relationships within it, and using those patterns to make predictions — improving further each time it's given more data, similar to how a person gets better at something with practice.

2. Why is defining the problem important in an AI project?

Because it sets a clear goal for what the system needs to do, and helps decide whether AI is even necessary — some problems can be solved with simple, fixed automation and don't need learning or data at all.

3. What happens in the testing stage of an AI project?

The trained model is checked against new data it has never seen before (a test dataset), to see how accurately it performs in situations outside of what it was trained on.

4. What is meant by accuracy in AI?

Accuracy is the percentage of correct predictions a model makes out of all the predictions it attempts — e.g., correctly identifying 8 out of 10 spam emails means 80% accuracy.

5. Give one real-life example of an AI project.

Example: a spam email filter that learns to tell spam apart from genuine emails, or a face-unlock system on a smartphone.

D. Think and Apply

1. Building an AI system to detect fake news — fill the table.
StageSuggested answer
Define the problemBuild a system that can flag whether a news article or post is likely fake or real.
Collect dataGather many examples of articles already verified as true or false by trusted fact-checking sources.
Test AI toolsRun the trained model on fresh, unseen articles and check how often it correctly labels them as fake or real.
Reflect and improveAdd more (and more varied) examples, fix mislabeled data, and retrain if the model keeps making mistakes.
2. Delivery prediction — complete the table using the learned pattern (on time if: distance < 10 km, weather clear, traffic low, delivery partner experienced).
OrderDetailsPrediction
058 km, Clear, Low, ExperiencedOn Time — matches every condition
0618 km, Rainy, High, NewLate — fails every condition

📝 Practice Exercises

Try these questions on your own first, then use the toggle below to check your answers.

A. Multiple Choice Questions

  1. Which is the FIRST stage of the AI project lifecycle?
    a) Data collection   b) Problem definition   c) Model training   d) Deployment
  2. Why is defining the problem the first step in an AI project?
    a) It is the easiest step   b) It helps decide whether AI is actually needed and what success looks like   c) It saves the most money   d) It is required by law
  3. Which stage involves teaching the model to recognise patterns using data?
    a) Evaluation   b) Deployment   c) Model development and training   d) Monitoring
  4. What happens during the evaluation stage?
    a) Data is collected   b) The model's accuracy is measured on new, unseen data   c) The problem is defined   d) The model is deployed to users
  5. Why is monitoring needed even after a model is deployed?
    a) To collect more data for advertising   b) To check that the model's performance doesn't degrade over time   c) To delete the model   d) To rename the project
  6. Which best describes the AI project lifecycle as a whole?
    a) A one-time, straight-line process   b) A cyclic, iterative process that can loop back to earlier stages   c) A process only relevant to programmers   d) A single stage that never changes

B. Short Answer Questions

  1. List the six stages of the AI project lifecycle, in the correct order.
  2. Why is data collection and preparation considered such a critical stage? What could go wrong if the data used is poor quality?
  3. A school wants to build an AI system to predict which students might need extra help in mathematics. Briefly describe what would happen at the "problem definition" stage and the "monitoring" stage for this project.
  4. Explain why testing a model only on data it already saw during training would give a misleading idea of its real-world accuracy.

▶️ Show Answer Key

📘 The CT & AI Corner — Class 8 CT & AI notes, made simple.

Comments

🧭 Explore AI Topics

Keep learning with our topic guides for CBSE AI (Classes 6–12).

🔄 AI Project Cycle🐍 Python for AI🤖 Machine Learning💬 NLP👁️ Computer Vision⚖️ AI Ethics