AQA GCSE Computer Science Paper 2, June 2025: question 6

A PrepWise guide to a real paper, with our descriptions and answers. Not made or approved by AQA.

PrepWise guide: AQA GCSE Computer Science Paper 2Question 66 of 20

A compiler and an assembler are each a kind of program translator.

06.1[2 marks]

Complete the table, putting one tick on each statement's row, to show whether it is true for a compiler only, an assembler only, or both.

See how you would score on Translators

Our own questions on this topic, marked straight away, so you see what to revise. Free now.

It turns a program into machine code
Its input is a low-level language
Its input is a high-level language
Show model answer for 06.1Hide model answer for 06.1

It turns a program into machine code: both Its input is a low-level language: assembler only Its input is a high-level language: compiler only

2 marks

How the marks are earned

  1. Statement 1: both a compiler and an assembler turn code into machine code, so it is true for both.
  2. Statement 2: a low-level input is true for an assembler only.
  3. Statement 3: a high-level input is true for a compiler only.
  4. One correct row earns one mark and three correct rows earn two. A row ticked twice scores nothing.

Why it scores

Both translators produce machine code. An assembler is given low-level assembly language and a compiler is given a high-level language, so those two rows each belong to one translator.

Revise Translators
06.2[2 marks]

State two ways in which assembly language is unlike machine code.

See how you would score on High & Low Level Languages
Show model answer for 06.2Hide model answer for 06.2

Assembly language is written with short memory-aid words, called mnemonics, which people find easier to read and write. Machine code is made only of 1s and 0s. Assembly code cannot run until an assembler has turned it into machine code, but the CPU can run machine code as it is.

2 marks

How the marks are earned

  1. One mark for any one of these about the form of the code: assembly language stands for machine instructions with mnemonics, short abbreviations, symbols or numbers; machine code is made of 1s and 0s, or of bits or binary; people find assembly language simpler to write, understand, read or use.
  2. One mark for either of these about how it runs: assembly language must be translated (by an assembler) into machine code (before running); the CPU can run machine code directly.

Why it scores

The two differences are the form of the code and the way it runs, so each earns its own mark.

Revise High & Low Level Languages
AQA owns the copyright in its exam questions, so we cannot copy their wording. These descriptions and answers are ours. Not made or approved by AQA.[4 marks]