CIS/339 iLab 6 of 7CRCs, Contracts, and Method SpecificationsThe design phase of the SRS project is in full swing and ever...
STEP 2: Create a Method Specification     Download the Method Specification Template and use it for your deliverables this...
Upcoming SlideShare
Loading in …5
×

Ilab 6 of 7

105 views
79 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
105
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Ilab 6 of 7

  1. 1. CIS/339 iLab 6 of 7CRCs, Contracts, and Method SpecificationsThe design phase of the SRS project is in full swing and every developer on the team is assigned agroup of packages to work on and to complete the design details of the classes in the package. Tohelp speed up the design process, you—as the software architect of the project—were assigned thetask of providing a samplemethod contract and a sample method specification to demonstrate to your team how these twodocuments are developed.You decided to use the CourseList and the Course classes for your demonstrations. The CourseListclass maintains and populates the current list of courses that the end user is working with whileregistering for clases. You will demonstrate the contract and the specification of theGetCourseByCourseID() of the CourseList class.The GetCourseByCourseID() method searches the current list of courses for a course whoseCourseID matches the ID supplied to the method. If a matched course is found, it is returned by theGetCourseByCourseID() method; otherwise a null value is returned, indicating there are no matchingcourses.Deliverables Method contract of the GetCourseByCourseID() method of the CourseList class Method specification of the GetCourseByCourseID() method of the CourseList classiLAB STEPSSTEP 1: Create a Public Method Contract Download the CRC Cards for the CourseList and Course classes and review them to prepare for your deliverables this week. Download the Method Contract Template and use it for your deliverables this week. Create the method contract for the GetCourseByCourseID() method of the CourseList class. Explain your work and the decisions you made to arrive at your proposed solution.
  2. 2. STEP 2: Create a Method Specification Download the Method Specification Template and use it for your deliverables this week. Create the method specification for the GetCourseByCourseID() method of the CourseList class. Explain your work and the decisions you made to arrive at your proposed solution. STEP 3: Save and Upload Copy and paste all assignments (method contract and method specification) into one Word document. Save your document with the file name CIS339_Lab6_YourName. Submit your assignment to the Dropbox located on the silver tab at the top of this page.CLICK HERE TO GET THE SOLUTION !!!!!!!!

×