Introduction to computer programming language
What is a program?
A computer is a tool for solving problems with data.
A program is a sequence of instructions that tell a computer how to do a task. When a computer follows the instructions in a program, we say it executes the program. You can think of it like a recipe that tells you how to make a peanut butter sandwich. In this model, you are the computer, making a sandwich is the task, and the recipe is the program that tells you how to execute the task.
- Activity: Come up with a sequence of instructions to tell someone how to make a peanut butter sandwich. Don’t leave any steps out, or put them in the wrong order.
Was that easy? Did you remember all the steps? Maybe you forgot to tell me to use a knife to spread the