What does it mean to program?
Programming is writing instructions for a computer to follow. Different programming languages are used to give different instructions. Programming is used to create almost anything you can think of.
Programming: The Basics
Algorithm: A set of steps to solve a problem or complete a task. Syntax: The rules that determine the correct sentence structure in a programming language. Debugging: Finding and fixing errors in code.
Concepts:
What is syntax and why is it important?
- Learning programming languages
- Writing code
- Neither
The first programming language was created in 1883. Ada Lovelace is considered to be the world's first computer programmer. The world's first computer game, Spacewar!, was programmed in 1962.
Fun facts:
A loop is ? A sequence of instructions that is continually repeated until a certain condition is reached.
Draw / write: What are some examples of programming loops?
Draw / write: How can understanding loops help us write better programs?
What have you learned about loops so far?
What is a variable? Give an example of how it might be used?