Question: 11. Given the following pseudocode: Set num to 10 WHILE (num is greater than o) Print num Set num to num-2 a. [4] Trace the
11. Given the following pseudocode: Set num to 10 WHILE (num is greater than o) Print num Set num to num-2 a. [4] Trace the program by writing the values of variables, conditions, and printout in a table (shown below). num num > 0 printout 10 10 True b. [4] Write the pseudocode in Super Simple CPU Assembly language. c. [1] Explain the function of the program in one sentence. (Hint: For the function of the program, you can explain the printout of the program)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
