8.2 Programming |
8.2.1 What is Program
For some purpose, a series of commands set which is executed by computers is called program. Creating
such a program is called programming.
We can execute the commands which already learned, with conditional branches and loops, in shell scripts.
8.2.2 Example of Program
Is it a program of an event, or TV program? What something sets in order are called program.
To set recording of TV program in advance is one of the examples. You set the start time and finish time, may specify the image quality also.
8.2.3 Element of Program
There are some important components in all programs. They are followings.
- Sequential execution
- Conditional branch
- Repetition
- Subroutine
Let's study about them.