Programming turns an algorithm into code a computer can run.
A variable stores a value that can change. A loop repeats instructions; a condition (IF) chooses what to do. Common data types include integer (whole number), real (decimal), string (text) and Boolean (true/false).
Remember
- Variables store data; loops repeat; IF selects.
- Data types: integer, real, string, Boolean.