HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Artificial Intelligence: Expert Systems and Machine Learning
  1. 1What artificial intelligence is
  2. 2Expert systems
  3. 3Machine learning
  1. Computer Science
  2. /Artificial Intelligence: Expert Systems and Machine Learning
  3. /What artificial intelligence is

Course 6.3·Lesson 1 of 3

What artificial intelligence is

Artificial intelligence is the branch of computer science that deals with the simulation of intelligent behaviours by computers. This lesson explains its main characteristics: the collection of data and the rules for using that data, the ability to reason, and, in some systems, the ability to learn and adapt.

about 25 min1 simulation1 practice question
Lesson 1 of 3Show all lessonsHide
Artificial Intelligence: Expert Systems and Machine Learning
  1. 1What artificial intelligence is
  2. 2Expert systems
  3. 3Machine learning

Try the code and the simulations beside the lesson.

Can a computer be clever?

Ask a map program for the fastest way home, and it compares many routes and picks one. A program can beat a strong player at chess. A phone can turn your spoken words into text. None of these programs thinks the way you do. But each one behaves as if it were intelligent.

What artificial intelligence is

Artificial intelligence (AI) is a branch of computer science dealing with the simulation of intelligent behaviours by computers.

"Simulation" is the key word. The computer copies the behaviour: it recognises a face, answers a question, plans a route or makes a decision. Intelligent behaviours include:

  • recognising speech, faces, objects and handwriting;
  • answering questions and translating between languages;
  • solving problems, such as finding a route or the next move in a game;
  • making decisions or suggestions from data.

The main characteristics of AI

The syllabus gives three. Learn them in these words.

1. The collection of data and the rules for using that data. An AI system holds a large amount of data, such as maps, medical facts or past games. It also holds rules that say how to use the data, for example "IF the road is closed THEN find another route".

2. The ability to reason. To reason is to use the data and the rules to reach a conclusion that was not stored before. The map program was never told your route home. It worked it out.

3. It can include the ability to learn and adapt. Some AI systems change their own data or methods as they meet new data, so they get better with time. Notice the word can. Not every AI system learns. An expert system, in the next lesson, can reason well without learning anything new.

The same reasoning in pseudocode and in Python

The box marked pseudocode is Cambridge pseudocode. It is shown, not run. The Python box after it does a fuller version of the same job, and you can run it.

pseudocode
INPUT Humidity
INPUT PressureChange
IF Humidity > 80 AND PressureChange < -1
  THEN
    OUTPUT "Rain is likely"
  ELSE
    OUTPUT "No conclusion"
ENDIF

The Python program holds three readings and three rules. One rule uses the conclusion of another, so the program reasons in two steps.

Read it first. Then run it. Which conclusion does it reach?

1. Change temperature = 3 to temperature = 1. Predict the new conclusions, then run it.

2. Which line is data, and which lines are rules?

Practise with new numbers

Common mistakes

  • AI means a robot. AI is software that simulates intelligent behaviour. A robot may use AI, but many AI systems have no body.
  • AI always learns. Learning and adapting can be part of AI. Data with rules, and reasoning, are the parts every AI system has.
  • Any program is AI. A calculator follows fixed steps for arithmetic. It does not simulate intelligent behaviour.
  • Reasoning means looking up a stored answer. Reasoning reaches a new conclusion from data and rules.

Remember these

  • AI is a branch of computer science dealing with the simulation of intelligent behaviours by computers.
  • Characteristics: the collection of data and the rules for using that data; the ability to reason; it can include the ability to learn and adapt.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. Complete: AI is a branch of computer science dealing with the ... by computers.
  1. Name the three main characteristics of AI in the syllabus.
  1. A program finds the fastest route between two towns that it has never been asked about before. Which characteristic does this show?
  1. Why is a calculator not an example of AI?
  1. A program recognises 468468468 of 520520520 test images. What percentage is that?

Enroll free in Artificial Intelligence: Expert Systems and Machine Learning

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (3)

A navigation program holds a map of every road in a country…Easy · High School (9–10) · by StemPy Lab
A program that recognises road signs is tested on 400 photographs it has not seen before…Medium · High School (9–10) · by StemPy Lab
Three programs are described below. For each, decide whether it is an example of AI, and give a…Medium · High School (9–10) · by StemPy Lab
Next: lesson 2Expert systems
← Artificial Intelligence: Expert Systems and Machine Learning
← PreviousExpert systems →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.