Lab 6 of 7: crcs, contracts, and method specifications

 

Lab Overview

Scenario/Summary

In this lab you will share and communicate with your fellow students to complete this lab. The instructor will assign you to a group. Within your group you can set up a group WebEx, chat, skype, or other communication tool to determine how best to complete this lab. Each person will contribute to the collaboration portion to complete this lab. Include the Names of each member on your team and a brief description as to how they participated.

Active participation is expected, but the quality, not the quantity, is the key to creating a successful collaborative learning environment for everyone. Instructional approaches for this course are highly interactive and experiential.

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

  1. Method contract of the GetCourseByCourseID() method of the CourseList class.
  2. Method specification of the GetCourseByCourseID() method of the CourseList class.
  3. Name of each member of your team and how they participated.

Remember This!

Connect to the Lab here (Links to an external site.)Links to an external site..

Lab Steps

STEP 1: Create a Public Method Contract

  1. Download and review the CRC Card for the CourseList (Links to an external site.)Links to an external site. class, the Maintain Course Sequence Diagram (Links to an external site.)Links to an external site., and the Class Diagram (Links to an external site.)Links to an external site. to prepare for your deliverables this week.
  2. Download the Method Contract Template (Links to an external site.)Links to an external site. and use it for your deliverables this week.
  3. Create the method contract for the GetCourseByCourseID() method of the CourseList class.
  4. Explain your work and the decisions you made to arrive at your proposed solution.

STEP 2: Create a Method Specification

  1. Download the Method Specification TEMPLATE (Links to an external site.)Links to an external site. and use it for your deliverables this week.
  2. Create the method specification for the GetCourseByCourseID() method of the CourseList class.
  3. 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.

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.