Ask Computer Engineering Expert

Programming Principles Assignment

INTRODUCTION

This assignment aims to give you a real problem-solving experience, similar to what you might encounter in the workplace. You have been hired to complete a prototype for a project that has not been fully specified at this stage. There is some supporting documentation to the project in addition to this document. You are required to deliver a working prototype by the required date.

THE TASK

For this assignment your task is to develop a program for a car rental company called Mates Rates Rent a Car (MRRC) to help the operators of the company more efficiently manage their fleet of cars and their customers.

The operators of MRRC require the following functionality:

1. Enter/modify/delete customers
2. Enter/modify/delete cars
3. Search for suitable vehicles based on customers' requests
4. Rent out cars to customers
5. Return cars from customers
6. Display a rented cars report It offers vehicles in 4 classes -

• Economy
• Family
• Luxury
• Commercial

Vehicles have various traits. A Vehicle class defines the shared properties and methods of all cars and support specialised properties and methods. For instance, luxury cars have GPS and opening roof, and commercial vehicles may have a diesel engine. Number of seats in cars may vary from 2 to 10 (fixed per car though.) Each car has a (possibly) unique rental cost per day.

Customers have various traits. A Customer class defines the shared properties and methods of all customers. Attributes required are Name (with suitably defined sub-fields), and Date of birth (with suitably defined sub-fields).

These classes are used by:

A Fleet class manages the rental of vehicles. The fleet class should load the vehicle fleet from file on start-up. This class should be based on an array of Vehicle objects. It should support operations on the fleet (e.g. add/modify/delete)

A CRM class manages the collection of customers. The CRM class should load the customers from file on start-up. This class should be based on an array of Customer objects. It should support operations on the Customer (e.g. add/modify/delete)

Both the Fleet and CRM classes should save their data to disk when the program is closed by the operator.

Upon start-up, the program has to load the Fleet (vehicles) and CRM (customers) from permanent storage on disk files. During operation the in-memory system is used to manage all operations. When the program is finished it must save the Fleet and CRM data to disk.

NOTE: There is no requirement to back up the data to disk in case the program is not terminated correctly. However, the program should work correctly if started and stopped any number of times, and preserve the state of the CRM and Fleet.

Graphical User Interface:

You are required to create a graphical user interface for this program using Windows Forms. The design of this GUI is largely up to you, however it should be functional and relatively simple, and should allow operators to complete all required functions.

The program should allow the operator to

1. Enter a new customer
2. Modify an existing customer
3. Delete a customer - but not if having a car rented at present
4. Enter a new vehicle
5. Modify an existing vehicle
6. Delete a vehicle - but not if the vehicle is rented at present
7. Search for a suitable car based on a customer's request (see the search capabilities section)
8. Rent a car to a customer
9. Return a car from a customer
10. Produce a report (to the screen) of all rented vehicles with option to:

a. order by customer name
b. order by vehicle registration.

Attachment:- Cab-Assignment.rar

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92802886
  • Price:- $70

Priced at Now at $70, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Does bmw have a guided missile corporate culture and

Does BMW have a guided missile corporate culture, and incubator corporate culture, a family corporate culture, or an Eiffel tower corporate culture?

Rebecca borrows 10000 at 18 compounded annually she pays

Rebecca borrows $10,000 at 18% compounded annually. She pays off the loan over a 5-year period with annual payments, starting at year 1. Each successive payment is $700 greater than the previous payment. (a) How much was ...

Jeff decides to start saving some money from this upcoming

Jeff decides to start saving some money from this upcoming month onwards. He decides to save only $500 at first, but each month he will increase the amount invested by $100. He will do it for 60 months (including the fir ...

Suppose you make 30 annual investments in a fund that pays

Suppose you make 30 annual investments in a fund that pays 6% compounded annually. If your first deposit is $7,500 and each successive deposit is 6% greater than the preceding deposit, how much will be in the fund immedi ...

Question -under what circumstances is it ethical if ever to

Question :- Under what circumstances is it ethical, if ever, to use consumer information in marketing research? Explain why you consider it ethical or unethical.

What are the differences between four types of economics

What are the differences between four types of economics evaluations and their differences with other two (budget impact analysis (BIA) and cost of illness (COI) studies)?

What type of economic system does norway have explain some

What type of economic system does Norway have? Explain some of the benefits of this system to the country and some of the drawbacks,

Among the who imf and wto which of these governmental

Among the WHO, IMF, and WTO, which of these governmental institutions do you feel has most profoundly shaped healthcare outcomes in low-income countries and why? Please support your reasons with examples and research/doc ...

A real estate developer will build two different types of

A real estate developer will build two different types of apartments in a residential area: one- bedroom apartments and two-bedroom apartments. In addition, the developer will build either a swimming pool or a tennis cou ...

Question what some of the reasons that evolutionary models

Question : What some of the reasons that evolutionary models are considered by many to be the best approach to software development. The response must be typed, single spaced, must be in times new roman font (size 12) an ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As