





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A series of questions and answers related to programming with turtle graphics, a popular python library used for creating simple graphics and animations. A variety of topics, including drawing shapes like circles, lines, and rectangles, as well as more complex patterns and designs. The questions are well-answered, providing step-by-step solutions that demonstrate the use of turtle graphics commands and programming concepts. This resource would be particularly useful for students learning the fundamentals of programming and computer graphics, as it offers a hands-on approach to understanding and applying these concepts. The document could serve as a valuable study guide, lecture notes, or reference material for university-level courses in computer science, programming, or digital media design.
Typology: Exams
1 / 9
This page cannot be seen from the preview
Don't miss anything!






2.1.4: Stretched Slinky<< answer >>circle(35) forward(40) circle(35) forward(40) circle(35) forward(40) circle(35) forward(40) circle(35) forward(40) 2.2.4: Shorter Dashed Line<< answer >>penup() backward(200) pendown() forward(50) penup() forward(50) pendown()
forward(50) penup() forward(50) pendown() forward(50) penup() forward(50) pendown() forward(50) penup() forward(50) pendown() 2.2.5: Caterpillar<< answer >>penup() backward(200) pendown() circle(20) penup() forward(40) pendown() circle(20) penup() forward(40)
pendown() forward(200) left(180) forward(400) left(90) penup() forward(100) pendown() left(90) forward(400) penup() left(90) forward(200) left(90) pendown() forward(400) 2.4.5: Row of Circles<< answer >>penup() backward(190) for i in range (20): pendown() circle(10) penup()
forward(20) 2.4.6: 4 Columns 2.0<< answer >>for i in range (1): penup() backward(200) right(90) forward(200) left(90) forward(100) left(90) pendown() forward(400) right(90) penup() forward(100) right(90) pendown() forward(400) left(90) penup() forward(100) left(90)
pendown() circle(50) penup() forward(100) setposition(0,0) pendown() circle(50) penup() forward(100) 2.6.4: Circle Pyramid with Comments<< answer >>""" This program will make a pyramid of circles """ penup() setposition(-100,-200)
for i in range (3): pendown() circle(50) penup() forward(100) setposition(-50,-100)
for i in range (2): pendown() circle(50) penup() forward(100)
setposition(0,0) pendown() circle(50) penup() forward(100) 2.8.4: Beaded Bracelet<< answer >>def sircle(): penup() forward(50) pendown() setposition(0,10) circle() for i in range(36): circle(10) left(10)