題組內容

There are 8 problems in this test. Note that you should write down detailed steps for the solution to each problem; otherwise, no credits for that problem will be given.
1. Consider the following program segment (written in pseudocode):
 61a072232138f.jpg

(b) [10%] Replace i in the second line by iP and answer the question in part (a).