Book 15, Question 134
How Does a Robot Know When Its Job Is Finished?
A robot knows its job is finished when its sensors show the goal has been reached.
A robot knows its job is finished when a test in its program becomes true! Sensors check the test again and again. When the answer is yes, the robot stops.