This preview shows page 1. Sign up to view the full content.
Unformatted text preview: # # val = 0 (val should be bound to 0 instead of 1) # # and # # val = val + fun1(i) (the operator should be + instead of *), # # respectively. # # Testing Question # # The input space of fun2 divides into two obvious regions: (1) where m # > 2*n (where the loop body is not executed) and (2) where m <= 2*n # (where the loop body is executed). The boundary points are thus the # points (m,n) where m + 1 = n and m = n....
View
Full
Document
 Summer '10
 SMITH

Click to edit the document details