1. Project Objectives GROUP PROJECT 1. To achieve the following Learning Outcome (CO): CLO 3 -...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Project Objectives GROUP PROJECT 1. To achieve the following Learning Outcome (CO): CLO 3 - Formulate computational solutions for a given scenario as a group project by using learned algorithms and data structures. 2. To design Abstract Data Types (ADTS) (with UML diagrams, flow chart, specifications and implementation). 3. To present a complete report (documentation) detailing the whole process of completing the project and final result (output). 2. Important Details You are allowed to form a group of 5/6 students. This project contributes to 40% of your total coursework. The group leader is required to delegate tasks to group members accordingly. 3. Question Your task is to design and develop Java application(s) to execute a process of Hypermarket Self-Checkout Automated System. The system will generate the total and receipts of the amount that have been paid by the customer. The details are as follows: Phase 1 (ArrayList, LinkedList) 1. Create the following classes named CustomerInformation (use appropriate attributes such as custid, custIC and CounterPaid) and ItemInformation (with the instance variables such as itemId, itemName, itemPrice, datePurchase). You may add additional attributes to the classes when necessary. Relate these classes using has-a relationship. Then, create an arraylist object named purchased Items List containing the objects of Item Information class. The purchased Items List arraylist keeps the list of items purchased by the customers. 2. Store all customer information in a LinkedList named customerList. Please be noted that fast counters (counter no. 1 and counter no.2) are for customers who purchase max of 5 items ONLY. Phase 2 (Queue) 3. If a customer buys 5 items or less, he/she can go to Counter 1 or 2 to make a payment. The first customer who buys 5 items will be directed to Counter 1, the second customer who buys 5 items or less will be directed to Counter 2, the third customer who buys 5 items or less will be redirected to Counter 1 again and so on. Customers who buy more than 5 items, they will be redirected to Counter 3. This process will be repeated until no more records (customer and items purchased) are in the input file. 4. Create 3 queue objects and store list of customer information and items purchased to be paid for each counter (Counter 1, 2 or 3) respectively. Then, display the information related to the customer, items purchased and total amount paid (receipt) from each queue accordingly. Other requirements: Your system should be able to read data from file(s). The expected input is: Input file to store at least 100 customers who will use self-checkout automated system. And your system should have the following basic functions: Invoke no-args/normal constructors. Add new customer line up in a queue/list. Remove the respective customer/items from queues when necessary. Display customer details and items purchased after he/she makes payment. 1. Project Objectives GROUP PROJECT 1. To achieve the following Learning Outcome (CO): CLO 3 - Formulate computational solutions for a given scenario as a group project by using learned algorithms and data structures. 2. To design Abstract Data Types (ADTS) (with UML diagrams, flow chart, specifications and implementation). 3. To present a complete report (documentation) detailing the whole process of completing the project and final result (output). 2. Important Details You are allowed to form a group of 5/6 students. This project contributes to 40% of your total coursework. The group leader is required to delegate tasks to group members accordingly. 3. Question Your task is to design and develop Java application(s) to execute a process of Hypermarket Self-Checkout Automated System. The system will generate the total and receipts of the amount that have been paid by the customer. The details are as follows: Phase 1 (ArrayList, LinkedList) 1. Create the following classes named CustomerInformation (use appropriate attributes such as custid, custIC and CounterPaid) and ItemInformation (with the instance variables such as itemId, itemName, itemPrice, datePurchase). You may add additional attributes to the classes when necessary. Relate these classes using has-a relationship. Then, create an arraylist object named purchased Items List containing the objects of Item Information class. The purchased Items List arraylist keeps the list of items purchased by the customers. 2. Store all customer information in a LinkedList named customerList. Please be noted that fast counters (counter no. 1 and counter no.2) are for customers who purchase max of 5 items ONLY. Phase 2 (Queue) 3. If a customer buys 5 items or less, he/she can go to Counter 1 or 2 to make a payment. The first customer who buys 5 items will be directed to Counter 1, the second customer who buys 5 items or less will be directed to Counter 2, the third customer who buys 5 items or less will be redirected to Counter 1 again and so on. Customers who buy more than 5 items, they will be redirected to Counter 3. This process will be repeated until no more records (customer and items purchased) are in the input file. 4. Create 3 queue objects and store list of customer information and items purchased to be paid for each counter (Counter 1, 2 or 3) respectively. Then, display the information related to the customer, items purchased and total amount paid (receipt) from each queue accordingly. Other requirements: Your system should be able to read data from file(s). The expected input is: Input file to store at least 100 customers who will use self-checkout automated system. And your system should have the following basic functions: Invoke no-args/normal constructors. Add new customer line up in a queue/list. Remove the respective customer/items from queues when necessary. Display customer details and items purchased after he/she makes payment.
Expert Answer:
Related Book For
Fundamentals of Cost Accounting
ISBN: 978-0077398194
3rd Edition
Authors: William Lanen, Shannon Anderson, Michael Maher
Posted Date:
Students also viewed these programming questions
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
Case Study: Quick Fix Dental Practice Technology requirements Application must be built using Visual Studio 2019 or Visual Studio 2017, professional or enterprise. The community edition is not...
-
Norman Freight purchased a building for $1,100,000 and depreciated it on a straight-line basis over a 30-year period. The estimated residual value was $140,000. After using the building for 15 years,...
-
Calculate [OH-] and pH for (a) 1.5 ( 10-3 M Sr(OH2),
-
Raphael and Martina are engaged and are planning to travel to Las Vegas during the 2 0 2 2 Christmas season and get married around the end of the year. In 2 0 2 2 , Raphael expects to earn $ 4 5 , 3...
-
Describe how partial and circular reasoning can be helpful or harmful in resolving ethical dilemmas.
-
A process consists of two stirred tanks with Input q and outputs T1 and T2 (see figure). To test the hypothesis that the dynamics in each tank are basically first order, a step change in q is made...
-
Problem 3.1 (5 pts) Consider a 2-layer fully-connected NN, where we have input x = R1, hidden feature x2 = Rmx1, output x3 E Rkx1 and weights and bias W = Rmxn, W2 Rkxm, b = Rmx1, b2 E Rkx1 of the...
-
The successful of Samsung positioning concepts on digital and sustainability values proves that the strategy is working. The brand is now known for the innovative digital and sustainability values of...
-
Beneficiaries of estates and complex trusts are subject to the tier system of taxation. Explain what is meant by a first- and second- tier beneficiary.
-
What three functions does distributable net income serve in fiduciary taxation?
-
A client engagement letter should include all of the following except: a. the objective and scope of the audit. b. the expected form and content of the audit report. c. managements responsibilities....
-
Explain some tax avoidance techniques that could arise in regard to multiple trusts.
-
Explain when loss carryovers can be taken from a trust's federal income tax return and be used on the trust beneficiaries' individual income tax returns.
-
The Senior Seminar at Allegheny State requires students to complete a process improvement project with local industry. Jim Davis and Leanna Hearn have been assigned to Wiley Construction. Here is...
-
Assume Eq. 6-14 gives the drag force on a pilot plus ejection seat just after they are ejected from a plane traveling horizontally at 1300 km/h. Assume also that the mass of the seat is equal to the...
-
Mosca and Vespa are two sole traders with the financial statements (in euros) for the year ending 31 December as set out in Figure 7.10. Using the information contained in the financial statements,...
-
The following information has been extracted from the recently published statements of company D, as set out in Figure 7.11. Figure 7.11 Financial statements for company D as at 30 April The ratios...
-
Which of the following costs related to a building is NOT usually treated as an expense but is added to the asset? A. Repairs. B. Redecoration. C. Fitting new safety equipment. D. Cleaning.
Study smarter with the SolutionInn App