What is Programming?
The modern world is full of computers! There are desktops, laptops, and tablets. Even a cell phone is a mini computer.
Other devices have computers, too. Satellites in space are controlled by computers. Robots, Modern Cars, TVs and washing machines also have computers.
A modern computer system consists of hardware and software. Hardware consists of the physical devices that you can touch (hardware executes a set of instructions). Software is the set of these instructions, represented as programs in particular programming languages. Hardware and software work together.
For example, an elevator is hardware. Press the button for your floor, and the software program tells the elevator where to go.Computer programs are called code. Code is a set of instructions for a computer to follow.
Coding is writing step-by-step instructions for a computer. For example, here are instructions for an elevator.
1. Wait for doors to close.
2. Wait for button to be pressed.
If button pressed is higher than current floor, move upward.
If button pressed is lower than current floor, move downward.
3. When current floor is the same as button pressed, open doors.
Coding:
Coding is writing instructions for a computer to perform a task. This code has to be in a form that the computer can understand. This is more formally known as computer programming. The term programming means to create (or develop) software, which is also called a program. In basic terms, software contains the instructions that tell a computer—or a computerized device—what to do.