Archibald Haddock (123456789) COMP-202A, Section 0 (Fall 2010) Instructor: Cuthbert Calculus Assignment 1, Question 3 (c) q = 7.0 1. The * in 'q*12' = 84.0 2. The / in 'z/x' = 2 3. The * in '4*(z/x)' = 8 4. The + in '4*(z/x)+100' = 108 5. The * in '... +100)*y' = 648 6. The - in 'q*12-(4*(z/x)+100)*y' = -564 7. The - in '...*y-z' = -575 8. The % in '(q*12-(4*(z/x)+100)*y-z)%5' = 0.0 9. The / in '...5)/2' = 0.0 10. The + in '...2+283 = 283.0 NOTE: This is NOT the order of evaluation taught during the lectures. The above order of evaluation is the one which is used in the bytecode generated by the Java compiler, but it is *equivalent* to the one which was taught during the lectures. For the order shown during the lectures, see Maja's solution.