Question 40

Consider the following pseudocode.
x := 1;
i := 1;
while’$$(x \leq 500)$$
begin
$$X := 2^{x}$$;
i := i + 1;
end;
What is the value of i at the end of the pseudocode?


Create a FREE account and get:

  • Download Maths Shortcuts PDF
  • Get 300+ previous papers with solutions PDF
  • 500+ Online Tests for Free

cracku

Boost your Prep!

Download App