How Coding Works

How Coding Works — page 3
The robots seem to do these things without anyone controlling them Yet all robots are controlled by something Each robot has a small computer inside it The computer is like a brain for the robot A brain controls a person’s body In a robot the computer tells the robot’s body what to do Unlike a person’s brain a robot’s computer cannot think for itself It must be told what to do That is what code is for Code is a set of instructions that tells a computer what to do It can be used for simple actions such as moving forward It can also be used for complicated actions such as passing a soccer ball 6