You slide your card into an ATM and type your PIN. Behind that small screen somebody, years ago, wrote down exactly what must happen next. If the PIN is right, show the menu. If it is wrong, count the mistake, and after the third mistake keep the card. Nobody at the bank stands behind the machine making these decisions. The decisions were made once, on paper, so completely that a machine with no judgement at all can carry them out ten million times a day without a single argument.
In the last chapter a program searched a maze of possible positions, using A* and a good guess. That program did not think either; it followed steps that someone had written down exactly. This chapter goes back to where all of that starts: how to write a procedure down so exactly that it cannot be misread. That skill is called algorithm writing, and the pictures we draw of it are called flowcharts. Both are asked in almost every bank, BCS and teacher-recruitment written paper: "Draw a flowchart and write an algorithm to find the GCD of two numbers", "Write an algorithm to check whether a number is prime", "Draw a flowchart for the series 1 + 3 + 5 + … + N". These are some of the safest marks in the whole syllabus, and they go wrong only for the lack of a method.