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.

Book: CBSE CT and AISession: 2026–27
Jump to a question or activity
  1. A. MCQ 1
  2. A. MCQ 2
  3. A. MCQ 3
  4. A. MCQ 4
  5. A. MCQ 5
  6. B. Fill in the blank 1
  7. B. Fill in the blank 2
  8. B. Fill in the blank 3
  9. B. Fill in the blank 4
  10. B. Fill in the blank 5
  11. C. Short answer 1
  12. C. Short answer 2
  13. C. Short answer 3
  14. C. Short answer 4
  15. C. Short answer 5
  16. D. Think and apply 1
  17. D. Think and apply 2
  18. Short concept lessons
  19. 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.

Worked example

A spam filter should identify unwanted emails while avoiding false alarms on useful messages.

Remember: Consider whether a simple rule would solve the task.

Practise this method →

Collect and prepare relevant data

Check data for mistakes, missing values, duplicates and incorrect labels.

Worked example

A cat/dog classifier needs correctly labelled, varied animal images.

Remember: Do not invent missing facts; investigate or handle missing values explicitly.

Practise this method →

Separate training from prediction

Training adjusts a model using examples. Prediction uses the trained model on an input.

Worked example

Learning from labelled emails is training; labelling a new email is prediction.

Remember: A model does not necessarily update itself after every prediction.

Practise this method →

Test on unseen examples

Compare predictions with checked answers on examples excluded from training.

Worked example

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.

Practise this method →

Improve and retest

Inspect mistakes, improve relevant data or model settings, retrain and evaluate again.

Worked example

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.

Practise this method →

Monitor after deployment

Deployment puts the model into use. Monitoring checks its performance as conditions change.

Worked example

A delivery model may need updating when road routes or delivery practices change.

Remember: Keep a way for people to report and correct errors.

Practise this method →

Questions and Solutions

A. MCQ 1. AI learns from:

a) Magic
b) Luck
c) Data
d) Guessing

Solution

Option (c) Data. Learning-based AI finds useful patterns in training examples.

A. MCQ 2. In spam detection, the AI problem is to:

a) Send emails
b) Write emails
c) Delete all emails
d) Identify spam emails

Solution

Option (d) Identify spam emails. The system separates unwanted messages from legitimate ones; deleting every message would not solve the problem.

A. MCQ 3. The first stage of a project cycle is:

a) Defining the problem
b) Data collection
c) Model development
d) Model deployment

Solution

Option (a) Defining the problem. Decide the goal, intended users and success criteria before collecting data or building a model.

A. MCQ 4. If an AI model predicts 8 out of 10 spam emails, the accuracy of the model is:

a) 50%
b) 20%
c) 80%
d) 100%

Solution

Option (c) 80%. Accuracy = (8 ÷ 10) × 100 = 80%. This assumes “predicts eight” means eight predictions are correct. Detecting eight spam emails alone is not enough to calculate overall accuracy unless the complete test set is specified.

A. MCQ 5. AI model improves because:

a) It thinks like a human
b) It has feelings
c) New data is added
d) It gets angry

Solution

Option (c) New data is added. Relevant, correctly labelled data can help when used to retrain or update the model. Incorrect or biased additions can harm performance, so improvement must be checked.

B. Fill in the blank 1. AI learns by finding _____________ in data.

Solution

Patterns. These are regularities that can support predictions.

B. Fill in the blank 2. An AI project follows a _____________cycle.

Solution

Project. Its stages can be revisited as the system is improved.

B. Fill in the blank 3. Spam emails often contain suspicious _____________.

Solution

Words. Unusual wording can be one clue, but a word alone does not prove an email is spam.

B. Fill in the blank 4. After testing, we _____________the system.

Solution

Improve. Use test results to correct weaknesses before deployment and continue checking later.

B. Fill in the blank 5. AI cannot work without _____________.

Solution

Data. It needs examples for training and suitable input for prediction.

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?

Choose one answer for Practice Q1

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?

Choose one answer for Practice Q2

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:

Choose one answer for Practice Q3

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?

Choose one answer for Practice Q4

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?

Choose one answer for Practice Q5

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?

Choose one answer for Practice Q6

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?

Choose one answer for Practice Q7

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?

Choose one answer for Practice Q8

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?

Choose one answer for Practice Q9

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?

Choose one answer for Practice Q10

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.

Scroll to Top