Lab 7 of 7: object-oriented application coding

 

Scenario/Summary

In this lab you will share and communicate with your fellow students to complete this lab. The instructor will assign you to a group. Within your group you can set up a group WebEx, chat, skype, or other communication tool to determine how best to complete this lab. Each person will contribute to the collaboration portion to complete this lab. Include the Names of each member on your team and a brief description as to how they participated.

Active participation is expected, but the quality, not the quantity, is the key to creating a successful collaborative learning environment for everyone. Instructional approaches for this course are highly interactive and experiential.

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.

  1. Code that implements the GetCourseByCourseID() method
  2. 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:

  1. complete code for the Course class;
  2. partially completed code for CourseList class; and
  3. 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

  1. A copy of the code you wrote for the GetCourseByCourseID method() of the CourseList class in your favorite OO programming language.
  2. 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.
  3. A zip file of the completed shell after you added your code so that the shell could be executed on a different machine.
  4. Verification and validation of your work.
  5. Explanation of your work.
  6. Name of each member of your team and how they participated. 

Lab Steps

STEP 1: Review the Method Contract, Method Specification for the GetCDByCDID() Method, and Coding & Unit Testing GetCDByCDID() Method using Java (not Graded)

  1. Download the Method Contract for GetCDByCDID() Method (Links to an external site.)Links to an external site. Method and review it prior to reviewing this week’s video tutorial.
  2. Download the Method Specification for the GetCDByCDID() Method (Links to an external site.)Links to an external site.and review it prior to reviewing this week’s video tutorial.
  3. The video tutorial below demonstrates how to code and unit test the GetCDByCDID() method using Java 

STEP 2: Code & Unit Test the GetCourseByCourseID() method of the CourseList class

  1. Download the LabWeeklySubmissionTemplate. You are going to use this template for all of your Lab submissions throughout this course. This template is available in week1 Lab.
  2. 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 (Links to an external site.)Links to an external site.
    2. C# Shell (Links to an external site.)Links to an external site.
    3. Java Shell (Links to an external site.)Links to an external site.

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
  • Using the LabWeeklySubmissionTemplate, copy and paste the following into the template:
    1. code text of your CourseListGetCourseByCourseID() method
    2. a screenshot of running the unit test of CourseListGetCourseByCourseID() method
    3. a *.zip file of all the coding project files

STEP 3: Verify, Validate, & Explain Your Work

  1. Using the LabWeeklySubmissionTemplate, verify and validate your work
  2. Using the LabWeeklySubmissionTemplate, explain your work, the decisions you made to arrive at your proposed solution, and lessons learned.

STEP 4: Upload your LabWeeklySubmissionTemplate Document

Save the LabWeeklySubmissionTemplate MS Word document with the file name LabWeeklySubmissionTemplate_YourName and upload it to the Files section of the Course Menu.







Calculate Your Essay Price
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 10% with the coupon code: best10