Question Constellation Sign up for free

AQA · GCSE · Computer Science · Higher

Meaning of an assignment statement

Q01.4 1 mark

Describe what is meant by an assignment statement in a program.

Write your answer first. You can study the marking guidance whenever you need it.

Study the marking See what earns credit and compare it with a full-mark answer.

Marking points

  1. 1 Explains that a value is assigned to a variable.

Full-mark answer

An assignment statement gives a value to a variable.

Why this answer loses marks

It changes something in the program.

This does not say that a value is given to or stored in a variable, which is the relationship this definition needs.