01 value = 2
02 repeat
03 print(value)
04 value = value + 2
05 until value == 8
06 print("End")
Complete the following trace table for the given algorithm.
Line number
value
Output
[3]
Markscheme
Programming fundamentals Questions
95 exam-style questions on OCR GCSE Computer Science Programming fundamentals. Each one has a worked solution and a mark scheme showing where the marks go.