OODP101 - Object Oriented Design and Programming - Individual Programming Solution to a Problem - IT Assessment Answer

Download Solution Order New Solution
Assessment Task:
OODP101 - Object Oriented Design and Programming IT Assessment Answer

Outcomes addressed:

Upon successful completion of this unit students should be able to:
a. Analyse and dissect simple design and programming problems
b. Demonstrate basic knowledge of object-oriented programming concepts and syntax
c. Implement a well-designed modularised solution to small programming problems
d. Develop and/or implement testing schedules

Objectives

  • After completing this assessment, you should have developed skills to demonstrate that you are able to:
  • Write classes that are subclasses of other classes
  • Write code that overrides the behaviour of inherited methods.
  • Write code that exploits the benefits of polymorphism
  • Observe/apply principles of good object-oriented design

 

 Tasks

1. Create a class named Product to be the superclass of all products. It should have suitable constructors to aid with polymorphic behaviour and contain suitable attributes to store the information that is common to all product types (but whose values vary for each instance of that product type), and appropriate accessors. For all products, the toString method should return only the name and ID of the product.

2. Create a class to represent Fresh Fruit items. It should be a subclass of the class made in task 1. Ensure that it contains appropriate attributes to store additional information specific to fresh fruit. Ensure that there is a suitable constructor, mutators to set all values appropriately and that there are appropriate accessors to obtain all information relevant to fresh fruit. Override toString() method so that it returns all relevant information related to the fresh fruit.

3. Create a class to represent Packaged items. It should be a subclass of the class made in task 1. Ensure that it contains appropriate attributes to store additional information specific to packaged items. Ensure that there is a suitable constructor, mutators to set all values appropriately and that there are appropriate accessors to obtain all information relevant to packaged items. Override toString() method so that they return all relevant information related to the Packaged items.

4. Create a driver class which will have the main method and following functionalities.

  • Create 5 Fresh Fruits items and 5 packaged items and display them on a console.
  • Ask user to select the products that they want to buy by selecting the IDs.
  • User can buy multiple products in one purchase.
  • Use proper get methods to find total amount and total tax component.
  • Display the docket which will have information about the total amount due and total tax value in the purchase.

5. Create a class diagram for above-mentioned classes. Show all attributes, methods and proper relationships between classes. 

 

This OODP101: IT Assessment has been solved by our IT Assessment Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.