📚 Quick Study Guide
- 🐢 What is Turtle Graphics? It's a simple way to draw graphics using a 'turtle' that moves around the screen. Think of it as a digital pen!
- ➡️ Moving the Turtle: Use commands like
forward(distance) to move forward, backward(distance) to move backward.
- ↩️ Turning the Turtle: Use
left(angle) to turn left, and right(angle) to turn right. The angle is in degrees.
- ✏️ Drawing: The turtle draws as it moves. You can control the color and thickness of the line.
- 🌈 Colors: Use
color("red") or color(r, g, b) to set the color.
- ✍️ Pen Up/Down: Use
penup() to lift the pen (no drawing), and pendown() to put the pen down (start drawing).
- 📐 Shapes: By combining movement and turns, you can draw any shape!
Practice Quiz
-
What command moves the turtle forward?
- A.
move()
- B.
forward()
- C.
go()
- D.
advance()
-
What command turns the turtle to the right?
- A.
turn_right()
- B.
right()
- C.
rotate_right()
- D.
side()
-
Which command lifts the pen up, so the turtle doesn't draw?
- A.
draw()
- B.
pendown()
- C.
penup()
- D.
liftpen()
-
How would you set the turtle's color to blue?
- A.
color(blue)
- B.
set_color("blue")
- C.
color("blue")
- D.
blue()
-
What does the
speed(0) command do?
- A. Makes the turtle move at normal speed
- B. Makes the turtle move very slowly
- C. Makes the turtle move as fast as possible
- D. Stops the turtle
-
Which command moves the turtle backward?
- A.
back()
- B.
reverse()
- C.
backward()
- D.
retreat()
-
What does the command
left(90) do?
- A. Turns the turtle 45 degrees to the left
- B. Turns the turtle 90 degrees to the right
- C. Turns the turtle 90 degrees to the left
- D. Moves the turtle 90 steps to the left
Click to see Answers
1. B, 2. B, 3. C, 4. C, 5. C, 6. C, 7. C