Software Design

CSC 207 Software Design
Winter 2015 | Exercise 2
1 Logistics
 Due date: 9:00pm Tuesday 10 November 2015
 Group size: Individual
 Topics: Java Generics, Exceptions
For the rules and procedures for the exercises, including how to submit, please see the Exercises page of the
course website.
2 What to do for this exercise
1. Your individual svn repository now contains a new directory called E2. It contains the starter code for
this exercise. Checkout and study the starter code.
2. Complete/implement Java classes Graph.java and NoSuchNodeException.java, so that obey the
speci cations below and the descriptions in the starter code.
3. To submit your work, add and commit your changes to your repository.
Do not commit the les and directories generated by Eclipse, such as bin, doc, .project, etc. Marks
will be deducted if you submit these.
3 Abstract Data Type: Graph
In this exercise, you will implement a data structure to represent a graph. A graph consists of nodes and
edges. An edge is a connection between two

Leave a Reply

Your email address will not be published. Required fields are marked *