COMP61511 (2017): Labs

CW2: From miniwc toward wc

Prerequisites

You should be competent with:

  1. A command line shell (bash, preferably)
  2. Python programming (still nothing fancy)
  3. 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

  1. Adding functionality

Submission details

  1. You will upload to Blackboard a zipped archive called yourusername_CW2.zip which contains a directory called yourusername_CW2. That directory will contain a file called wc.py, a file called doctest_wc.py, and a directory called testinputs and nothing else. Name errors lose points!
  2. 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!
  3. 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!