What Is Programming?
Programs are step-by-step instructions written in a language computers can run.
About this topic
Programming is writing precise instructions, called code, that a computer can follow to solve a problem or perform a task. Programs are written in programming languages such as Python, JavaScript, Java and C, which are translated into machine code by a compiler or run line by line by an interpreter.
A program is built from a few core ideas: sequence (steps run in order), selection (choosing between options), iteration (repeating) and abstraction (naming and reusing pieces). The process usually follows a cycle of understanding the problem, planning with pseudocode or flowcharts, writing code, testing and fixing errors, and improving.
For instance, a program to calculate a tip asks for a bill, multiplies by 0.15, and prints the result. Computers do exactly what the code says, not what the programmer meant, so clear thinking matters more than typing speed. Programming powers websites, apps, games, medical devices and scientific research. A common misconception is that you must be a maths genius; mostly you need patience, logic and practice. Start with small programs, run them often and read error messages carefully.
Key ideas
- Source code, compiler or interpreter
- Syntax and semantics
- Languages like Python, JavaScript, Java
Quick check
Use cases: where What Is Programming? helps
- Homework: review the key idea behind What Is Programming? before you start a problem set.
- Exam revision: use the quick check to test whether you can recall What Is Programming? without notes.
- Visual learning: play with the interactive lab to see how What Is Programming? changes when you adjust its inputs.
- Teaching a friend: explain What Is Programming? in your own words, then compare your version with the key ideas.
Computing ideas run phones, search engines, games and the wider internet.
Frequently asked questions
What is What Is Programming??
Programs are step-by-step instructions written in a language computers can run.
What will I learn in What Is Programming??
Source code, compiler or interpreter. Syntax and semantics. Languages like Python, JavaScript, Java.
Is What Is Programming? part of Computer Science?
Yes. It is one of 80 Computer Science topics on LearnViz HighSchoolEdu, with 3 key ideas, a live animation and a quick check.
Does the What Is Programming? lab work on a phone or tablet?
Yes. The animation resizes to fit your screen and supports touch, so you can drag, tap and slide with your finger.
How should I study What Is Programming??
Read the summary and key ideas first, play with the interactive lab to see the idea in motion, then answer the quick check. If you get a question wrong, go back to the key idea it tests.
Do I need an account, and is my progress saved?
No account is needed. Marking a topic as learned is saved in your own browser, so it stays on that device and is not sent to a server.