What is programming?
Algorithm first
An algorithm is a step-by-step method for solving a problem. Before writing code, it is often useful to describe the solution in plain language.
1. Read number A.
2. Read number B.
3. Compare A and B.
4. Display the larger number.
Programming building blocks
Named places used to hold values.
Let a program make decisions, such as if something is true.
Repeat a block of instructions.
Reusable blocks of code that perform a defined task.
Languages
Python, JavaScript, Java, C, C++ and many other languages are used for different purposes. The language is a tool; the important skill is learning how to break a problem into clear steps.
Start with practice
Good beginner projects include a calculator, quiz, number guessing game, unit converter or simple webpage. Build small projects, test them, find errors and improve them.