联系方式

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

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

日期:2019-01-14 10:18

Department of Electrical & Electronic Engineering

University of Nottingham, China Campus

COMPUTER AIDED ENGINEERING

EEEE1038

COURSEWORK

Deadline: 6:00pm, Monday, 14th January, 2018

Submission Type: Moodle

2018/2019

Design a check-out system for the Walmart supermarket. The stock of the

current season is listed below:

Category Item Description Item Code Unit Price

Food

Chicken 00310 35.00

Pork 00311 20.50

Beef 00322 45.00

Fish 00323 40.00

Clothing

Walmart T Shirt 00510 75.00

Walmart Trousers 00511 120.00

Walmart Coat 00512 100.00

Walmart Jumper 00513 85.00

Stationary

Mug 00710 15.50

Fry Pan 00711 200.00

Bowl 00712 25.00

Dish 00713 25.00

Upon starting the program, display a welcome screen like this:

***********************************************

* WALMART NINGBO ZHEJIANG CN *

* Scan the item code or manually type the code ID *

* Type F to finish *

***********************************************

Show the prompt Item Code: to allow the cashier to enter a barcode

number. One entry per line. For each code entry, the system will search

the database and locate the item name and its price. If no match can be

found, then display an error message: This item code does not exist!

Try again! The entry process will keep repeating until the cashier types F

to finish.

Once the entry finishes, display a receipt that shows a greeting, a shopping

list, and the total cost. The order of the items on the receipt should be in

the same order of the original item entry process. An example receipt can

be like this:

_____________________________________

THANK YOU FOR VISITING US!

_____________________________________

Here is your receipt:

Item Code Price

Dish 00713 25.00

Beef 00322 45.00

Bowl 00712 25.00

Walmart Jumper 00513 85.00

Walmart T Shirt 00510 75.00

_____________________________________

TOTAL COST: 255.00

After printing the receipt, use Cash Received: message to allow for the

entry of cash. Then use Change Given: message to indicate the change

from the cash received.

When the transaction finishes, display a message of Next customer?

(Y/N). If Y is entered, then restart the system from the beginning with the

welcome screen. If N is entered, then exit the system.

Assessment Criteria

The technical construction of the application system in this coursework can

be broken down into the following components:

Component Weighting

Stock Database 10%

Welcome Screen 10%

Cashier Entry and search 40%

Receipt Print 20%

Cash and Change 10%

Next Customer 10%

Total 100%

Based on the principles of effective and efficient software engineering

practice, each component above will be assessed using the criteria as

shown below:

Component Weighting

Completion of the Task 50%

Data Type Usage and Memory Efficiency 10%

Program Structure (Algorithm) 10%

User-Friendly Interface 10%

Satisfaction of System Requirement 10%

Comments 10%

Total 100%


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

python代写
微信客服:codinghelp