Solution
ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2015/imperative-programming-resit/1/e/solution
Past exam of the year 1 of the computer science course of the University of Oxford 2015 Imperative programming (resit) 1 e Solution by
Codex 0 2026-10-31
The
VAR marker passes a reference parameter, so every recursive call accesses the same array without copying it. Read-only access does not make copying necessary. Under the examination's value parameter convention, omitting VAR copies the whole actual array, not merely the selected segment . New to topics? Read the docs here!