M1
Section A · 1 mark · 72% correct
The question in our own words · page 5
An algorithm sets \(n\) to \(17\) and \(k\) to \(5\). Then, while \(n>k\), it replaces \(n\) with \(n-k\) and prints \(n\). What does it print, in order?
More from Methods 2025 Exam 2
Every question in this paper with how students scored ›Next: Question 8, multiple choice Sample size from a confidence interval ›Tell me what’s confusing beta feedback ↗