Tip: press / anywhere to search. Or open a random note →

Handwritten one-page note: What Is Code? Programming Basics
Tap the note to see it full size

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

  1. AQA: GCSE Computer Science 8525, 3.4 Computer systems (3.4.4 languages and translators)
  2. AQA: GCSE Computer Science 8525, 3.2 Programming (3.2.11)
  3. AQA: GCSE Computer Science 8525, 3.1 Fundamentals of algorithms
  4. Python Software Foundation: What is Python? Executive Summary
  5. Python docs: General Python FAQ
  6. MDN Web Docs: What is JavaScript?
  7. Scratch Foundation
  8. 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.

More from AI & Tech

All AI & Tech notes →