SlideShare a Scribd company logo
1 of 2
SOLUTIONJUG.COM
CIS/339 iLab 6 of 7
CLICK HERE TO GET THE SOLUTION !!!!!!!!
CRCs, Contracts, and Method Specifications
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.
Deliverables
Method contract of the GetCourseByCourseID() method of the CourseList class
Method specification of the GetCourseByCourseID() method of the CourseList
class
i L A B S T E P S
STEP 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.
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 !!!!!!!!

More Related Content

More from comp274

Itco 620 unit 1 project 1
Itco 620 unit 1 project 1Itco 620 unit 1 project 1
Itco 620 unit 1 project 1
comp274
 
Itco 620 unit 5 project
Itco 620 unit 5 projectItco 620 unit 5 project
Itco 620 unit 5 project
comp274
 
Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6
comp274
 
Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6
comp274
 
Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6
comp274
 
Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6
comp274
 
Cis 336 ilab 5 of 7
Cis 336 ilab 5 of 7Cis 336 ilab 5 of 7
Cis 336 ilab 5 of 7
comp274
 
Cis 336 ilab 2 of 7
Cis 336 ilab 2 of 7Cis 336 ilab 2 of 7
Cis 336 ilab 2 of 7
comp274
 
Cis 170 ilab 4 of 7
Cis 170 ilab 4 of 7Cis 170 ilab 4 of 7
Cis 170 ilab 4 of 7
comp274
 
Cis 170 ilab 2 of 7
Cis 170 ilab 2 of 7Cis 170 ilab 2 of 7
Cis 170 ilab 2 of 7
comp274
 
Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7
comp274
 
Cis 170 ilab 5 of 7
Cis 170 ilab 5 of 7Cis 170 ilab 5 of 7
Cis 170 ilab 5 of 7
comp274
 
Cis 115 week 6 exercise
Cis 115 week 6 exerciseCis 115 week 6 exercise
Cis 115 week 6 exercise
comp274
 
Cis 115 i lab 4 of 7
Cis 115 i lab 4 of 7Cis 115 i lab 4 of 7
Cis 115 i lab 4 of 7
comp274
 

More from comp274 (14)

Itco 620 unit 1 project 1
Itco 620 unit 1 project 1Itco 620 unit 1 project 1
Itco 620 unit 1 project 1
 
Itco 620 unit 5 project
Itco 620 unit 5 projectItco 620 unit 5 project
Itco 620 unit 5 project
 
Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6
 
Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6
 
Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6
 
Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6
 
Cis 336 ilab 5 of 7
Cis 336 ilab 5 of 7Cis 336 ilab 5 of 7
Cis 336 ilab 5 of 7
 
Cis 336 ilab 2 of 7
Cis 336 ilab 2 of 7Cis 336 ilab 2 of 7
Cis 336 ilab 2 of 7
 
Cis 170 ilab 4 of 7
Cis 170 ilab 4 of 7Cis 170 ilab 4 of 7
Cis 170 ilab 4 of 7
 
Cis 170 ilab 2 of 7
Cis 170 ilab 2 of 7Cis 170 ilab 2 of 7
Cis 170 ilab 2 of 7
 
Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7
 
Cis 170 ilab 5 of 7
Cis 170 ilab 5 of 7Cis 170 ilab 5 of 7
Cis 170 ilab 5 of 7
 
Cis 115 week 6 exercise
Cis 115 week 6 exerciseCis 115 week 6 exercise
Cis 115 week 6 exercise
 
Cis 115 i lab 4 of 7
Cis 115 i lab 4 of 7Cis 115 i lab 4 of 7
Cis 115 i lab 4 of 7
 

Cis 339 ilab 6 of 7

  • 1. SOLUTIONJUG.COM CIS/339 iLab 6 of 7 CLICK HERE TO GET THE SOLUTION !!!!!!!! CRCs, Contracts, and Method Specifications 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. Deliverables Method contract of the GetCourseByCourseID() method of the CourseList class Method specification of the GetCourseByCourseID() method of the CourseList class i L A B S T E P S STEP 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.
  • 2. Explain your work and the decisions you made to arrive at your proposed solution. 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 !!!!!!!!