11.08.2015 Views

CIS 339 Tutorials / cis339dotcom

For more course tutorials visit www.cis339.com 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.

For more course tutorials visit
www.cis339.com

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.

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>CIS</strong> <strong>339</strong> iLab 6 - CRCs, Contracts, and Method Specifications (Devry)Click Here to Buy the Tutorialhttp://www.cis<strong>339</strong>.com/product-24-<strong>CIS</strong>-<strong>339</strong>-iLab-6-CRCs-Contracts-and-Method-SpecificationsFor more course tutorials visitwww.cis<strong>339</strong>cis<strong>339</strong>.comThe design phase of the SRS project is in full swing and every developer on the team isassigned a group of packages to work on and to complete the design details of the classes inthe package. To help speed up the design process, you—as the software architect of theproject—were assigned the task of providing a samplemethod contract and a sample method specification to demonstrate to your team how thesetwo documents are developed.You decided to use the CourseList and the Course classes for your demonstrations. TheCourseList class maintains and populates the current list of courses that the end user isworking with while registering for clases. You will demonstrate the contract and thespecification of the GetCourseByCourseID() 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 returnedby the GetCourseByCourseID() method; otherwise a null value is returned, indicating thereare no matching courses.Method contract of the GetCourseByCourseID() method of the CourseList class Methodspecification of the GetCourseByCourseID() method of the CourseList classi L A B S T E P SSTEP 1:Create a Public Method ContractDownload the CRC Cards for the CourseList and Course classes and review them to preparefor your deliverables this week. Download the Method Contract Template and use it for yourdeliverables this week. Create the method contract for the GetCourseByCourseID() methodof the CourseList class. Explain your work and the decisions you made to arrive at yourproposed solution.


STEP 2:Create a Method SpecificationDownload the Method Specification Template and use it for your deliverables this week.Create the method specification for the GetCourseByCourseID() method of the CourseListclass. Explain your work and the decisions you made to arrive at your proposed solution.STEP 3:Save and Upload

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!