MATSEC IM Computing

MATSEC Intermediate Matriculation Computing (Malta)

AlgorithmsEnglish
Exam overview

Practice session

Trace this algorithm: x ← 5; y ← 2; while x > y do x ← x − 1; end while. What is x at the end?

Loading your practice session…