Cis 339 ilab 6 of 7

111 views

Published on

The design phase of the SRS project is in full swing and every developer on the team is assigned a group of packages to work on and to complete the design details of the classes in the package. To help speed up the design process, you—as the software architect of the project—were assigned the task of providing a sample
method contract and a sample method specification to demonstrate to your team how these two documents are developed.

You decided to use the CourseList and the Course classes for your demonstrations. The CourseList class maintains and populates the current list of courses that the end user is working with while registering for clases. You will demonstrate the contract and the specification of the GetCourseByCourseID() of the CourseList class.

The GetCourseByCourseID() method searches the current list of courses for a course whose CourseID matches the ID supplied to the method. If a matched course is found, it is returned by the GetCourseByCourseID() method; otherwise a null value is returned, indicating there are no matching courses.

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

  • Be the first to like this

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

No notes for slide

Cis 339 ilab 6 of 7

  1. 1. SOLUTIONJUG.COMCIS/339 iLab 6 of 7CLICK HERE TO GET THE SOLUTION !!!!!!!!CRCs, 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.DeliverablesMethod contract of the GetCourseByCourseID() method of the CourseList classMethod specification of the GetCourseByCourseID() method of the CourseListclassi L A B S T E P SSTEP 1:Create a Public Method ContractDownload the CRC Cards for the CourseList and Course classes and reviewthem to prepare for your deliverables this week.Download the Method Contract Template and use it for your deliverables thisweek.Create the method contract for the GetCourseByCourseID() method of theCourseList class.
  2. 2. Explain your work and the decisions you made to arrive at your proposedsolution.STEP 2:Create a Method SpecificationDownload the Method Specification Template and use it for your deliverablesthis week.Create the method specification for the GetCourseByCourseID() method of theCourseList class.Explain your work and the decisions you made to arrive at your proposedsolution.STEP 3:Save and UploadCopy and paste all assignments (method contract and method specification)into one Word document. Save your document with the filename CIS339_Lab6_YourName.Submit your assignment to the Dropbox located on the silver tab at the top ofthis page.CLICK HERE TO GET THE SOLUTION !!!!!!!!

×