SlideShare a Scribd company logo
1 of 2
CIS 339 Week 6 iLab 6 Devry University
Click this link to get the tutorial:
http://homeworkfox.com/tutorials/general-
questions/4177/cis-339-week-6-ilab-6-devry-university/
iLab6 - 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.

 Method contract of the GetCourseByCourseID() method of the CourseList class Method
specification of the GetCourseByCourseID() method of the CourseList class

iLAB STEPS

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.

More Related Content

Featured

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
Simplilearn
 

Featured (20)

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 

Cis339 week 6 i lab 6 devry university

  • 1. CIS 339 Week 6 iLab 6 Devry University Click this link to get the tutorial: http://homeworkfox.com/tutorials/general- questions/4177/cis-339-week-6-ilab-6-devry-university/ iLab6 - 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. Method contract of the GetCourseByCourseID() method of the CourseList class Method specification of the GetCourseByCourseID() method of the CourseList class iLAB STEPS 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.
  • 2. 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.