[Coding Exercise] Week 9 - My signed turtle abstract art

.pdf

School

Simon Fraser University *

*We aren’t endorsed by this school

Course

120

Subject

Computer Science

Date

Oct 30, 2023

Type

pdf

Pages

6

Uploaded by xiaofanfan

7/10/22, 1:36 PM [Coding Exercise] Week 9 - My signed turtle abstract art https://canvas.sfu.ca/courses/70584/assignments/782116?module_item_id=2560489 1/6 [Coding Exercise] Week 9 - My signed turtle abstract art Due Monday by 11:59p.m. Points 24 Submitting a file upload File Types zip Available Jul 3 at 11:59p.m. - Jul 13 at 11:59p.m. Start Assignment Similarly to a previous assignment, additionally to submitting your own creation via Canvas (here in this assignment), you will submit (the same zip file) via the Kritik tool for the 'create' stage, and later you will have to additionally do two extra stages ('evaluate' and 'feedback') in the Kritik tool, to practice giving and receiving constructive critique from and to peers. Because this will be an anonymous evaluation process, in your turtle program header DO NOT INCLUDE YOUR NAME. Only include the date and a brief description. To organize this exercise there will be two Canvas assignments . This current one which the TAs will mark, and a "reflection" assignment describing the Kritik details (which will include the Kritik points). Thus, Kritik points will only be part of the Reflections category in the course as it was the case in the previous assignment This collage includes works of art that students in previous CMPT 120 semesters agreed to share in class. Explore the turtle drawing package to create your work of art! For this assignment you need to choose a picture (any picture you like, it can be a picture or a painting from a real place, landscape, including people or not; it can be your own picture or one which you obtained from some other source - you will have to provide a reference).
7/10/22, 1:36 PM [Coding Exercise] Week 9 - My signed turtle abstract art https://canvas.sfu.ca/courses/70584/assignments/782116?module_item_id=2560489 2/6 You then will have to create an abstract version of this picture using Turtles and so that the code follows the specifications below. You will have to iclude both in a .zip file: the picture which inspired you, and your .py file. This assignment will be done with Kritik as well, therefore, you will have to upload the same zip file to both: Canvas and Kritik. Similarly to a previous assignment that we did using Kritik, after the creation submission deadline, everyone will have a few days to evaluate peers, and then a few days to provide feedback to evaluators. Similarly to the previous assignment, again the Kritik points are only part of a "reflection" assignment: [Reflections] Week 9 - Kritik component of "My signed turtle abstract art" coding exercise The link to the Kritik activity is in said assignment. Required code features: 1. Includes some color, fills in some area with some color, changes the pen color in some parts 2. The turtle does at least three visible right or left turns 3. The pen changes from being up to down at leas t 2 times 4. There are at least three for-loops. The for loops may be inside a function definition or outside. The for loops may be nested (within other for loops) but do not have to be so. 5. You create at least three functions which do drawings and/or pen movements. Two of these functions should have some paramete r(s) which provide variation to the function when it is executed. 6. The defined functions are actually called and not just defined (i.e. they are used and passed arguments to the parameters as needed) 7. The program generates some random values and uses them (such as random colors) 8. The drawing includes the second letter in your first name and the second letter in your last name, and the last digit of your student number (see below for more details) 9. (You may stamp your turtle, and with different shapes if desired, but this is optional and involves no points) 10. You will need to cite where you obtained the "inspiration picture/painting" from, who the painter was if it is a painting, who the photographer was. Include this information in your Python file program header 11. Again, do NOT include your name in the header to allow for anonymous evaluation in Kritik Required code organization Organize your program as follows: 1) In the program header, include a reference of the inspiration picture. 2) Place the import statements and creation of Turtle objects outside the function definitions, at the beginning of the code, after the program header.
7/10/22, 1:36 PM [Coding Exercise] Week 9 - My signed turtle abstract art https://canvas.sfu.ca/courses/70584/assignments/782116?module_item_id=2560489 3/6 3) Place the ALL functions definitions immediately after that. 4) Then, only after including ALL the function definitions, include the rest of your code (i.e. the code where you call your own defined functions). Functions may call other functions as well (Note: As per Python requirements, called functions need to be placed earlier in the Python file). What you need to draw What you draw is an abstraction of your selected picture. The level of abstraction is completely up to yo u!! as long as it follows the required code features above, but it must be your work, PLUS the following one requirement: You need to include your first name second letter (considering your official name), your last name second letter and the last digit of your SFU student id , in the bottom right part of your drawing. You must achieve this using turtle pen drawing, NOT WRITING WITH TEXT . The letters and digit may be of any size (as long as they are visible and recognizable) and may additionally appear elsewhere and be artistic. Enjoy the creative process! Readability Guidelines Please check that your code follows the guidelines here: readability guidelines. The readability guidelines page is also linked from the Resources page (in turn linked from the home page ) Submission Instructions Submit a .zip file containing: (1) your Python code, and (2) the inspiration picture as .PNG or .JPG file NOTE! Make sure that you do NOT name your file 'turtle.py' . This would make Python lose the possibility to use the functions and methods in the turtle module If you are using Replit.com, YOU MUST CREATE AND USE A NORMAL PYTHON REPL, i.e. do NOT use "Python with Turtle" Repl type as this will not allow you to easily download your code and some features work differently. Include in the comments section in Canvas: a) if you agree to share in class the result of your work b) if you agree that your code is shown in class Deadlines : Creation submission: week #10, Mon - July 11. Late creation submission: week #10 , Wed July 13. (10% penalty per day) Evaluation stage deadline in Kritik: starts immediately after the late creation submission, and until week #10, Fri July 15
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help

Browse Popular Homework Q&A

Q: write the chemical equation for the bromination of trans-cinnamic acid using pyridinium tribromide…
Q: write out the four logical forms of the statement: Cats make great pets.(Lable the four forms:…
Q: 7. Place the labels chemical symbols, atomic number, and mass number in the shorthand notation…
Q: Predict the products of the reaction below. That is, complete the right-hand side of the chemical…
Q: MULTIPLE CHOICE Question 3 In Britain's colonies in North America, what was the Boston Tea Party? A…
Q: This exercise uses the population growth model. The population of a country has a relative growth…
Q: Use the information provided for Harding Company to answer the question that follow. Harding Company…
Q: n online store recently became victim of a cyberattack which compromised their customer name,…
Q: Given the function f(x)=6x^2-5x+6. Calculate the following values: f(-2)= f(-1)= f(0)= f(1)
Q: Find the area of the surface generated by revolving the curve about each given axis. x = 4t, y = 4t,…
Q: Which category has the greatest marginal frequency? High school students who chose playing sports…
Q: SUMMARY OUTPUT Regression Statistics Multiple R R Square Observations Intercept GPA Facebook (hours…
Q: We toss n coins, and each one shows heads with probability p, independently of each of the others.…
Q: IV III 0 11
Q: Smith Company reports the following information: Cost of goods manufactured $68,250 Direct materials…
Q: Draw two major prod dge and dash bonds to indicate stereochemistry where appropriate. Ignore…
Q: A 62.0 kg skier is moving at 6.90 m/s on a frictionless, horizontal, snow-covered plateau when she…
Q: 1) Rank the alkaline earth cations (Mg2+, Ca²+, Sr²+, Ba²+) from the one forming the most…
Q: 1. Predict the crystal field splitting diagrams for the following coordination compounds. Provide a…
Q: x/4=9   x=?
Q: X 1 2 3 4 5 6 7 .01 .01 .01 .01 .94 .06 .06 .05 .04 .03 .02 .01 .79 fo(x) .01 .01 f₁(x) fi(x) a)…
Q: Gaseous methane CH4 reacts with gaseous oxygen gas O2 to produce gaseous carbon dioxide CO2 and…