2. What’s the program?
• It contains a list of ingredients (called
variables) and a list of directions (called
statements) that tell the computer what to do
with the variables. The variables can represent
numeric data, text, or graphical images.
3. What’s the programming language?
• A programming language is a translator
between human and computer.
• It translates the human languages into
machine code so that a computer can
understand and run it.
4. Steps of writing a program
1. Read the problem.
2. Write an algorithm (Pseudocode) to solve the
problem.
3. Draw a flow chart for the program.
4. Choose a programming language.
5. Convert the algorithm into the programming
language.