Artificial intelligence

Computer Science · Automated and emerging technologies. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Computer Science topics

The idea

Artificial intelligence (AI) is the branch of computer science that deals with the simulation of intelligent behaviour by computers. An AI system has a collection of data and the rules for using that data. It has the ability to reason, and it can include the ability to learn and adapt.

An expert system copies the knowledge of human experts in one subject, for example diagnosing an illness or a fault in an engine. The user answers questions and the system gives a likely conclusion.

In machine learning, a program can automatically adapt its own processes and/or data. It gets better at a task as it is given more data, without a programmer rewriting it.

Rules to remember

Common mistake

Students mix up the knowledge base and the rule base. The knowledge base holds the facts; the rule base holds the rules; the inference engine is the part that uses both.

Worked example

An expert system identifies a type of rock. Name the component that does each job: (1) holds 'granite contains quartz', (2) holds 'IF it fizzes in acid THEN it may be limestone', (3) shows the questions on screen, (4) works out the answer.

  1. (1) is a fact about the subject, so it is in the knowledge base.
  2. (2) is an IF ... THEN ... rule, so it is in the rule base.
  3. (3) is how the user communicates with the system: the interface.
  4. (4) needs the rules to be applied to the facts and the user's answers: the inference engine.

Answer: (1) knowledge base, (2) rule base, (3) interface, (4) inference engine.

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Keep going

← RoboticsProgram development life cycle and decomposition →Take a Computer Science test