Singapore GCE O-Level Computing

Algorithms And LogicEnglish
Exam overview

Practice session

Consider the following pseudocode snippet: x ← 1 count ← 0 WHILE x < 10 DO x ← x * 2 count ← count + 1 ENDWHILE What is the final value of 'count' when the loop terminates?

Loading your practice session…