OCR GCSE Computer Science · J277
Paper 2
Revise: Trace TablesWhen an assignment executes, calculate the expression using the current values, then store the result in the named variable. For example,
Y = Y + 6means “add six to the current value of Y, then replace Y with the result”. It is not an algebraic equation to solve.- Revise: Variables, Constants, and Operators
An instruction that stores a value under a name, usually by evaluating an expression on the right and storing its result in the variable on the left.