CIS 339 DeVry Week 7 iLab 7
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>CIS</strong> <strong>339</strong> <strong>DeVry</strong> <strong>Week</strong> 7 <strong>iLab</strong> 7<br />
Downloading is very simple, you can download this Course here:<br />
http://mindsblow.us/question_des/<strong>CIS</strong><strong>339</strong><strong>DeVry</strong><strong>Week</strong>7<strong>iLab</strong>7/2334<br />
Or<br />
Contact us at:<br />
help@mindblows.us<br />
<strong>CIS</strong> <strong>339</strong> <strong>DeVry</strong> <strong>Week</strong> 7 <strong>iLab</strong> 7<br />
<strong>CIS</strong><strong>339</strong><br />
<strong>CIS</strong> <strong>339</strong> <strong>DeVry</strong> <strong>Week</strong> 7 <strong>iLab</strong> 7<br />
Object Oriented Application Coding<br />
Your demonstrations of how to create both method contract and the method specification for the<br />
GetCourseByCourseID() method of the CourseList class were very well received by your team members. They then<br />
asked you for one final demonstration of how to implement the method specification using an object-oriented (OO)<br />
programming language and see the method actually execute.<br />
You realize that it is easy to implement the method specification in an OO programming language, but it is hard to test<br />
it because the rest of the application is not developed yet. You decided, therefore, to write two pieces of code.<br />
Code that implements the GetCourseByCourseID() method Code that implements a unit test for that method alone<br />
(outside of any other application code)<br />
This way you can demonstrate the method implementation and also verify its correct behavior.<br />
You are under a deadline constraint for this deliverable, so you asked some of your peer architects for help. They each<br />
are well versed in different OO languages like VB.NET, C#, and Java and they all have done unit testing before so they<br />
are familiar of how to construct one.<br />
Your peer architects provided you with partially-completed shells for your demonstration. Each shell contains:<br />
Complete code for the Course class; partially completed code for CourseList class; and complete code for the<br />
CourseListTest class that unit tests the CourseList.GetCourseByCourseID() method.<br />
Your task is now easy. Just select one of these shells and complete the code for the partially completed CourseList by<br />
coding it GetCourseByCourseID() method. When you compile and run the shell, it will automatically test your<br />
GetCourseByCourseID() code to ensure its correct behavior.<br />
Deliverables<br />
One Word file that contains the following. A copy of the code you wrote for the GetCourseByCourseID method() of the<br />
CourseList class in your favorite OO programming language A screen shot of the output of running the provided unit<br />
test in the shell (the CourseListTest class) showing that your code works as expected. Note that these unit tests only<br />
print out messages of testing problems. If your code is correct, the unit tests will succeed silently without any success<br />
messages. An explanation of your work and the decisions you made to arrive at your proposed code A zip file of the<br />
completed shell after you added your code so that the shell could be executed on a different machine i L A B S T E P<br />
S<br />
STEP 1: Review the Method Contract, Method Specification for the GetCDByCDID() Method, and Coding & Unit<br />
Testing GetCDByCDID() Method using Java (not Graded)<br />
Download the Method Contract for GetCDByCDID() Method and review it prior to reviewing this week’s video tutorial.<br />
Download the Method Specification for the GetCDByCDID() Method and review it prior to reviewing this week’s video<br />
tutorial
STEP 2: Code & Unit Test the GetCourseByCourseID() method of the CourseList class<br />
Decide on your OO programming language that you will use for this lab and then download the corresponding shell<br />
from the following.<br />
Visual Basic Shell C# Shell Java Shell<br />
Both the Visual Basic and C# shells are Visual Studio projects while the Java shell include only the *.java source files<br />
that could be loaded into any Java IDE.<br />
Code and unit test the CourseList.GetCourseByCourseID() method in your favorite programming language. You only<br />
need to add code for the GetCourseByCourseID() method and then run the application (the unit test will automatically<br />
test your code), then print out problem messages, if any<br />
Explain your work and the decisions you made to arrive at your proposed solution.<br />
STEP 3: Submit your assignment