0% found this document useful (0 votes)
10 views1 page

Create a Tree in CMU Sandbox

The document outlines a programming assignment to create a program that draws a single tree in a forest using CMU CS Academy's Sandbox. It requires the use of at least two functions, including one for the tree and another to create two different backgrounds (Day, Sunset, Winter), with one function needing a parameter. The rubric emphasizes good naming conventions, output quality, commenting, and creativity in the program design.

Uploaded by

Ishaan Wadhwani
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views1 page

Create a Tree in CMU Sandbox

The document outlines a programming assignment to create a program that draws a single tree in a forest using CMU CS Academy's Sandbox. It requires the use of at least two functions, including one for the tree and another to create two different backgrounds (Day, Sunset, Winter), with one function needing a parameter. The rubric emphasizes good naming conventions, output quality, commenting, and creativity in the program design.

Uploaded by

Ishaan Wadhwani
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Creating Flexible Functions:

A Single Tree in the Forest

Go to CMU CS Academy and write your program in Sandbox.


Save your program as: [firstinitialLastname][Link]

Create a program that will draw a single tree in the forest.

Program Requirements
● Must use at least two (2) functions with one function just for the tree
● Program must have a function to create two (2) of these backgrounds:
○ Day Scene
○ Sunset Scene
○ Winter Scene
● One function must include at least one parameter
● Use only call functions to draw scene

Rubric:
2 points Uses good naming rules for Functions and Parameter(s) and meets
requirement for minimum of 2 functions and 1 parameter
2 points Output of each scene when call functions are used
2 points Commenting is used in program
2 points Extends creativity/knowledge beyond requirements given either
through design (output) or programming knowledge

BE CREATIVE AND HAVE FUN! HAPPY CODING!

You might also like