The function of computer
Although the computer is very powerful. It can be used for you to surf the Internet, play games and manage the company's personnel relations. But without a program, it is equivalent to a pile of scrap iron and will not pay attention to the "orders" we give it.
Definition of program
A program is a collection of instructions that tell a computer how to perform a special task.
Metaphor of programming
For example, it is like guiding you to make a menu, or directing a traffic policeman (or a traffic sign) to drive all the way to the destination. Without these special instructions, the expected task will not be carried out.
programming language
Programming can be realized by using a programming language, and what the computer is required to do is described according to the grammar of this language.
rules of procedure
After writing the program, special software will interpret or translate your program into a "computer language" that the computer can recognize, and then the computer can "understand" your words and do things according to your instructions.