Course 6.3Lesson 1 of 3
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.
Try the code and the simulations beside the lesson.
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.
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:
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 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.
INPUT Humidity
INPUT PressureChange
IF Humidity > 80 AND PressureChange < -1
THEN
OUTPUT "Rain is likely"
ELSE
OUTPUT "No conclusion"
ENDIFThe Python program holds three readings and three rules. One rule uses the conclusion of another, so the program reasons in two steps.
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Every lesson is open to read. Enrolling also lets you:
Log in to join the discussion.
Loading…
This lesson is free to read. Enroll free to keep your place and take the tests.