CODEHS PYTHON EXAM 2024\2025 WITH GUARANTEED ACCURATE ANSWERS |
VERIFIED
How would I tell Tracy to move forward 100 pixels - ACCURATE
ANSWERS✔✔ forward(100)
When using the circle() command, what value do we put inside the
parentheses? - ACCURATE ANSWERS✔✔ The radius of the circle
When Tracy is facing right, from what location does she start drawing
her circle? - ACCURATE ANSWERS✔✔ The bottom of the circle
Where does Tracy always start in the grid world? - ACCURATE
ANSWERS✔✔ At the (0,0) coordinate in the middle of the canvas
, What are the dimensions of Tracy's world? - ACCURATE
ANSWERS✔✔ 400 pixels x 400 pixels
Which commands would move Tracy forward 100 pixels?A.
forward(100)B. backward(-100)C. forward(-100) - ACCURATE
ANSWERS✔✔ A and B
Tracy always starts facing which direction? - ACCURATE
ANSWERS✔✔ East
If Tracy is facing right, which of the following commands can be used to
turn her to face up?A. left(90)B. turn(up)C. right(-90)D. setposition(90)
- ACCURATE ANSWERS✔✔ A and C
If Tracy started facing right, which direction would she be facing after
we ran the following code?
left(90)
left(90)
right(90) - ACCURATE ANSWERS✔✔ Up
Which of the following is NOT a reason for loops are useful when
writing code? - ACCURATE ANSWERS✔✔ Loops let us make shapes
of multiple sizes
The following loop draws 3 circles on the screen. If I wanted to alter this
loop to draw 10 circles, how many lines would my code be?