home page - news - syllabus - schedule - assignments - tutorials - java - references - Mike Jacobson |
Instructions - Assignment 1 - Assignment 2 - Assignment 3 - Assignment 4 |
Assignment 1 |
Assignment #1 concerns material that has been introduced in this course on or before Friday, January 29.
The assignment is due by 11:59 PM on Monday, February 8 .
A Java program containing implementations of three algorithms for solving the maximum subsequence sum problem as defined in the assignment description.
The assignment has the following objectives.
to give you practice writing and justifying the correctness of loop variants and invariants.
to give you practice in using the techniques to analyze the worst-case running times for algorithms that have been discussed in class, and to use asymptotic notation to describe these running times.
to give you practice designing test cases, both black and white box.
to give you practise in the use of an important Java tool, namely, the test engine JUnit, for implementing test cases.
Please address any concerns or questions about the grading of this assignment to Maryam Soleimani via D2L.
Last updated:
http://www.cpsc.ucalgary.ca/~jacobs/Courses/cpsc331/W16/assignments/assignment1.html |