Class 10 Computer · Chapter 6
Class 10 Computer Chapter 6 Notes – Introduction to Artificial Intelligence and Machine Learning (New Syllabus 2026-27)
Free 10th class computer chapter 6 notes for Introduction to Artificial Intelligence and Machine Learning, written for the new 2026-27 Punjab Board book. You get key definitions, AI and ML compared in simple words, types of learning with everyday examples and one short Python demo. Read the overview or download the free PDF.
Free PDFs
All Chapter 6 downloads
Every PDF for Chapter 6: notes and exercise solutions. Free to read online or download, no sign-up.
- Complete notes12.4 MB · PDFDownloadRead online
- Exercise solutions4.4 MB · PDFDownloadRead online
Overview
What Chapter 6 Introduction to Artificial Intelligence and Machine Learning is about

Chapter 6 explains what artificial intelligence is and how machine learning lets a computer learn from examples instead of following only fixed rules. You will see AI you already use: voice assistants, map apps that suggest a faster route, spam filters in email and video suggestions on YouTube. You will learn how a model is trained on training data and checked on test data, the difference between supervised, unsupervised and reinforcement learning, and why biased or poor data leads to wrong results. The chapter ends with the benefits and risks of AI.
Topics covered in the notes
- 6.1 What is AI: meaning of AI, narrow vs general AI, everyday examples.
- 6.2 What is machine learning: how ML differs from normal rule-based programs.
- 6.3 Training and testing: training data, test data, models and predictions.
- 6.4 Supervised learning: classification and prediction with labelled data.
- 6.5 Unsupervised learning: clustering similar items without answers given.
- 6.6 Reinforcement learning: trial and error, as in game-playing programs.
- 6.7 Benefits and risks: uses, bias, privacy and responsible AI.
Key terms
- Artificial intelligence (AI) is the ability of a computer system to do tasks that normally need human intelligence, such as understanding speech, recognising faces or making decisions.
- Machine learning (ML) is a branch of AI in which a computer learns patterns from data and improves with experience, instead of being given every rule by a programmer.
- Training data is the set of examples given to a machine learning model so that it can learn patterns. Test data is kept separate to check how well it learned.
- Model is what a machine learning program produces after training: it takes new input and gives a prediction or decision.
- Supervised learning is learning from labelled data, where each example comes with the correct answer, such as emails marked "spam" or "not spam".
- Unsupervised learning is learning from unlabelled data, where the computer finds groups or patterns by itself, such as grouping customers by shopping habits.
- Bias is an unfair pattern a model picks up when its training data is incomplete or one-sided, which can lead to wrong or unfair results.
Code examples
# training data: (hours studied, result)
train = [(1, "fail"), (2, "fail"), (4, "pass"), (5, "pass"), (6, "pass")]
def predict(hours):
nearest = min(train, key=lambda item: abs(item[0] - hours))
return nearest[1]
print(predict(3.6)) # pass
print(predict(1.2)) # failImportant formulas
Questions students ask
What is the difference between AI and machine learning?
AI is the big idea of making machines act intelligently. Machine learning is one way to achieve it, where the machine learns from data. All machine learning is AI, but not all AI uses machine learning; some AI follows hand-written rules.
What is the difference between supervised and unsupervised learning?
In supervised learning every training example has the correct answer, or label, so the model learns to predict that answer. In unsupervised learning there are no labels, and the model finds groups or patterns in the data by itself.
Why is training data so important?
A model can only learn what is in its data. If the data is too small, has mistakes or covers only some kinds of people or situations, the model will make wrong or unfair predictions.
Is AI the same as a robot?
No. A robot is a physical machine, while AI is software that makes decisions. Many AI systems, such as spam filters and map apps, have no robot body at all, and some robots use no AI.