This assignment and its reflection are due by Thursday, April 11 at 11:59 pm.
You should submit your finished hw1.py
and hw1_test.py
on Gradescope 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).
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.
Your submission will be evaluated on the following dimensions
flake8
, every function written is commented using a doc-string format, and all requirements for the problems are met.hw1_test.py
meets all the requirements listed in Part 2