Cis/339 Ilab 6 of 7

In: Computers and Technology

Submitted By alexmicane4
Words 407
Pages 2
HELPIDO.COM

----------------------------------------------------
Follow this link to get the tutorial

http://helpido.com/cis-339-ilab-6-of-7/#5
----------------------------------------------------

CIS/339 iLab 6 of 7

________________________________________

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…...

Similar Documents

Cis 339 Ilab 6 of 7

...HELPIDO.COM ---------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-339-ilab-6-of-7/#5 ---------------------------------------------------- CIS/339 iLab 6 of 7 ________________________________________ 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......

Words: 407 - Pages: 2

Cis 339 Ilab 6 of 7

...HELPIDO.COM ---------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-339-ilab-6-of-7/#5 ---------------------------------------------------- CIS/339 iLab 6 of 7 ________________________________________ 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......

Words: 407 - Pages: 2

Cis 339 Ilab 6 of 7

...HELPIDO.COM ---------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-339-ilab-6-of-7/#5 ---------------------------------------------------- CIS/339 iLab 6 of 7 ________________________________________ 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......

Words: 407 - Pages: 2

Cis 339 Ilab 7 of 7

...HELPIDO.COM ---------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-339-ilab-7-of-7/ ---------------------------------------------------- CIS/339 iLab 7 of 7 ________________________________________ Your demonstrations of how to create both method contract and the method specification for the GetCourseByCourseID() method of the CourseList class were very well received by your team members. They then asked you for one final demonstration of how to implement the method specification using an object-oriented (OO) programming language and see the method actually execute. You realize that it is easy to implement the method specification in an OO programming language, but it is hard to test it because the rest of the application is not developed yet. You decided, therefore, to write two pieces of code. • Code that implements the GetCourseByCourseID() method 1. Code that implements a unit test for that method alone (outside of any other application code) This way you can demonstrate the method implementation and also verify its correct behavior. You are under a deadline constraint for this deliverable, so you asked some of your peer architects for help. They each are well versed in different OO languages like VB.NET, C#, and Java and they all have done unit testing before so they are familiar of how to construct one. Your peer architects provided you with partially-completed shells for your......

Words: 712 - Pages: 3

Cis/339 Ilab 6 of 7

...HELPIDO.COM ---------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-339-ilab-6-of-7/#5 ---------------------------------------------------- CIS/339 iLab 6 of 7 ________________________________________ 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......

Words: 407 - Pages: 2

Cis/339 Ilab 7 of 7

...HELPIDO.COM ---------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-339-ilab-7-of-7/ ---------------------------------------------------- CIS/339 iLab 7 of 7 ________________________________________ Your demonstrations of how to create both method contract and the method specification for the GetCourseByCourseID() method of the CourseList class were very well received by your team members. They then asked you for one final demonstration of how to implement the method specification using an object-oriented (OO) programming language and see the method actually execute. You realize that it is easy to implement the method specification in an OO programming language, but it is hard to test it because the rest of the application is not developed yet. You decided, therefore, to write two pieces of code. • Code that implements the GetCourseByCourseID() method 1. Code that implements a unit test for that method alone (outside of any other application code) This way you can demonstrate the method implementation and also verify its correct behavior. You are under a deadline constraint for this deliverable, so you asked some of your peer architects for help. They each are well versed in different OO languages like VB.NET, C#, and Java and they all have done unit testing before so they are familiar of how to construct one. Your peer architects provided you with partially-completed shells for your......

Words: 712 - Pages: 3

Cis/339 Ilab 7 of 7

...HELPIDO.COM ---------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-339-ilab-7-of-7/ ---------------------------------------------------- CIS/339 iLab 7 of 7 ________________________________________ Your demonstrations of how to create both method contract and the method specification for the GetCourseByCourseID() method of the CourseList class were very well received by your team members. They then asked you for one final demonstration of how to implement the method specification using an object-oriented (OO) programming language and see the method actually execute. You realize that it is easy to implement the method specification in an OO programming language, but it is hard to test it because the rest of the application is not developed yet. You decided, therefore, to write two pieces of code. • Code that implements the GetCourseByCourseID() method 1. Code that implements a unit test for that method alone (outside of any other application code) This way you can demonstrate the method implementation and also verify its correct behavior. You are under a deadline constraint for this deliverable, so you asked some of your peer architects for help. They each are well versed in different OO languages like VB.NET, C#, and Java and they all have done unit testing before so they are familiar of how to construct one. Your peer architects provided you with partially-completed shells for your......

Words: 712 - Pages: 3

Cis/339 Ilab 6 of 7

...HELPIDO.COM ---------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-339-ilab-6-of-7/#5 ---------------------------------------------------- CIS/339 iLab 6 of 7 ________________________________________ 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......

Words: 407 - Pages: 2

Cis/339 Ilab 6 of 7

...HELPIDO.COM ---------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-339-ilab-6-of-7/#5 ---------------------------------------------------- CIS/339 iLab 6 of 7 ________________________________________ 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......

Words: 407 - Pages: 2

Cis/339 Ilab 7 of 7

...HELPIDO.COM ---------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-339-ilab-7-of-7/ ---------------------------------------------------- CIS/339 iLab 7 of 7 ________________________________________ Your demonstrations of how to create both method contract and the method specification for the GetCourseByCourseID() method of the CourseList class were very well received by your team members. They then asked you for one final demonstration of how to implement the method specification using an object-oriented (OO) programming language and see the method actually execute. You realize that it is easy to implement the method specification in an OO programming language, but it is hard to test it because the rest of the application is not developed yet. You decided, therefore, to write two pieces of code. • Code that implements the GetCourseByCourseID() method 1. Code that implements a unit test for that method alone (outside of any other application code) This way you can demonstrate the method implementation and also verify its correct behavior. You are under a deadline constraint for this deliverable, so you asked some of your peer architects for help. They each are well versed in different OO languages like VB.NET, C#, and Java and they all have done unit testing before so they are familiar of how to construct one. Your peer architects provided you with partially-completed shells for your......

Words: 712 - Pages: 3

Cis/339 Ilab 7 of 7

...HELPIDO.COM ---------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-339-ilab-7-of-7/ ---------------------------------------------------- CIS/339 iLab 7 of 7 ________________________________________ Your demonstrations of how to create both method contract and the method specification for the GetCourseByCourseID() method of the CourseList class were very well received by your team members. They then asked you for one final demonstration of how to implement the method specification using an object-oriented (OO) programming language and see the method actually execute. You realize that it is easy to implement the method specification in an OO programming language, but it is hard to test it because the rest of the application is not developed yet. You decided, therefore, to write two pieces of code. • Code that implements the GetCourseByCourseID() method 1. Code that implements a unit test for that method alone (outside of any other application code) This way you can demonstrate the method implementation and also verify its correct behavior. You are under a deadline constraint for this deliverable, so you asked some of your peer architects for help. They each are well versed in different OO languages like VB.NET, C#, and Java and they all have done unit testing before so they are familiar of how to construct one. Your peer architects provided you with partially-completed shells for your......

Words: 712 - Pages: 3

Cis339 Cis 339 Cis/339 Ilab 6 of 7

...HELPIDO.COM ---------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-339-ilab-6-of-7/#5 ---------------------------------------------------- CIS339 CIS 339 CIS/339 iLab 6 of 7 ________________________________________ 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......

Words: 410 - Pages: 2

Cis339 Cis 339 Cis/339 Ilab 6 of 7

...HELPIDO.COM ---------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-339-ilab-6-of-7/#5 ---------------------------------------------------- CIS339 CIS 339 CIS/339 iLab 6 of 7 ________________________________________ 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......

Words: 410 - Pages: 2

Cis339 Cis 339 Cis/339 Ilab 6 of 7

...HELPIDO.COM ---------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-339-ilab-6-of-7/#5 ---------------------------------------------------- CIS339 CIS 339 CIS/339 iLab 6 of 7 ________________________________________ 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......

Words: 410 - Pages: 2

Cis339 Cis 339 Cis/339 Ilab 6 of 7

...HELPIDO.COM ---------------------------------------------------- Follow this link to get the tutorial http://helpido.com/cis-339-ilab-6-of-7/#5 ---------------------------------------------------- CIS339 CIS 339 CIS/339 iLab 6 of 7 ________________________________________ 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......

Words: 410 - Pages: 2