Login or Create an Account to view the mark scheme, comment, and add to a test
What are the final values of X and Y after following code is run
X=1
Y=1
While X < 500
X = X + X
Y = Y + 1
end while
(a).
Y = 10, X = 512
(b).
Y = 9, X = 512
(c).
Y = 10, X = 256
(d).
Y = 9, X = 256
Multiple Choice1 MarkCommunity
34 Uses40 Views0 Likes