AI & Tech One-page note
What Is Code? Programming Basics
Every app, website and game started as lines of code. Here's what code actually is, the languages worth knowing, and free ways to start today. Save this page.
Good to know
Simplified. Sources: AQA GCSE spec, Python.org, MDN, Scratch Foundation, Raspberry Pi Foundation. Checked Nov 2026.
What's on the page
The note as text, so you can read it, copy it or use a screen reader.
What code is
- Instructions a computer follows
- Written in a programming language
- A program = an algorithm written in code
From your code to the chip
- The processor only runs machine code (binary)
- Most programs are written in "high-level" languages
- A compiler or interpreter translates them
Popular languages
- Python: simple, readable, free
- JavaScript: makes web pages interactive
- HTML and CSS: a page's structure and style
- Scratch: drag-and-snap blocks, made for kids
Free ways to start
- Scratch: free for everyone
- Code Club: free step-by-step project guides
- Python: free to download and use
Tips and mistakes
- Break a big problem into small steps
- Test as you go: errors are normal
- Two kinds: syntax errors (typos) and logic errors (wrong result)
- Quitting at the first error message
Sources
- AQA: GCSE Computer Science 8525, 3.4 Computer systems (3.4.4 languages and translators)
- AQA: GCSE Computer Science 8525, 3.2 Programming (3.2.11)
- AQA: GCSE Computer Science 8525, 3.1 Fundamentals of algorithms
- Python Software Foundation: What is Python? Executive Summary
- Python docs: General Python FAQ
- MDN Web Docs: What is JavaScript?
- Scratch Foundation
- Code Club (Raspberry Pi Foundation): Discover clubs
How we checked this
Every fact on this note comes from the 8 sources listed here, checked against official or peer-reviewed sources where possible. AI tools help with drafting; a person checks every fact against the sources. How we research
Spotted a mistake? Tell us and we'll fix it and log it on the corrections page.