Question 15

Consider the following psuedocode
x := 1;
i := 1;
while (x $$\leq$$ 1000)
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