Microsoft
98-374 · Question #107
You are working on a game that has a grid on which the avatar of the player moves in steps. The origin (0,0) is at the upper-left corner of the game board. Y increases toward the bottom, while x…
The correct answer is D. Option D. See the full explanation below for the reasoning.
Question
You are working on a game that has a grid on which the avatar of the player moves in steps. The origin (0,0) is at the upper-left corner of the game board. Y increases toward the bottom, while x increases toward the right. Which code segment should you use to move the avatar of the player by 3 units to the South and 3 units to the West?
Options
- AOption A
- BOption B
- COption C
- DOption D
How the community answered
(56 responses)- A5% (3)
- B13% (7)
- C2% (1)
- D80% (45)
Community Discussion
No community discussion yet for this question.