CLASS 8 · Artificial Intelligence
Class 8 CT and AI: AI Project Lifecycle Solutions
Work through AI Project Lifecycle with explanations for the Class 8 CBSE Computational Thinking and Artificial Intelligence handbook.
Jump to a question or activity
- A. MCQ 1
- A. MCQ 2
- A. MCQ 3
- A. MCQ 4
- A. MCQ 5
- B. Fill in the blank 1
- B. Fill in the blank 2
- B. Fill in the blank 3
- B. Fill in the blank 4
- B. Fill in the blank 5
- C. Short answer 1
- C. Short answer 2
- C. Short answer 3
- C. Short answer 4
- C. Short answer 5
- D. Think and apply 1
- D. Think and apply 2
- Short concept lessons
- Additional practice questions
Key ideas
The six stages in this handbook are problem definition, data collection and preparation, model development and training, evaluation and refinement, deployment, and monitoring and maintenance. The cycle is iterative: evidence from testing or real use can send a team back to improve an earlier stage. More data alone does not guarantee improvement; its relevance, quality and use matter.
Short Concept Lessons
Learn a method, follow the example, then use it in the additional practice.
Start with a clear problem
Define what the system should do, who will use it and how you will judge success.
A spam filter should identify unwanted emails while avoiding false alarms on useful messages.
Remember: Consider whether a simple rule would solve the task.
Collect and prepare relevant data
Check data for mistakes, missing values, duplicates and incorrect labels.
A cat/dog classifier needs correctly labelled, varied animal images.
Remember: Do not invent missing facts; investigate or handle missing values explicitly.
Separate training from prediction
Training adjusts a model using examples. Prediction uses the trained model on an input.
Learning from labelled emails is training; labelling a new email is prediction.
Remember: A model does not necessarily update itself after every prediction.
Test on unseen examples
Compare predictions with checked answers on examples excluded from training.
A model with 18 correct predictions out of 20 has 90% accuracy on that test.
Remember: A small or unrepresentative test cannot prove universal reliability.
Improve and retest
Inspect mistakes, improve relevant data or model settings, retrain and evaluate again.
If photos in dim light cause errors, collect suitable examples and test that condition.
Remember: More data helps only when its quality and use are appropriate.
Monitor after deployment
Deployment puts the model into use. Monitoring checks its performance as conditions change.
A delivery model may need updating when road routes or delivery practices change.
Remember: Keep a way for people to report and correct errors.
Questions and Solutions
A. MCQ 1. AI learns from:
Solution
A. MCQ 2. In spam detection, the AI problem is to:
Solution
A. MCQ 3. The first stage of a project cycle is:
Solution
A. MCQ 4. If an AI model predicts 8 out of 10 spam emails, the accuracy of the model is:
Solution
A. MCQ 5. AI model improves because:
Solution
B. Fill in the blank 1. AI learns by finding _____________ in data.
Solution
B. Fill in the blank 2. An AI project follows a _____________cycle.
Solution
B. Fill in the blank 3. Spam emails often contain suspicious _____________.
Solution
B. Fill in the blank 4. After testing, we _____________the system.
Solution
B. Fill in the blank 5. AI cannot work without _____________.
Solution
C. Short answer 1. How does AI learn?
Solution
A learning algorithm analyses training examples and adjusts a model to capture useful patterns. After training, the model applies those patterns to new inputs; this is prediction or inference. It does not automatically learn from every conversation or improve without an update process.
C. Short answer 2. Why is defining the problem important in an AI project?
Solution
A clear problem tells the team what result is useful, whom it should help, which data are relevant and how success will be measured. It also allows the team to decide whether simple fixed rules would solve the task without AI.
C. Short answer 3. What happens in the testing stage of an AI project?
Solution
Use examples kept separate from training, compare predictions with checked outcomes, count errors and examine where the errors occur. Testing with previously unseen examples provides better evidence of generalisation than repeating training examples.
C. Short answer 4. What is meant by accuracy in AI?
Solution
Accuracy is the fraction of test predictions that are correct, multiplied by 100%. For example, 7 correct predictions out of 10 give 70%. A high overall score can still hide poor performance for a small group, so inspect error patterns too.
C. Short answer 5. Give one real-life example of an AI project.
Solution
Sample response
A spam filter can learn from emails labelled spam/not spam, be tested on separate labelled messages, and then flag likely spam for users. Continue monitoring both missed spam and legitimate emails incorrectly flagged.
D. Think and apply 1. Imagine you are building an AI system to detect fake news.
Fill the table:
| Stage | Your Answer |
|---|---|
| Define the problem | ________________________ |
| Collect data | ________________________ |
| Test AI tools | ________________________ |
| Reflect and improve | ________________________ |
Solution
Sample response
A possible plan is:
| Stage | Suggested response |
|---|---|
| Define the problem | Help a reader flag claims that need verification; do not present an AI label as proof of truth or falsehood. |
| Collect data | Gather varied examples with evidence-based labels, dates and source context; separate training and test material. |
| Test AI tools | Use unseen, independently checked claims, count correct flags and errors, and test across topics and languages. |
| Reflect and improve | Inspect mistakes, fix incorrect labels, improve representation and retrain. Keep human fact-checking and a way to correct a disputed result. |
D. Think and apply 2. An online shopping company wants to build an AI system to predict whether a product will be delivered on time or late.
To build this system, the company collects the following data from previous orders:
| Order No. | Distance | Weather | Traffic | Delivery Partner | Final Status |
|---|---|---|---|---|---|
| 01 | 5 km | Clear | Low | Experienced | On Time |
| 02 | 20 km | Rainy | High | New | Late |
| 03 | 10 km | Clear | Low | Experienced | On Time |
| 04 | 15 km | Rainy | High | New | Late |
After training, the model learned from the following pattern and delivery will be on time, if:
- Distance is less than 10 km.
- Weather is Clear
- Traffic is Low
- Delivery partner is experienced
Based on the learned pattern, complete the following table.
| Order No. | Distance | Weather | Traffic | Delivery Partner | Final Status |
|---|---|---|---|---|---|
| 05 | 8 km | Clear | Low | Experienced | _____________ |
| 06 | 18 km | Rainy | High | New | _____________ |
Solution
Order 05: On Time. Order 06: Late. Order 05 meets all four conditions: 8 km is below 10 km, clear weather, low traffic and an experienced partner. Order 06 meets none: 18 km, rainy weather, high traffic and a new partner. These are the rule’s predictions, not guaranteed real delivery outcomes.
The earlier training table includes a 10 km on-time order, even though the stated rule says “less than 10 km”. For these two test rows the boundary inconsistency changes neither answer.
Additional Practice Questions with Solutions
Choose an answer, use a hint if needed, then open the worked solution to check your reasoning.
Solved 0 of 10 · Checked 0 of 10
Your practice progress lasts until you reset or reload this page.
Apply · Problem definition
Practice Q1. What should a team do first when planning an AI project?
Show hint
Start by deciding what needs to be solved.
Show worked solution
Option (b) Define the problem and success criteria.
A clear problem guides the data, model and evaluation choices.
Common mistake: Tools should be chosen after the goal is understood.
Apply · Data preparation
Practice Q2. A dataset labels several dog photos as cats. What should the team do?
Show hint
Training examples need trustworthy labels.
Show worked solution
Option (c) Check and correct the labels.
Inspect the images and correct verified labelling mistakes before training.
Common mistake: More data does not compensate for deliberately incorrect labels.
Apply · Training and prediction
Practice Q3. A trained spam filter labels a newly received email. This is an example of:
Show hint
The model is applying what it already learned.
Show worked solution
Option (a) Prediction.
Using an existing model on a new input is prediction, also called inference.
Common mistake: Applying a model is different from training it.
Apply · Accuracy
Practice Q4. A model makes 18 correct predictions out of 20 test cases. What is its accuracy?
Show hint
Divide correct predictions by all predictions.
Show worked solution
Option (d) 90%.
18 ÷ 20 × 100 = 90%.
Common mistake: Accuracy uses the total number of tested predictions as the denominator.
Apply · Refinement
Practice Q5. A model performs poorly on blurry images. Which response is most useful?
Show hint
Use mistakes as evidence for an improvement.
Show worked solution
Option (b) Investigate the errors and improve relevant training data.
Investigate why blurry images fail, improve suitable examples or the approach, and retest on separate images.
Common mistake: A change must address the actual cause and be checked.
Apply · Monitoring
Practice Q6. Which activity belongs to monitoring after deployment?
Show hint
The model is already being used.
Show worked solution
Option (c) Checking whether recent predictions remain reliable.
Monitoring checks real-use performance and detects changes or errors that need attention.
Common mistake: Deployment does not end the need for evaluation.
Apply · Automation
Practice Q7. A school bell rings at fixed times programmed by an adult. What does this description show?
Show hint
The actions follow a fixed schedule.
Show worked solution
Option (a) Rule-based automation.
A fixed timer is automation; the description gives no evidence of a model learning from data.
Common mistake: Not every automatic system uses AI.
Apply · Testing
Practice Q8. Which dataset gives a fairer check of generalisation?
Show hint
The test should check new inputs.
Show worked solution
Option (d) Separate, representative examples not used for training.
Separate, representative test examples help assess performance beyond memorised training cases.
Common mistake: Reusing training examples can overstate performance.
Apply · Deployment
Practice Q9. Which action is model deployment?
Show hint
Deployment means putting the model into use.
Show worked solution
Option (b) Putting a tested model into an application for users.
Integrating a tested model into an application is deployment. Monitoring follows its real-world use.
Common mistake: Building and testing happen before deployment.
Apply · Data quality
Practice Q10. Does adding more data always improve an AI model?
Show hint
Consider what happens when extra examples are misleading.
Show worked solution
Option (c) No; relevance, quality and evaluation matter.
More suitable data may help, but errors, bias or irrelevant examples can harm performance. Evaluate the updated model.
Common mistake: Quantity alone does not guarantee quality.
