Reference no: EM132449949
OODP101 - Object Oriented Design and Programming - Kent Institute
Assessment - Individual Programming Solution to a Problem
Learning Outcomes:
LO1. Demonstrate basic knowledge of object oriented programming concepts and programming problems
LO2. Analyse and dissect simple design and programming problem
LO3. Implement a well-designed modularized solution to small programming problems
LO4. Develop and/or implement testing schedules
Assessment description:
You are working for budget airlines as a junior programmer, you and your team has given a task to develop and test a program for the company so their customers to choose as per their requirements and can check availability or can add service.
Part 1. Analyse and create simple design
For the below create a generic output display as:
International destination: Domestic destination
County name: City name
City as per the county Car hire
Also, as per destination selection information shall output as:
• If selected International destination, then name of the Country and City of destination
• If Selected Domestic destination, then name of the City and Car hire
Part 2. Implement a well-designed modularized solution to the programme
a. Create a class named International Destination to be the superclass of all the destinations. It should have suitable constructors to aid with polymorphic behaviour, and contain suitable attributes to store the information that is common to all destination names and appropriate accessors. For all destinations, the toString method should return only the country name and city of destination
b. Create a class called Domestic Destination. It should be a subclass of the class internation destination. Ensure that it contains appropriate attributes to store additional information specific to domestic destination. 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 domestic destination. Override toString() method so that it return all the domestic destination information
c. Create a class called Car Hire and shall only represent when customer selected Domestic destination. It should be a subclass of Car hire. Ensure that it contains appropriate attributes to store additional information specific to Car hire. 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 it return all relevant information related to the Packaged items.
d. Create a driver class which will have main method and following functionalities.
• Use Destination as a parent/super class
• Use International destination and Domestic destination as two child/sub classes for Destination super.
• International Destination would have attributes as country name and city names (2)
• Domestic Destination would have the name of the city and car hire details as attributes.
• Use constructors and toString methods for declaring and displaying the objects (5 each)
• A driver/main class would display destinations using a recurring menu, and calculate and display the total amount due as per the user choice of destination.
e. Create a class diagram for above mentioned classes. Show all attributes, methods and proper relationships between classes.
Part 3. Develop and implement testing
Case id's: Case name: Case data: Expected outcome: Actual outcome:
Attachment:- Object Oriented Design and Programming.rar
Mitigation of harmful effects
: You will write an APA-style research paper about pollutants, their impacts, and mitigation of harmful effects. Include the following:
|
Cyber security assignment
: Law enforcement professionals-investigators use digital forensic methods to solve crimes every day.
|
Identify and describe any contingencies
: Considering materiality as one component, what do you learn about contingencies from your review of the notes to the financial statements?
|
What amount should Jones report as common shares
: Jones Co. had 50,000 shares of $5 par value common stock outstanding at January 1. What amount should Jones report as common shares
|
OODP101 Object Oriented Design and Programming Assignment
: OODP101 Object Oriented Design and Programming Assignment Help and Solution, Kent Institute - Assessment Writing Service - Implement a well-designed modularized
|
How many shares of Beck common stock were outstanding
: Beck purchased 75,000 shares of its common stock and held it in Treasury. At December 31, year 3, how many shares of Beck's common stock were outstanding
|
Discuss ford-firestone ethics case study
: Were there any ethical violations committed from either Ford or Firestone? Please support your claim with evidence from the article and other references.
|
What is the corridor method and what is its purpose
: You also need to decide whether to amortize gains and losses using the corridor method, What is the corridor method and what is its purpose
|
Discuss the strengths and weaknesses of ccfs aimes project
: Organizational architecture framework, discuss the strengths and weaknesses of CCF's AIMES project.Explain the concept in details
|