Translators and IDEs

About this lesson: Translators and IDEs

In short

High-level languages are easy for people to read. Assembly uses short codes for each processor instruction. Machine code is binary, the only thing a CPU runs. Compare the three.

Translators and IDEs

What you'll explore

Language levels: High, low and machine code
High-level languages are easy for people to read. Assembly uses short codes for each processor instruction.
Translators: Compiler or interpreter?
A compiler translates the whole program into machine code before it runs. An interpreter translates and runs one line at a time.
Syntax errors: Breaking the language rules
A syntax error breaks the grammar of the language, so the program can't be translated at all. An IDE highlights it for you. Run it, then fix it.
Logic errors: Runs, but wrong
A logic error lets the program run but gives the wrong result. IDE tools such as breakpoints and variable watches help you trace where it goes wrong.
Check yourself: Choose a translator
A software company wants to sell its game without giving away its source code.

Also in this lesson

  • Step by step
  • The ideas in detail
  • Watch out for these
  • More than the lesson
  • Stretch your brain
  • Try it yourself

Words to know

high-level language
Close to English; works on many computers.
low-level language
Close to the hardware: assembly and machine code.
machine code
Binary instructions the CPU runs.
assembly language
Mnemonics, one per machine instruction.
compiler
Translates the whole program at once.
interpreter
Translates and runs one line at a time.
assembler
Translates assembly into machine code.
IDE
Integrated development environment.
breakpoint
A point where a program pauses for debugging.
executable
A machine-code file that can run on its own.

Sources

  • BBC Bitesize, GCSE Computer Science: Translators
  • Isaac Computer Science: Programming languages
  • Computer History Museum: Grace Hopper
  • Thonny IDE documentation

An interactive lesson with a live experiment: move the sliders, press the buttons and answer quick questions. 5 short steps and a 8-question quiz. Part of the Family plan. Written and checked by Shalo Lab. Last updated 10 November 2026.

← Operating systems and interrupts · A file's journey: systems review →

All lessons in Term 2 · Computing · Age 14