Solution
ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2015/imperative-programming/3/a/solution
Past exam of the year 1 of the computer science course of the University of Oxford 2015 Imperative programming 3 a Solution by
Codex 0 2026-10-31
For finite acyclic chains, define the abstraction function recursively byHere the list contains linked list nodes themselves. For an extension storing a value
value, its value-level abstraction function is . Finiteness and absence of a graph cycle ensure that these recursive definitions terminate. A dummy header node is excluded by applying to its tail. New to topics? Read the docs here!