SlideShare una empresa de Scribd logo
1 de 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.

Más contenido relacionado

Destacado

Plus 1 or 2 Bingo
Plus 1 or 2 BingoPlus 1 or 2 Bingo
Plus 1 or 2 Bingobrownv9762
 
Constitucion Española
Constitucion EspañolaConstitucion Española
Constitucion Españolasinisann
 
Функциональное сравнение OTT
Функциональное сравнение OTTФункциональное сравнение OTT
Функциональное сравнение OTTLeonid Golovanov
 
Instalcion windows xp
Instalcion windows xpInstalcion windows xp
Instalcion windows xpmirianbonilla
 
Noveno análisis de resultados al 08 de junio 2012
Noveno análisis de resultados al 08 de junio 2012Noveno análisis de resultados al 08 de junio 2012
Noveno análisis de resultados al 08 de junio 2012Urna Abierta
 
Redes de computadores
Redes de computadoresRedes de computadores
Redes de computadoresGerson4500
 
Esclerosis múltiples sesiones conjuntas con neurología
Esclerosis múltiples  sesiones conjuntas con neurologíaEsclerosis múltiples  sesiones conjuntas con neurología
Esclerosis múltiples sesiones conjuntas con neurologíacavl
 
Catarino sánchez hernández
Catarino sánchez hernándezCatarino sánchez hernández
Catarino sánchez hernándezGeorge Aguilar
 

Destacado (15)

Plus 1 or 2 Bingo
Plus 1 or 2 BingoPlus 1 or 2 Bingo
Plus 1 or 2 Bingo
 
Constitucion Española
Constitucion EspañolaConstitucion Española
Constitucion Española
 
Deber de recreacion lind maldonado
Deber de recreacion  lind maldonadoDeber de recreacion  lind maldonado
Deber de recreacion lind maldonado
 
Функциональное сравнение OTT
Функциональное сравнение OTTФункциональное сравнение OTT
Функциональное сравнение OTT
 
Instalcion windows xp
Instalcion windows xpInstalcion windows xp
Instalcion windows xp
 
Noveno análisis de resultados al 08 de junio 2012
Noveno análisis de resultados al 08 de junio 2012Noveno análisis de resultados al 08 de junio 2012
Noveno análisis de resultados al 08 de junio 2012
 
Redes de computadores
Redes de computadoresRedes de computadores
Redes de computadores
 
الإيثار
الإيثارالإيثار
الإيثار
 
Disenos de investigacion 1
Disenos de investigacion 1Disenos de investigacion 1
Disenos de investigacion 1
 
Internat
InternatInternat
Internat
 
Gdr once
Gdr onceGdr once
Gdr once
 
Esclerosis múltiples sesiones conjuntas con neurología
Esclerosis múltiples  sesiones conjuntas con neurologíaEsclerosis múltiples  sesiones conjuntas con neurología
Esclerosis múltiples sesiones conjuntas con neurología
 
Catarino sánchez hernández
Catarino sánchez hernándezCatarino sánchez hernández
Catarino sánchez hernández
 
Sd ips
Sd ipsSd ips
Sd ips
 
E learning
E learningE learning
E learning
 

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.