Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

question: 3 which commands would move tracy forward 100 pixels? a. forw…

Question

question: 3
which commands would move tracy forward 100 pixels?
a. forward(100)
b. backward(-100)
c. forward(-100)

options:
○ a, b, and c
○ a only
○ b and c
○ a and b

Explanation:

Brief Explanations
  • Option A: forward(100) directly moves Tracy forward 100 pixels as the parameter is positive.
  • Option B: backward(-100) - a negative parameter in backward is equivalent to moving forward. So backward(-100) also moves forward 100 pixels.
  • Option C: forward(-100) - a negative parameter in forward would move Tracy backward, not forward.

So options A and B are correct.

Answer:

A and B