Quelpr
1 markPaper 1 · Multiple choiceTranslating Algorithmic Statements

CSEC Information Technology · May/June 2019 · Paper 1 · Question Q57

Item 57 refers to the following code. sum = 0 count = ? While count < 10 do count = count + 1 Read num sum = sum + num endwhile Printsum If the While loop is to be executed 10 times, what initial value should be stored in count?

  1. (A)-1
  2. (B)0
  3. (C)1
  4. (D)2

The answer is shown once you've answered.

Practise this question

More practice: the rest of this paper · more Translating Algorithmic Statements questions · all CSEC Information Technology past papers