CLASS 7 · Artificial Intelligence

Class 7 CT and AI: AI Domains and Applications Solutions

Learn how AI uses data, images and language, then practise classification, regression and clustering.

Book: CBSE CT and AISession: 2026–27
Jump to a question or activity
  1. A1
  2. A2
  3. A3
  4. A4
  5. A5
  6. B1
  7. B2
  8. B3
  9. B4
  10. B5
  11. C1
  12. C2
  13. C3
  14. C4
  15. C5
  16. D1
  17. D2
  18. D3
  19. D4
  20. D5
  21. E1
  22. E2
  23. E3
  24. E4
  25. E5
  26. Short concept lessons
  27. Additional practice questions

Key ideas

Data Science analyses information and patterns; Computer Vision works with visual inputs; Natural Language Processing works with human language. These fields can overlap in one system. Predictions can be wrong, so test systems using data they did not learn from.

Short Concept Lessons

Learn a method, follow the example, then use it in the additional practice.

Match the domain to the task

Computer Vision analyses visual inputs. NLP processes human language. Data Science finds useful patterns in data. A system may combine these fields.

Worked example

Reading a road sign can combine visual text recognition with language processing.

Remember: Look at both the input and what the system is asked to do.

Practise this method →
Recognise classification outputs

Classification assigns an input to one of the defined categories.

Worked example

A model labels an email spam or not spam.

Remember: A category may be represented by a number without becoming a regression target.

Practise this method →
Recognise numerical predictions

Regression estimates a numerical quantity from examples.

Worked example

Estimating tomorrow’s temperature as 28.5°C is a regression task.

Remember: A prediction is an estimate, not a guaranteed outcome.

Practise this method →
Find groups without given class labels

Clustering groups records by similarity without being supplied with the correct group for each record.

Worked example

Group books by similar descriptions, then inspect and name the groups.

Remember: Clustering discovers groups; classification uses predefined categories.

Practise this method →
Keep learning and final testing separate

Training data teaches the model. Validation data helps compare choices during development. A separate test set checks the final model.

Worked example

With 100 examples, a 60/20/20 split gives 60 training,20 validation and 20 test examples. This is one example split, not a universal rule.

Remember: Repeatedly tuning to test results weakens their value as an independent check.

Practise this method →
Check data and predictions

Relevant, representative examples help a model learn useful patterns. Test on new examples and examine errors.

Worked example

A model trained only on clear daytime photos may struggle with dark or blurry photos.

Remember: More data alone does not guarantee good performance.

Practise this method →

Questions and Solutions

A. Multiple Choice Questions.

A1. Which AI technique predicts numerical values?

a) Classification
b) Clustering
c) Regression
d) Detection

Solution

Option (c) Regression. It estimates a numerical quantity, such as a price, rather than choosing a category.

A2. Which AI domain works with images and videos?

a) NLP
b) Data Science
c) Computer Vision
d) Science

Solution

Option (c) Computer Vision. It extracts useful information from images and video frames.

A3. Clustering is mainly used to:

a) Predict marks
b) Group similar data
c) Translate language
d) Detect spam

Solution

Option (b) Group similar data. Clustering finds groups from similarities without requiring predefined class labels.

A4. In classification, the output is:

a) A continuous value
b) A predefined category
c) A random number
d) A chart

Solution

Option (b) A predefined category. Examples include spam/not spam or cat/dog.

A5. In dataset division, which data is used for final evaluation?

a) Training
b) Validation
c) Test
d) Raw data

Solution

Option (c) Test. Keep this set separate from training and model-selection work so it provides a fair final check.

B. Fill in the Blanks.

B1. Regression predicts _____________ values.

Solution

Continuous (numerical). Regression predicts quantities such as temperature or price.

B2. Clustering does not require _____________data.

Solution

Labelled. The groups are discovered from similarities in the inputs.

B3. Computer Vision works mainly with _____________ and videos.

Solution

Images. A video is a sequence of image frames.

B4. NLP helps machines understand _____________.

Solution

Human language. This includes written text and, with speech-processing systems, spoken language.

B5. A dataset is divided into training, validation, and _____________sets.

Solution

Test. The three named sets are training, validation and test.

C. Short Answer Questions.

C1. Differentiate between classification and regression.

Solution

Classification predicts a class, such as whether an email is spam. Regression predicts a numerical value, such as tomorrow’s temperature. Both can learn from examples, but the type of output differs.

C2. What is clustering? Give one example.

Solution

Clustering puts similar records into groups without being given the correct group label for every example. For instance, it may group shoppers with similar buying patterns; people can later inspect and describe the groups.

C3. Explain the importance of datasets in AI.

Solution

A dataset supplies examples from which a learning system finds patterns, and separate examples with which its performance can be tested. Relevant, representative and carefully checked data supports better results; incomplete or biased data can lead to errors.

C4. List the steps involved in Computer Vision.

Solution

  1. Acquire images or video.
  2. Pre-process inputs, for example by correcting brightness or reducing noise.
  3. Extract or learn visual features.
  4. Train and evaluate a model on suitable examples.
  5. Apply the trained model to classify, identify or locate objects in new images.
  6. For video tasks, track objects across frames when needed.

Not every application needs every output stage. Training is distinct from making predictions on a new image.

C5. How does NLP help in communication systems?

Solution

NLP helps software analyse and generate language for translation, chatbots, summarisation and voice-assistant responses. It can also classify unwanted messages or estimate sentiment. Context and ambiguous words may still cause mistakes, so important messages should be checked.

D. True or False.

D1. Regression predicts categories.

Solution

False. Classification predicts categories; regression predicts numerical quantities.

D2. Clustering is a supervised learning method.

Solution

False. Ordinary clustering is an unsupervised method because target group labels are not supplied.

D3. Test data is used to evaluate model performance.

Solution

True. It checks performance on held-out examples after development.

D4. Computer Vision can detect object locations.

Solution

True. Object detection can return an object’s category and position, often shown by a bounding box.

D5. NLP can analyse sentiment in text.

Solution

True. A system can estimate whether text expresses positive, negative or other sentiment, although sarcasm and context can be difficult.

E. Identify the AI Domain.

AI APPLICATIONIDENTIFY THE TERM
Analysing MRI scans_____________
Text summarization of long articles_____________
Recommending products based on past purchases_____________
Grouping customers by buying behaviour_____________
Chatbot answering customer queries_____________

E1. Analysing MRI scans

Solution

Computer Vision. The input is medical imagery; findings support trained medical professionals.

E2. Text summarization of long articles

Solution

Natural Language Processing. It processes text and generates a shorter account.

E3. Recommending products based on past purchases

Solution

Data Science. The system analyses purchase records and patterns to estimate relevant recommendations.

E4. Grouping customers by buying behaviour

Solution

Data Science, using clustering. Similar records are grouped without fixed group labels.

E5. Chatbot answering customer queries

Solution

Natural Language Processing. It processes the user’s language and formulates a response.

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 · domains

Practice Q1. A system locates bicycles in a street photograph. Which AI domain is most directly involved?

Choose one answer for Practice Q1
Show hint

The input is an image and the task is visual recognition.

Show worked solution

Option (b) Computer Vision.

Computer Vision analyses the photograph to identify and locate bicycles.

Common mistake: Choose the domain that matches the data and task.

Apply · classify

Practice Q2. A model labels each message as spam or not spam. What technique is this?

Choose one answer for Practice Q2
Show hint

The possible categories are defined beforehand.

Show worked solution

Option (c) Classification.

Classification chooses between the predefined categories spam and not spam.

Common mistake: The task predicts a category.

Apply · regression

Practice Q3. A model predicts the selling price of a used bicycle. Which technique fits?

Choose one answer for Practice Q3
Show hint

A price is a numerical quantity.

Show worked solution

Option (a) Regression.

Regression estimates a numerical price from relevant examples and features.

Common mistake: The output type helps distinguish the technique.

Apply · cluster

Practice Q4. A system groups shopping records by similarity, without supplied group labels. What is it doing?

Choose one answer for Practice Q4
Show hint

The system discovers groups from the data.

Show worked solution

Option (d) Clustering.

Clustering finds groups of similar records without predefined labels for each example.

Common mistake: Do not confuse discovering groups with assigning known categories.

Apply · split

Practice Q5. Which data should be reserved for the final performance check after model development?

Choose one answer for Practice Q5
Show hint

The final check should use separate, unseen examples.

Show worked solution

Option (b) Test data.

A held-out test set provides the final evaluation after development choices are made.

Common mistake: A fair check must include relevant cases, including difficult ones.

Apply · split

Practice Q6. A dataset has 200 examples and is split 60% for training,20% for validation and 20% for testing. How many are in the test set?

Choose one answer for Practice Q6
Show hint

Calculate 20% of 200.

Show worked solution

Option (c) 40.

200 × 20/100 = 40 test examples.

Common mistake: Apply the test percentage, not the training percentage.

Apply · domains

Practice Q7. Which task most directly uses Natural Language Processing?

Choose one answer for Practice Q7
Show hint

Look for a task that processes human language.

Show worked solution

Option (a) Summarising a paragraph.

Summarisation processes text and produces a shorter account, an NLP task.

Common mistake: Using a computer does not automatically make a task AI.

Apply · quality

Practice Q8. An image model works well on its training photos but poorly on new photos. What is the best next step?

Choose one answer for Practice Q8
Show hint

Good performance must extend beyond memorised examples.

Show worked solution

Option (d) Investigate the errors and improve the data or model.

Inspect the failures, check whether the training data represents the intended use, and improve the model using development data. Keep a separate final test set.

Common mistake: Training success alone is insufficient.

Apply · classify

Practice Q9. A classifier outputs 0 for “cat” and 1 for “dog”. Is this regression because the labels are numbers?

Choose one answer for Practice Q9
Show hint

Ask what the numbers mean.

Show worked solution

Option (b) No, these numbers encode categories.

0 and 1 stand for category names, so the task remains classification.

Common mistake: Numeric codes and predicted numerical quantities have different meanings.

Apply · domains

Practice Q10. A chatbot can misunderstand a question. Which response is sensible?

Choose one answer for Practice Q10
Show hint

Language predictions can be mistaken.

Show worked solution

Option (c) Check important claims against a reliable source.

Verify important claims and ask for clarification when needed. Fluent wording does not guarantee accuracy.

Common mistake: Keep private information private.

Scroll to Top