Answer:

The calculation 5 + 2 on the right of the equal sign is done, resulting in a 7.

Final Step of the LET

Recall again: A LET Statement:

  1. Finds memory for each NEW variable in the statement.
    • If there are no new variables, this step does nothing.
  2. Does the calculation on the RIGHT of the equal sign.
    • If there is nothing to calculate, it just uses the value that is there.
  3. Replaces the contents of the variable to the LEFT of the equal sign with the result of the calculation.

Whatever was in the variable before is completely replaced with what was calculated in step 2.

QUESTION 5:

Now the computer has a 7 as a result of the calculation. What is the FINAL step as the LET statement executes?

' Example LET statement
LET NUMBER = 5 + 2
PRINT NUMBER
END