Object Oriented Design And Programming Oodp101 Write Classes That Are Subclasses Of 4118331

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 behaviour of inherited methods.
Write code that exploits the benefits of polymorphism
Observe/apply principles of good object-oriented design
1. Individual understanding of Object Oriented Programming principles
Write about 500 words to explain what you have learnt in week 9 and week 10. Use appropriate examples
to illustrate your understanding.
2. Program
2.1 Background
The classes you write will be to represent a variety of product types available at a supermarket.
They will all have a common method to produce a line of output suitable to be included in a
docket. However, depending on what type of product it is, this output will contain different sort
of information.
For all products, the output line should include:
The name of the item
he ID of product
The price of the item
The amount of the price which is a tax-component (explained below)
Depending on the type of product, the following additional information should be output:
If it is a Fresh Fruit item, the weight of the item (e.g. the Apple is 100 grams,
the watermelon is 1200 grams).
If it is a Packaged item, the quantity of units in the package (e.g. 4 eggs in the package,
20 chocolate bars in the bag), and a use-by date.
The tax-component is calculated from the price of the item, and the following rates are used:
For Fresh Fruit items, 0%
For Packaged items, 10% of the price Document Preview:

ASSESSMENT BRIEF COURSE: Bachelor of IT Unit: Object Oriented Design and Programming OODP101 Unit Code: Type of Assessment: Assessment Task 4 – Individual Programming Solution to a Problem N/A Length/Duration: 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 Unit Learning and syntax Outcomes addressed: c. Implement a well-designed modularised solution to small programming problems d. Develop and/or implement testing schedules Submission Date: Week 11 Assessment Task: Individual Programming Solution to a Problem Total Mark: 30 Weighting: 30% of the unit total marks Students are advised that any submissions past the due date without an approved extension or without approved extenuating circumstances incurs a 5% penalty per calendar day, calculated from the total mark E.g. a task marked out of 40 will incur a 2 mark penalty per calendar day. More information, please refer to (Documents > Student Policies and Forms > POLICY – Assessment Policy & Procedures – Login Required)ASSESSMENT DESCRIPTION: 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 behaviour of inherited methods. Write code that exploits the benefits of polymorphism Observe/apply principles of good object-oriented design 1. Individual understanding of Object Oriented Programming principles Write about 500 words to explain what you have learnt in week 9 and week 10. Use appropriate examples to illustrate your understanding. 2. Program 2.1 Background The classes you write will be to represent a variety of product types available at a supermarket. They will all have a common method to produce a line of output suitable to be included in a docket….

Attachments:

OODP-Task-4-A….pdf

Prof. Angela

4.6/5

Calculate Price


Price (USD)
$