The program should perform the necessary calculations to determine the total amount spent by the business traveler in each category (mileage charges, parking, hotel, meals, etc.) as well as the maximum amount allowed in each category.
WIDGET SALES COMPANY
You have been retained by Widget Sales Company, an international company with offices in 25 countries, to develop a website that will allow its employees to enter travel expenses incurred on a business trip and store that data for reporting purposes. It is estimated that, initially, only the 100 employees in the US will use the system, but within two years, all 2,500 employees worldwide will be using it. The site should have functions that ask for input and calculate the following:
The total number of days spent on the trip.
The time of departure on the first day of the trip and the time of arrival back home on the last day of the trip.
The amount of any round-trip airfare.
The amount of any car rentals.
Miles driven, if a private vehicle was used. Vehicle allowance is $0.58 per mile.
Parking fees. (The company allows up to $12 per day. Anything in excess of this must be paid by the employee.)
Taxi fees. (The company allows up to $40 per day for each day a taxi was used. Anything in excess of this must be paid by the employee.)
Conference or seminar registration fees.
Hotel expenses. (The company allows up to $90 per night for lodging. Anything in excess of this amount must be paid by the employee.)
The cost of each meal eaten. On the first day of the trip, breakfast is allowed as an expense if the time of departure is before 7 a.m. Lunch is allowed if the time of departure is before noon. Dinner is allowed if the time of departure is before 6 p.m. On the last day of the trip, breakfast is allowed if the time of arrival is after 8 a.m. Lunch is allowed if the time of arrival is after 1 p.m. Dinner is allowed if the time of arrival is after 7 p.m. The program should ask only for the costs of allowable meals. (The company allows up to $18 for breakfast, $12 for lunch, and $20 for dinner. Anything in excess of this must be paid by the employee.)
The program should perform the necessary calculations to determine the total amount spent by the business traveler in each category (mileage charges, parking, hotel, meals, etc.) as well as the maximum amount allowed in each category. It should then create a nicely formatted expense report that includes the amount spent and the amount allowed in each category, as well as the total amount spent and total amount allowed for the entire trip. This report should be written to a file.
WIDGET SALE COMPANY: PHASE 1
In this phase you will be analyzing the project from several different roles: Project Manager, Database Analyst, and Python Developer. For each of these roles provide:
A high-level overview of each role. This will be very general and describe what a project manager, database analyst, and developer are expected to perform in any project.
What information each role will need in order to complete that portion of it. This will be specific to this particular project. Include the departments and/or personnel with whom each role will need to interact so there is an overall plan concerning how to proceed.
If you are unfamiliar with any of the roles, you can research the Internet for more information. Feel free to reach out to your peers, as many of these roles are represented by the various majors in the course. This should be a high-level analysis; the details will be provided in Phase 2 of the project.
Each phase of the project should follow Strayer Writing Standards.
WIDGET SALES COMPANY PHASE 2
In this phase you will provide the detail that each of the roles must perform in completing the website.
Provide a timeline for the various activities that need to be completed. You must include a start date and end date. Each individual activity should have its own start and end date. Indicate which activities can be done in parallel and which activities must end before another activity can start. The following is an example on how to start this. Try to be realistic in the assignment of dates:
Description Start Date End Date Dependencies
Project Duration 1/1/2019 12/31/2020
Initial Meeting 1/2/2019 1/31/2019 None
Web Design 4/1/2019 10/31/2019 Database tables defined
Provide an overview of the data that will need to be captured. This can be in table format, listing the variable name, the data type, and any restrictions on the data. The following is an example of the expectations for this part:
Table Name Variable DataType Restrictions
Employee EmpName String None
Employee ExpensesAllowed Boolean Only Yes or No values
Expenses HotelArriveDate Date Valid date
Expenses HotelDepartDate Date Valid date, greater than arrival date
Provide the detail for the website. At a minimum, this should include the number of pages in the site and what data should be on each page. You must also include an overview of the Python functions needed to complete the functionality of the site. While no code will be required, you will need to provide the function signature, the parameters being passed in (if any), and a brief description of what the function will accomplish. Below is an example for this part:
Calculates the maximum allowance for parking fees using MAX_DAILY_FEE * days
Gets the parking fees from the user
Adds the parking fees to totalExpenses (a global variable used for keeping track of the total amount spent by the traveler).
Determines if the parking fees exceed the allowed amount.
Returns the allowable parking fees
Need assignment help for this question?
If you need assistance with writing your essay, we are ready to help you!
Why Choose Us: Cost-efficiency, Plagiarism free, Money Back Guarantee, On-time Delivery, Total Сonfidentiality, 24/7 Support, 100% originality