COMP61511 (2017): Labs
CW2: From miniwc toward wc
Prerequisites
You should be competent with:
- A command line shell (
bash
, preferably) - Python programming (still nothing fancy)
- The basic Python infrastructure (e.g., running Python programs)
Getting ready
If you were having trouble with basic Python, go over some tutorial. You’ll probably need to create Python classes for this coursework, so some review is helpful.
You should be fully caught up on CW1. You should have full control over miniwc.py
. At least, you should be aware of bugs and have a strategy to fix them
If your wc.py
ends up being miniwc.py
(that is, has only that limited functionality) then that is worth a few points!
Topics
Submission details
- You will upload to Blackboard a zipped archive called
yourusername_CW2.zip
which contains a directory calledyourusername_CW2
. That directory will contain a file calledwc.py
, a file calleddoctest_wc.py
, and a directory calledtestinputs
and nothing else. Name errors lose points! - No prep script or stub repository for this one! You’re on your own now!
- If folks would like to “donate” such to the class, I’ll allow it. We cand discuss it on the Blackboard forum!
- NOTE: This is due WED NIGHT by 19:00!!! This is to allow us to prepare for the next day lab! TAKE NOTE!!!
You should be using git with at least a local repository!