Computer programming, also known as coding, is giving a set of instruction for a computer to perform some actions. For example, a computer does not know how to connect to the internet and download files on its own, and so we code (or program) a set of instructions for it to do that. The act of writing a set of computer instructions is called coding (or programming).
What do these instructions look like? You can imagine coding a simple computer toy-car; to move it from point A to point B, you need to give it instructions like:
- 1.Turn right by 90 degrees
- 2.Move forward by 15 centimeters
- 4.Turn left by 10 degrees
- 5.Move forward by 20 centimeters