Programming : Translation

High level language programs must be translated into machine code before they can be executed. This can be done automatically using either an interpreter or a compiler.

Programs are often developed using an interpreter because an interpreter can execute working parts of a program even if some parts do not yet work. When the program works properly it is then compiled so it will run faster and use up less memory. Most sophisticated, large computer programs are written using high-level languages.

Some languages such as BASIC usually use an interpreter. Other languages such as Pascal normally use a compiler.

GCSE ICT Companion 04 - (C) P Meakin 2004