Information about Assignments
Information about Assignments
General Instructions
Assignment Do’s and Don’t’s
Statement on Principles of Conduct — from the UofC Calendar
Preamble
Statement
Student Academic Misconduct
Statement of Intellectual Honesty
Plagiarism/Cheating/Other Academic Misconduct
Definitions
Notations and Penalties
Procedures
Academic Misconduct — Criminal Offence
Student Academic Misconduct Appeals
Disciplinary Action for Non-Academic Misconduct
Expections about Quality of Submissions for Assignments
Writing Support at the University of Calgary
How To Submit an Assignment
Information about Typesetting Assignments:
The Not So Short Introduction to LaTeX
ε
Assignment #1: Proving the Correctness of Simple Algorithms — and Implementing Them as Java Programs
Problems To Be Solved
Test Files To Be Used with SGrindelwald.java:
test_sGrin.java: Unit Tests for the sGrin Method
test_SGrindelwald.sh: Shell Script with Tests for the Main Method
Test Files To Be Used with FGrindelwald.java:
test_fGrin.java: Unit Tests for the fGrin Method
test_FGrindelwald.sh: Shell Script with Tests for the Main Method
Assignment #2: 2-3 Trees
Problems To Be Solved
Code To Be Completed:
TwoThreeTree.java
Code for Testing:
TwoThreeUtilities.java:
Used by other test programs
TwoThreeTest1.java:
Tests for insertions and searches
TwoThreeTest2.java:
Tests for insertions, deletions and searches
Assignment #3: Implementing a Sorting Algorithm
Problems To Be Solved
Code:
To Be Used:
Array.java
To Be Completed:
ArrayUtils.java
Code and Script for Texting:
TestUtils.java:
Please compile this before testing
TestSort.java:
JUnit tests for your &lduqo;sort” method
TestSort.txt:
Shell script to automate use of the above JUnit tests
cpsc 331
computer science
faculty of science
u of c
cpsc 331
introduction
algorithm analysis
basic data structures
& adts
binary search trees
hash tables
searching and sorting
graph algorithms
conclusion
java development
assignments
tests