QUESTION IMAGE
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
Brief Explanations
- Option A:
forward(100)directly moves Tracy forward 100 pixels as the parameter is positive. - Option B:
backward(-100)- a negative parameter inbackwardis equivalent to moving forward. Sobackward(-100)also moves forward 100 pixels. - Option C:
forward(-100)- a negative parameter inforwardwould move Tracy backward, not forward.
So options A and B are correct.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
A and B