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
  1. Problems
  2. /Three programs are described below. For each, decide whether it is an example of AI, and give a…
MediumComputer ScienceHigh School (9–10)Computer Science › Automated and Emerging TechnologiesConceptualIGCSE

Three programs are described below. For each, decide whether it is an example of AI, and give a…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

Three programs are described below. For each, decide whether it is an example of AI, and give a reason.

  1. A program adds up the prices of the items in a shopping basket and prints the total.
  1. A program plays a board game. For each move it looks ahead at many possible moves and chooses the one most likely to win.
  1. A program sorts a list of names into alphabetical order.
Need a reminder? The key ideaShowHide

AI is a branch of computer science dealing with the simulation of intelligent behaviours by computers. Its main characteristics are the collection of data and the rules for using that data, the ability to reason, and it can include the ability to learn and adapt.

The worked solution

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

(a) Not AI. It follows fixed steps of arithmetic. It does not simulate intelligent behaviour.

(b) AI. It simulates the intelligent behaviour of a player. It uses data (the board) and rules (the game's rules and ways to judge a position), and it reasons to choose a move.

(c) Not AI. Sorting follows a fixed method that always gives the same order. It does not simulate intelligent behaviour.

Watch out. A fast or useful program is not AI because of that. Ask whether it simulates an intelligent behaviour by reasoning.

Log in to save this for later
← All Problems
← A program that recognises road signs is tested on 400 photographs it has not seen before…A garage uses an expert system to help mechanics find faults in car engines… →
More onComputer Science › Automated and Emerging Technologies

Discussion (0)

Log in to join the discussion.

Loading…

More on this topic

  1. A filter calls an email unwanted when its score is greater than its dividing line T…Hard
  2. A bank wants software to decide which card payments might be fraud…Hard
  3. A learning filter is given eight emails that users have labelled…Medium
  4. An email service has a filter that moves unwanted messages into a separate folder…Medium
  5. A health centre in a remote area uses an expert system to help a nurse decide whether a patient…Hard
All problems on this topic →