联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> Python编程Python编程

日期:2018-10-31 10:07

MIS 740: Software Concepts

Fall 2018

Individual Assignment 4

Due Date: 5:29 PM, November 1, 2018 (Submit via WebCampus).

Weights: 4% of total grades.

Purpose:

Use different GUI components in the application.

Practice traversing an array using loop structure.

Arithmetic operations, as well as string manipulation and formatting, will also be involved.

NOTE: Please compress/zip the solution folders and submit the zip file.

Joe’s Automotive: Joe’s automotive offer routine maintenance services. The items and price of each service are

listed below. A customer can choose any number of routine services.

Oil Change $26

Lube Job $18

Radiator Flush $30

Transmission Flush $80

Inspection $15

Muffler Replacement $100

Tire Rotation $20

Joe also offers some non-routine services. A non-routine service is charged by the number of labor hours (by full

hour) at the rate of $20 per hour, as well as the cost of the parts used in the service. Within each visit, the customer

can request both routine maintenance and non-routine service.

Joe only provides service for some selected brands (Acura, Alfa Romeo, Aston Martin, Audi, Bentley, BMW,

Bugatti, Buick, Cadillac, Chevrolet, Chrysler, Citroen, Dodge, Ferrari, Fiat, Ford, GMC, Honda, Infiniti, Jaguar,

Jeep, Lamborghini, Land Rover, Lexus, Maserati, Mazda, McLaren, Mercedes-Benz, Mini, Mitsubishi, Nissan,

Peugeot, Porsche, Ram, Renault, Rolls Royce, Saab, Subaru, Suzuki, Tesla, Toyota, Volkswagen, and Volvo.)

When he prepares the bill, he needs to select from the list of the available brands for the car in service. Joe has

special service contracts with a few brands (Acura, Honda, Infiniti, Lexus, Mazda, Mitsubishi, Nissan, Subaru,

Suzuki, and Toyota). If the car in service is one with contract, 5 % discount will be applied to the parts used in the

non-routine services.

Each work order from the customer can be a regular service or an expedited service. Joe charges $200 as the

expedited service fee. For each customer visit, Joe can bill it with regular price, or provide a 10% or 20% off

Page 2 of 2

discount. The application should show the breakdown of the charges (including discounts applied), as well as the

total of the bill. Please limit Joe’s input to only valid values. When any of the input changes, clear the output.

Grading criteria:

Correctness:

The code can be compiled without any syntax error.

The code can generate the requested results, including the correct logic, events, and the requested format

and text alignment. Code the event methods properly.

The program is properly documented using comments, including the header (i.e., purpose of the

program, author name, and date) and in-code comments.

Technique used:

Assign a proper title to the window. Name the form and controls (visual components) properly. Assign a

default button for the form. Assign access keys for the buttons. Assign logical tab order to the controls.

Declare variables and named constants following the naming conventions discussed in class. Use the

variables and named constants in the program.

Declare and use array(s) in the program.

Use only one method to handle the change event of the input components.

The limit of the input value is handled properly.

Use ALL of the following components: TextBox, CheckBox, RadioButton, ComboBox, ListBox and

HScrollBar. Other components can also be used.


版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp