Minutes after Mark Dist in Andre Dist in 8:00 miles miles ------------------------------------------------ 0 0 0 ------------------------------------------------ 1 1 0 ------------------------------------------------ 2 2 0 ------------------------------------------------ 3 3 3/2 ------------------------------------------------ 4 4 6/2 = 3 ------------------------------------------------ 5 5 9/2 ------------------------------------------------ 6 6 12/2 = 6 ------------------------------------------------ The following table traces the execution of the program of problem 3. For each line of code that updates a value of a memory box the new value is entered in the table. There will be a problem of this type on the midterm. Box - Sum Box - Addval Box - Incr Box - Limit 100 101 102 103 Code line 0 4 ---------------------------------------------------------------- 1 0 ---------------------------------------------------------------- 2 1 ---------------------------------------------------------------- 3 1 ---------------------------------------------------------------- 4 1 ---------------------------------------------------------------- 5 2 ---------------------------------------------------------------- 6 ---------------------------------------------------------------- 4 3 ---------------------------------------------------------------- 5 3 ---------------------------------------------------------------- 6 ---------------------------------------------------------------- 4 6 ---------------------------------------------------------------- 5 4 ---------------------------------------------------------------- 6 ---------------------------------------------------------------- 4 10 ---------------------------------------------------------------- 5 5 ---------------------------------------------------------------- 6 ---------------------------------------------------------------- 7