Difference between revisions of "CSC111 Final Exam 2018"

From dftwiki3
Jump to: navigation, search
Line 95: Line 95:
 
[[Image:fractalTreeWithOranges2018.png|center|500px]]
 
[[Image:fractalTreeWithOranges2018.png|center|500px]]
 
<br />
 
<br />
* Modify the fractal tree program shown below so that it will generate an exact replica of the tree shown above.  You should not reproduce the text in the image;  '''just the tree, its colors, and its fruit.'''
+
* Modify the fractal tree program shown below so that it will generate an exact replica of the tree shown above.  You should not reproduce the large grey text in the image;  '''just the tree, its colors, its fruit, and the yellow box with your name in it'''.
 
* Call your program '''final2.py''' and the image '''final2.jpg''' or '''final2.png'''.  Submit both to the same URL indicated in the Final Examp PB 2 section on Moodle.
 
* Call your program '''final2.py''' and the image '''final2.jpg''' or '''final2.png'''.  Submit both to the same URL indicated in the Final Examp PB 2 section on Moodle.
 
* Note: To change the color of a '''line''' with the graphics library, you should use the '''setOutline()''' method rather than the '''setFill()''' method.  To change the '''width''' of a line, you can use the '''setWidth()''' method.
 
* Note: To change the color of a '''line''' with the graphics library, you should use the '''setOutline()''' method rather than the '''setFill()''' method.  To change the '''width''' of a line, you can use the '''setWidth()''' method.

Revision as of 11:01, 29 April 2018

D. Thiebaut (talk) 11:39, 26 April 2018 (EDT)



...