This assignment and its reflection are due by Thursday, January 16 at 11:59 pm.
You should submit your finished hw1.py
and hw1_test.py
on Ed as well as submitting the HW reflection on Google Forms.
You may submit your assignment as many times as you want before the late cutoff (remember submitting after the due date will cost late days). Recall on Ed, you submit by pressing the "Mark" button. You are welcome to develop the assignment on Ed or develop locally and then upload to Ed before marking.
This homework is a Python problem set that asks you to implement many small functions to get CSE 142 students used to Python and to be a refresher for CSE 160 students.
After this homework, students will be able to:
flake8
, test suites, course resources).Here are some baseline expectations we expect you to meet:
Follow the course collaboration policies
hw1.py
you should not use any import statements or features in Python we have not yet discussed in class, section, or HW specs. All of these problems should be solved using the basic constructs we've learned in class so far. However, for the test program you may import anything you want that is provided by the cse163 environment (using something outside will not work on turn-in)In this document, you will see blue boxes like the one below that provide extra information. It's a good idea to read all of these unless they are indicated as Optional
For example:
This homework is technically split into three main parts, but the first is just making sure your development setup worked. You should do the remaining 2 parts concurrently since the last part is about testing your code. One school of thought for best developer practices is to write all your tests BEFORE you write any of your real code so you are certain it works as you are writing everything.
Part 0: Setup (only necessary if you are developing locally instead of on Ed)
Your submission will be evaluated on the following dimensions:
flake8
.snake_case
), your code should not be overly redundant and should avoid unnecessary computations.