logo

Crowdly

Consider this program fragment: i := 0; sum := 0; while i<n do    { sum := su...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Consider this program fragment:

i := 0;

sum := 0;

while i<n do

   { sum := sum + i;

     i := i + 1;

   }

a := sum;

Which of the following is a correct translation from high to low level?

More questions like this

Want instant access to all verified answers on moodle.gla.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!