RecallStrideA BreakellSystems productTry revision

OCR J277 · Computational thinking, algorithms and programming

Languages and translators revision

Compare high-level and low-level languages and explain the roles and trade-offs of compilers and interpreters.

OCR GCSE Computer Science · Topic 2.5.1 · By RecallStride / BreakellSystems

Try J277 revisionAll J277 topics

What to know about languages and translators

Different levels of abstraction

High-level languages express algorithms using constructs that are relatively close to the programmer's problem. They normally improve readability, development speed and portability when a suitable implementation exists. Low-level languages are closer to the processor: machine code is directly executable binary instructions, while assembly uses mnemonics and is tied to a target instruction set.

Translating source into execution

A compiler translates source into another executable or intermediate form, often producing a saved object/executable program before it is run. An assembler translates assembly language to machine code. An interpreter executes a source program through an interpreting environment, commonly described at this level as translating/executing statements as needed. Real systems may combine these approaches, but the basic distinctions remain useful.

Focus areas: Languages and translators.

Test yourself: questions and answers

Answer each prompt from memory before opening the explanation. These 4 samples come from this topic's 8 original retrieval cards.

What is a characteristic of high-level language code?

It uses relatively readable abstractions and control structures for programming tasks.

What is machine code?

Binary instructions directly understood by a particular processor architecture.

What does an assembler translate?

Assembly-language instructions into machine code.

What is a compiler's main job?

Translating a program into another executable/intermediate form, commonly before running it.

Turn this topic into a revision session

  1. Explain one idea without looking at the notes.
  2. Compare your answer with the guidance and identify the missing link.
  3. Apply it in a question or short program, then revisit it after a delay.

Free accounts choose one revision topic pack. Pro includes all 26 packs in this course and both published qualifications. Public samples and coding practice are free; PDF guides are separate purchases.

Create a free account

Specification and sources

Check the required scope against the official OCR J277 specification (PDF). RecallStride's explanations and examples are independent learning resources. See our editorial policy or report a correction, including the topic code and statement concerned.