Imperative programming (source code)

= Imperative programming
{scope}
{title2=A10098W1}

Source paper: https://www.whatdotheyknow.com/request/ba_computer_science_past_papers/response/2577745/attach/2/202402%20183%20CS%20Papers.zip?cookie_passthrough=1[released examination archive, member 2017/T/a10098w1.pdf]. The printed cover dates this examination to Wednesday 13 June 2018, Trinity Term; the archive directory does not determine its year. All eight questions and every printed option are covered. Examples use <Scala> 2 syntax. Arithmetic <loop invariants> describe exact arithmetic unless a <floating-point arithmetic> qualification is stated.