1. Identify and formulate requirements and constraints for the online car rental system described below. Also...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Identify and formulate requirements and constraints for the online car rental system described below. Also provide priority weights for the requirements according to the nature of the car rental business: CAR RENTAL SYSTEM. A car rental company operates a number of rental locations throughout the metropolitan area. Since the company has a great business model and provides customer-friendly service, its business has boomed over the last several years. As the business has grown rapidly, the costs of running its business has also increased. In particular, as the job market becomes hot, the labor cost has doubled over the last several years. The company wants to find a solution to reduce its operating cost. The business operation of the company is described as follows. The description is not meant to be complete, and the company is flexible enough to consider any good improvement proposals. Vehicles can be taken from one location and returned to the same location or to a different location with an additional charge. Although the company is, at present, concerned only with passenger cars, it may branch out into other forms of vehicle rentals in the future and would like to be able to use the same reservation system. The company has several different makes of cars in its rental fleet, from different manufacturers. Each make may have several models. For example, Toyota has Corolla, Camry, and more. The models are grouped into a small number of price classes. The customer must be able to select the make and the model he or she wants to rent. If the selected car is not available, the system should display a message telling the customer that the car is rented out and let the customer select another make and model, or have the system suggest similar models of a different make. The company has a number of different rental plans available to customers. For example, there is a "daily unlimited miles plan" and a "weekend 10% discount plan." The company finds it important to have information available on the models of car, such as automatic or manual gear change, two or four doors, and sedan or hatchback. The rental prices may be different for different options and a customer will want to know such information when reserving a car. Currently, customers make reservations directly with the car rental company either in person or through the phone. The salespersons process the reservations manually using a reservation form and archive them in the file cabinet. No deposit is required at the time of reservation. The reservation is voided if the customer does not show up to sign the contract for more than a given period of time. Such reservation is honored only if there are still cars available to satisfy the request. Sometimes a customer wishes to make a block reservation for several cars and to have the invoices for all rentals on the reservation handled together. As soon as a car is checked out to a customer, an invoice is opened. A single invoice may cover one or more rentals. Normally a customer will settle the invoice when the car is returned but, in some cases, the invoice must be sent to a company (such as the customer's employer). When the customer pays by a credit card, the rental charge will be processed through a credit card processing company. A car may or may not be available for rental on a given day. Rental cars need frequent preventive maintenance and, in addition, any damage to a car has to be repaired as soon as possible. The company wants to keep track of the rental car purchase, repair, maintenance, and disposal information for business and tax purposes (c.g., depreciation of the rental cars). 1. Create the following classes in C++ or Java a. -name: string -email: string -gender: char Author +Author(name: string, email: string, gender, char) +getName(: string +getEmail(): string +setEmail(email: string): void +getGender(): string +print(): string The class Author contains: • Three private member variables: name (String), email (String), and gender (char of either 'm' or 'f'. . . A constructor to initialize the name, email and gender with the given values. Public getters/setters: getName(), getEmail(), setEmail(), and getGender (). A print () function that returns "name (gender) at email", e.g., "Mike (m) at mJones@somewhere.com". b. -name: string -author: Author -print: double Book +Book(name: string, author: Author, price: double) +getName(): string +getAuthhor): Author +getPrice(): double +setPrice(price: double); void +print(): string The class Book contains: • Four private member variables: name (String), author (an instance of the Author class we have just created, assuming that each book has exactly one author), price (double). The public getters and setters: getName(), getAuthor (), getPrice (), setPrice (). • A print () that returns "book-name by author-name (gender) at email". You could reuse the Author's print () function, which returns "author-name (gender) at email". . Write a program to test the Author and the Book classes. Create objects of each class type and use the print function in the objects to display information. 1. Identify and formulate requirements and constraints for the online car rental system described below. Also provide priority weights for the requirements according to the nature of the car rental business: CAR RENTAL SYSTEM. A car rental company operates a number of rental locations throughout the metropolitan area. Since the company has a great business model and provides customer-friendly service, its business has boomed over the last several years. As the business has grown rapidly, the costs of running its business has also increased. In particular, as the job market becomes hot, the labor cost has doubled over the last several years. The company wants to find a solution to reduce its operating cost. The business operation of the company is described as follows. The description is not meant to be complete, and the company is flexible enough to consider any good improvement proposals. Vehicles can be taken from one location and returned to the same location or to a different location with an additional charge. Although the company is, at present, concerned only with passenger cars, it may branch out into other forms of vehicle rentals in the future and would like to be able to use the same reservation system. The company has several different makes of cars in its rental fleet, from different manufacturers. Each make may have several models. For example, Toyota has Corolla, Camry, and more. The models are grouped into a small number of price classes. The customer must be able to select the make and the model he or she wants to rent. If the selected car is not available, the system should display a message telling the customer that the car is rented out and let the customer select another make and model, or have the system suggest similar models of a different make. The company has a number of different rental plans available to customers. For example, there is a "daily unlimited miles plan" and a "weekend 10% discount plan." The company finds it important to have information available on the models of car, such as automatic or manual gear change, two or four doors, and sedan or hatchback. The rental prices may be different for different options and a customer will want to know such information when reserving a car. Currently, customers make reservations directly with the car rental company either in person or through the phone. The salespersons process the reservations manually using a reservation form and archive them in the file cabinet. No deposit is required at the time of reservation. The reservation is voided if the customer does not show up to sign the contract for more than a given period of time. Such reservation is honored only if there are still cars available to satisfy the request. Sometimes a customer wishes to make a block reservation for several cars and to have the invoices for all rentals on the reservation handled together. As soon as a car is checked out to a customer, an invoice is opened. A single invoice may cover one or more rentals. Normally a customer will settle the invoice when the car is returned but, in some cases, the invoice must be sent to a company (such as the customer's employer). When the customer pays by a credit card, the rental charge will be processed through a credit card processing company. A car may or may not be available for rental on a given day. Rental cars need frequent preventive maintenance and, in addition, any damage to a car has to be repaired as soon as possible. The company wants to keep track of the rental car purchase, repair, maintenance, and disposal information for business and tax purposes (c.g., depreciation of the rental cars). 1. Create the following classes in C++ or Java a. -name: string -email: string -gender: char Author +Author(name: string, email: string, gender, char) +getName(: string +getEmail(): string +setEmail(email: string): void +getGender(): string +print(): string The class Author contains: • Three private member variables: name (String), email (String), and gender (char of either 'm' or 'f'. . . A constructor to initialize the name, email and gender with the given values. Public getters/setters: getName(), getEmail(), setEmail(), and getGender (). A print () function that returns "name (gender) at email", e.g., "Mike (m) at mJones@somewhere.com". b. -name: string -author: Author -print: double Book +Book(name: string, author: Author, price: double) +getName(): string +getAuthhor): Author +getPrice(): double +setPrice(price: double); void +print(): string The class Book contains: • Four private member variables: name (String), author (an instance of the Author class we have just created, assuming that each book has exactly one author), price (double). The public getters and setters: getName(), getAuthor (), getPrice (), setPrice (). • A print () that returns "book-name by author-name (gender) at email". You could reuse the Author's print () function, which returns "author-name (gender) at email". . Write a program to test the Author and the Book classes. Create objects of each class type and use the print function in the objects to display information.
Expert Answer:
Answer rating: 100% (QA)
Requirements and Constraints for Online Car Rental System Requirements Core FunctionalityThe system should allow customers to browse and reserve renta... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
Erica wants to break into the commercial real estate industry but doesn't have the capital to purchase a commercial office property on her own. She finds a firm experienced in managing office...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Read the case study "Southwest Airlines," found in Part 2 of your textbook. Review the "Guide to Case Analysis" found on pp. CA1 - CA11 of your textbook. (This guide follows the last case in the...
-
Consider a situation wherein an exploration vehicle that has a mass of 250 kilogram on Earth ( gravityEarth = 9.8 m/s ) is sent to the Moon and planet Mars to explore their surfaces. What is the mass...
-
A piece of zinc of mass 5.0 g is dropped into a beaker of dilute hydrochloric acid. Calculate the work done by the system as a result of the reaction. The atmospheric pressure is 1.1 atm and the...
-
A 50.00-mL aliquot of a solution containing iron(II) and iron(III) required 10.98 mL of 0.01500 M EDTA when titrated at pH 2.0 and 23.70 mL when titrated at pH 6.0. Express the concentration of each...
-
Why is it generally a good idea to prune a full regression tree? a. A full regression tree is too large to visualize. b. A full regression tree typically overfits the training data and pruning the...
-
Summary operating data for Heartland Company during the current year ended November 30, 2012, are as follows; cost of merchandise sold, $2,500,000; administrative expenses, $300,000; interest...
-
Sweet Catering completed the following selected transactions during May 2016: May 1: Prepaid rent for three months, $1,200 May 5: Received and paid electricity bill, $130 May 9: Received cash for...
-
Based on Exhibits 1 and 2, the effective duration for the AI bond is closest to: A. 1.98. B. 2.15. C. 2.73. Jules Bianchi is a bond analyst for Maneval Investments, Inc. Bianchi gathers data on three...
-
The angle of depression of a ship viewed at a particular instant from the top of a 75m vertical cliff is 30. Find the distance of the ship from the base of the cliff at this instant. The ship is...
-
Two meters below the ground surface, a 2x2 m square footing is constructed on NC clayey sand. The layer is subjected to a CPT test, with the results revealing an average cone resistance of 20 Mpa. A...
-
Fund balance, both nonspendable and unassigned, can be computed from a limited amount of information. The schedule that follows reports the beginning balances and activity during the year in a town's...
-
(see the XRD plot for Ge to the right) a) What structure does Germanium have at room temperature? b) Draw and calculate the surface atomic concentration of the Ge (111) and (220) Intensity (a.u) 20...
-
Customers who use automatic teller machines ( ATM ) can perform several transactions quickly and efficiently. A banking consultant has noted that the times to complete a transaction are normally...
-
Deweyville Company had 200,000 shares of common stock and 10,000 shares of cumulative, $6 preferred stock outstanding during 20X1. The preferred stock is convertible at the rate of 20 shares of...
-
Income Statement For the Year Ended December Sales Cost of goods sold Gross profit Operating expenses Depreciation expense Rent expense Salaries expense Other operating expenses Net income 31, 2017 $...
-
Calculate the Lagrange polynomial P 2 (x) for the values (1.00) = 1.0000, (1.02) = 0.9888, (1.04) = 0.9784 of the gamma function [(24) in App. A3.1] and from it approximations of (1.01) and (1.03).
-
Please answer the following questions regarding the taxability of Social Security: a. A 68-year-old taxpayer has $20,000 in Social Security income and $100,000 in tax-free municipal bond income. Does...
-
Mike sells his home to Jane on April 2, 2012. Jane pays the property taxes covering the full calendar year in October, which amount to $2,500. How much may Mike and Jane each deduct for property...
-
a. Wilson filed his individual tax return on the original due date, but failed to pay $700 in taxes that were due with the return. If Wilson pays the taxes exactly 2 months late, calculate the amount...
-
(a) Show that the variancecovariance matrix of the disturbances in (9.1) is given by (9.2). (b) Show that the two nonzero block matrices in (9.2) can be written as in (9.3). (c) Show that...
-
Using the Harrison and Rubinfeld (1978) data published in Belsley, Kuh and Welsch (1980) and provided on the Springer website as Hedonic.xls, reproduce Table 9.1. Perform the Hausman test based on...
-
Using the Monte Carlo setup for the unbalanced one-way error component model considered by Baltagi and Chang (1994), compare the various estimators of the variance components and the regression...
Study smarter with the SolutionInn App