Docsity

CSI 3471: University/Clubs Implementation - Java Assignment - Prof. Paul C. Grabow, Lab Reports of Software Engineering

Toggle sidebar
bg1
CSI๎˜ƒ3471:๎˜ƒUniversity/Clubs๎˜ƒimplementation๎˜ƒ
Implement๎˜ƒthe๎˜ƒfollowing๎˜ƒin๎˜ƒJava,๎˜ƒfollowing๎˜ƒthe๎˜ƒconventions๎˜ƒthat๎˜ƒwe๎˜ƒused๎˜ƒin๎˜ƒthe๎˜ƒClub๎˜ƒlab,๎˜ƒwith๎˜ƒrespect๎˜ƒto๎˜ƒ
the๎˜ƒnumber๎˜ƒof๎˜ƒconstructors,๎˜ƒthe๎˜ƒparticular๎˜ƒmethods๎˜ƒ(including๎˜ƒrelational๎˜ƒoperators)๎˜ƒthat๎˜ƒare๎˜ƒexpected,๎˜ƒ
JavaDoc,๎˜ƒand๎˜ƒthe๎˜ƒuse๎˜ƒof๎˜ƒan๎˜ƒexisting๎˜ƒset๎˜ƒimplementation.๎˜ƒ๎˜ƒ
๎˜ƒ
This๎˜ƒassignment๎˜ƒis๎˜ƒpurposely๎˜ƒmore๎˜ƒopenโ€ended๎˜ƒthan๎˜ƒprevious๎˜ƒassignments๎˜ƒand๎˜ƒI๎˜ƒexpect๎˜ƒyou๎˜ƒto๎˜ƒask๎˜ƒme๎˜ƒ
questions.๎˜ƒ(It๎˜ƒwould๎˜ƒnot๎˜ƒbe๎˜ƒadvisable๎˜ƒto๎˜ƒforego๎˜ƒthe๎˜ƒquestions.)๎˜ƒ
For๎˜ƒexample,๎˜ƒhere๎˜ƒare๎˜ƒsome๎˜ƒpossible๎˜ƒquestions๎˜ƒto๎˜ƒget๎˜ƒyou๎˜ƒstarted:๎˜ƒ
1. Should๎˜ƒeither๎˜ƒof๎˜ƒthe๎˜ƒclasses๎˜ƒimplement๎˜ƒthe๎˜ƒComparable๎˜ƒor๎˜ƒthe๎˜ƒComparator๎˜ƒinterface?๎˜ƒ
2. What๎˜ƒconstitutes๎˜ƒthe๎˜ƒprimary๎˜ƒkey๎˜ƒfor๎˜ƒeach๎˜ƒof๎˜ƒthe๎˜ƒclasses?๎˜ƒ
3. How๎˜ƒshould๎˜ƒthe๎˜ƒclasses๎˜ƒbe๎˜ƒtested?๎˜ƒ
๎˜ƒ
Submit๎˜ƒyour๎˜ƒsolution๎˜ƒvia๎˜ƒSVN,๎˜ƒnaming๎˜ƒyour๎˜ƒproject๎˜ƒin๎˜ƒthe๎˜ƒusual๎˜ƒway.๎˜ƒ(I๎˜ƒwill๎˜ƒnot๎˜ƒcontinue๎˜ƒto๎˜ƒgive๎˜ƒthese๎˜ƒ
instructions๎˜ƒfor๎˜ƒeach๎˜ƒassignmentโ€ฆ)๎˜ƒ
๎˜ƒ
๎˜ƒ
รŽ Also,๎˜ƒto๎˜ƒencourage๎˜ƒyou๎˜ƒto๎˜ƒwork๎˜ƒon๎˜ƒthis๎˜ƒโ€œbefore๎˜ƒthe๎˜ƒlast๎˜ƒminuteโ€,๎˜ƒI๎˜ƒwill๎˜ƒbe๎˜ƒunavailable๎˜ƒto๎˜ƒanswer๎˜ƒ
questions๎˜ƒon๎˜ƒthe๎˜ƒday๎˜ƒthat๎˜ƒit๎˜ƒis๎˜ƒdue.๎˜ƒ
University
name:string
city:string
state:string 1
Club
name:string
members:int
getUniversityName():String
1

Partial preview of the text

Download CSI 3471: University/Clubs Implementation - Java Assignment - Prof. Paul C. Grabow and more Lab Reports Software Engineering in PDF only on Docsity!

CSI 3471: University/Clubs implementation Implement the following in Java, following the conventions that we used in the Club lab, with respect to the number of constructors, the particular methods (including relational operators) that are expected, JavaDoc, and the use of an existing set implementation. This assignment is purposely more openโ€ended than previous assignments and I expect you to ask me questions. (It would not be advisable to forego the questions.) For example, here are some possible questions to get you started:

  1. Should either of the classes implement the Comparable or the Comparator interface?
  2. What constitutes the primary key for each of the classes?
  3. How should the classes be tested? Submit your solution via SVN, naming your project in the usual way. (I will not continue to give these instructions for each assignmentโ€ฆ) รŽ Also, to encourage you to work on this โ€œbefore the last minuteโ€, I will be unavailable to answer questions on the day that it is due. University name:string city:string state:string 1 Club name:string members:int getUniversityName():String 1