Answer:

Ten lines of 9 stars each.

Changing NUM Each time

The inner loop is a module, a "black box" that does something. The module is told to print NUM stars in a new line each time the outer loop's bocy is executed.

What would happen if NUM were changed to a different number each time the outer loop's body were executed? Here is a way of doing that:

' Do the loop body ten times
FOR LINE = 1 TO 10
   
  LET  NUM = LINE
  +---------------------------------+
  |                                 |
  |  Print NUM stars in a new row   |
  |                                 |
  +---------------------------------+
  
NEXT LINE
'
END

Each time the inner loop is executed, NUM has a different number.

QUESTION 5: