AI lets machines do tasks that need thinking, like recognising and predicting, by learning from data. Automation only repeats a fixed rule.
| Accuracy | correct ÷ number tested × 100% |
| Example | 21 right out of 25 → 84% |
| Wrong answers | number tested − correct |
| Reward score | points for good moves × good moves − penalty × bad moves |
| AI or automation? | maps app predicting traffic: AI; street light on at 6 p.m.: automation |
(a) A robot learns a game by trial and error. It gets +9 points for a good move and loses 5 points for a bad move. In 27 moves, 21 were good. What is its score?
(b) A model is tested on 25 pictures of fruit it has never seen. It labels 21 of them correctly. What is its accuracy?
Working: (a) 9 × 21 − 5 × 6; (b) 21 ÷ 25 × 100
Answer: (a) 159; (b) 84%