To start this assignment, download this zip file.
Homework 2d — Variables
1. Color bars
For this problem, Bit wants to make bars of color. For this starting world:
the ending world should look like this:
There is a second world:
that Bit should turn into this:
The starter code is in color_bars.py
.
2. Wells and vines
For this problem, Bit wants to grow vines and fill wells. Bit lives in this world:
Bit’s job is to grow each fine and fill each well:
The starter code is in wells_and_vines_.py
.
3. More lines
Bit starts in a world with some incomplete lines in each row:
Bit should fill all of the lines in each row:
The starter code is in more_lines.py
.
Grading
Activity | Points |
---|---|
color_bars.py | 4 |
wells_and_vines.py | 8 |
more_lines.py | 8 |
Manual grading will focus on decomposition, use of parameterized functions (i.e. functions with more than one argument), and fluency.