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.
Jump to a question or activity
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.
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.
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.
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.
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.
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.
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?
Solution
A2. Which AI domain works with images and videos?
Solution
A3. Clustering is mainly used to:
Solution
A4. In classification, the output is:
Solution
A5. In dataset division, which data is used for final evaluation?
Solution
B. Fill in the Blanks.
B1. Regression predicts _____________ values.
Solution
B2. Clustering does not require _____________data.
Solution
B3. Computer Vision works mainly with _____________ and videos.
Solution
B4. NLP helps machines understand _____________.
Solution
B5. A dataset is divided into training, validation, and _____________sets.
Solution
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
- Acquire images or video.
- Pre-process inputs, for example by correcting brightness or reducing noise.
- Extract or learn visual features.
- Train and evaluate a model on suitable examples.
- Apply the trained model to classify, identify or locate objects in new images.
- 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
D2. Clustering is a supervised learning method.
Solution
D3. Test data is used to evaluate model performance.
Solution
D4. Computer Vision can detect object locations.
Solution
D5. NLP can analyse sentiment in text.
Solution
E. Identify the AI Domain.
| AI APPLICATION | IDENTIFY 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
E2. Text summarization of long articles
Solution
E3. Recommending products based on past purchases
Solution
E4. Grouping customers by buying behaviour
Solution
E5. Chatbot answering customer queries
Solution
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?
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?
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?
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?
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?
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?
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?
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?
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?
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?
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.
