Log in
Sign up for FREE
arrow_back
Library
Programming with Python, Tracy the Turtle
By Lindsey Kay
star
star
star
star
star
Share
share
Last updated over 5 years ago
5 questions
Add this activity
Note from the author:
A quick review of some Python concepts using Tracy the Turtle.
1
1
1
1
1
The next several questions will relate to the image below.
Question 1
1.
The image above is a path for Tracy to follow. Which of the following codes would get Tracy to the starting position?
forward (200)
backward (200)
forward (100)
backward (100)
Question 2
2.
Which of the following codes would also get Tracy to the starting position?
setposition(0,200)
setposition(200,0)
setposition(0,-200)
setposition(-200,0)
Question 3
3.
Draw the path that Tracy will take on this canvas. This will help you get a better idea about far Tracy will move.
visibility
View drawing
Question 4
4.
Write a program that will make Tracy follow the path. Use the guide you just created to help you.
Remember to
triple-check
your spelling, punctuation and other super important details like that!
Question 5
5.
BONUS QUESTION:
Let's imagine we want Tracy to draw an
octogon
on the canvas. Do these 2 things:
Write a mathematical equation that will help us figure out how many degrees Tracy will need to turn at each corner.
Write a program that will make Tracy draw the octogon, using the information you gained from the equation.
visibility
View drawing