Lab Price = $12
Please feel free to send us your queries at: [email protected]
Payment Methods
Problem Statement
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 demonstration. Each shell contains:
• complete code for the Course class;
• partially completed code for CourseList class; and
1. complete code for the CourseListTest class that unit tests the CourseList.GetCourseByCourseID() method.
Your task is now easy. Just select one of these shells and complete the code for the partially completed CourseList by coding it GetCourseByCourseID() method. When you compile and run the shell, it will automatically test your GetCourseByCourseID() code to ensure its correct behavior.
Deliverables
• One Word file that contains the following.
o A copy of the code you wrote for the GetCourseByCourseID method() of the CourseList class in your favorite OO programming language
o A screen shot of the output of running the provided unit test in the shell (the CourseListTest class) showing that your code works as expected. Note that these unit tests only print out messages of testing problems. If your code is correct, the unit tests will succeed silently without any success messages.
o An explanation of your work and the decisions you made to arrive at your proposed code
1. A zip file of the 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 S
STEP 1: Review the Method Contract, Method Specification for the GetCDByCDID() Method, and Coding & Unit Testing GetCDByCDID() Method using Java (not Graded)
• Download the Method Contract for GetCDByCDID() Method and review it prior to reviewing this week’s video tutorial.
• Download the Method Specification for the GetCDByCDID() Method and review it prior to reviewing this week’s video tutorial
STEP 2: Code & Unit Test the GetCourseByCourseID() method of the CourseList class
• Decide on your OO programming language that you will use for this lab and then download the corresponding shell from the following.
1. Visual Basic Shell
2. C# Shell
3. Java Shell
Both the Visual Basic and C# shells are Visual Studio projects while the Java shell include only the *.java source files that could be loaded into any Java IDE.
• Code and unit test the CourseList.GetCourseByCourseID() method in your favorite programming language. You only need to add code for the GetCourseByCourseID() method and then run the application (the unit test will automatically test your code), then print out problem messages, if any
1. Explain your work and the decisions you made to arrive at your proposed solution.
STEP 3: Submit your assignment
Copy and paste into a Word document:
• your code for the GetCourseByCourseID() method;
• a screen shot of running your unit test; and
1. your explanation of your work and the decisions you made to arrive at your code.
Save your document with the file name CIS339_Lab7_YourName.
Then, zip all the lab file into one zip file so that the entire project would run on a different machine.
Save your zip file with the file name CIS339_Lab7_YourName.zip.
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 demonstration. Each shell contains:
• complete code for the Course class;
• partially completed code for CourseList class; and
1. complete code for the CourseListTest class that unit tests the CourseList.GetCourseByCourseID() method.
Your task is now easy. Just select one of these shells and complete the code for the partially completed CourseList by coding it GetCourseByCourseID() method. When you compile and run the shell, it will automatically test your GetCourseByCourseID() code to ensure its correct behavior.
Deliverables
• One Word file that contains the following.
o A copy of the code you wrote for the GetCourseByCourseID method() of the CourseList class in your favorite OO programming language
o A screen shot of the output of running the provided unit test in the shell (the CourseListTest class) showing that your code works as expected. Note that these unit tests only print out messages of testing problems. If your code is correct, the unit tests will succeed silently without any success messages.
o An explanation of your work and the decisions you made to arrive at your proposed code
1. A zip file of the 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 S
STEP 1: Review the Method Contract, Method Specification for the GetCDByCDID() Method, and Coding & Unit Testing GetCDByCDID() Method using Java (not Graded)
• Download the Method Contract for GetCDByCDID() Method and review it prior to reviewing this week’s video tutorial.
• Download the Method Specification for the GetCDByCDID() Method and review it prior to reviewing this week’s video tutorial
STEP 2: Code & Unit Test the GetCourseByCourseID() method of the CourseList class
• Decide on your OO programming language that you will use for this lab and then download the corresponding shell from the following.
1. Visual Basic Shell
2. C# Shell
3. Java Shell
Both the Visual Basic and C# shells are Visual Studio projects while the Java shell include only the *.java source files that could be loaded into any Java IDE.
• Code and unit test the CourseList.GetCourseByCourseID() method in your favorite programming language. You only need to add code for the GetCourseByCourseID() method and then run the application (the unit test will automatically test your code), then print out problem messages, if any
1. Explain your work and the decisions you made to arrive at your proposed solution.
STEP 3: Submit your assignment
Copy and paste into a Word document:
• your code for the GetCourseByCourseID() method;
• a screen shot of running your unit test; and
1. your explanation of your work and the decisions you made to arrive at your code.
Save your document with the file name CIS339_Lab7_YourName.
Then, zip all the lab file into one zip file so that the entire project would run on a different machine.
Save your zip file with the file name CIS339_Lab7_YourName.zip.
Relevant Material
Screenshots
Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at [email protected].
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at [email protected] and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at [email protected].
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at [email protected].
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at [email protected] and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at [email protected].
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Payment Details
Lab Price = $12
Please feel free to send us your queries at: [email protected]
Payment Methods
Privacy Policy
We take your privacy seriously and will take all measures to protect your personal information.
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
Refund Policy
Incase you face any issues with the tutorial, please free to contact us on [email protected]
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.