University of Arizona, Department of Computer Science

CSc 120 (Fall 2017): Assignment 7

Start Date: Wed Oct 11
Due Date: Short problems: 7:00 PM, Sat Oct 14
Black-box tests: 7:00 PM, Tue Oct 17
Long problems: 7:00 PM, Thu Oct 19

This assignment continues working with objects and classes.

General Requirements

  1. Your code should follow the style guidelines for the class.
  2. You should only use external libraries that have either been mentioned either in class or else in the assignment spec.

Short Problems (Due 7pm Sat Oct 14)

(20 points)

These problems have to be solved and submitted at http://practice.cs.arizona.edu.

The process for turning in your solutions is as in previous assignments. There are three problems, described below, which are grouped under the assignment name "Assg 07".

The short problems for this assignment are the following:

  1. canonicalize_date

Black-box Tests (Due 7pm Tue Oct 17)

10 points

Submit no more than five black-box tests for the long problem for this assignment (see below). Details of the requirements for these tests are given here.

These should be submitted as a file dates-tests.txt using the link http://gradeit.cs.arizona.edu/gradeit-v1/public/120/17au/homework/turnin/hw7bbox.html .

Long Problems (Due 7pm Thu Oct 19)

(80 points; this includes the 10 points for the black box tests)

  1. Dates
    File: dates.py.

For this problem, submit the file dates.py http://gradeit.cs.arizona.edu/gradeit-v1/public/120/17au/homework/turnin/hw7.html