Your task is to create an E-commerce system that can perform the following functions: 1. Manage...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Your task is to create an E-commerce system that can perform the following functions: 1. Manage Products: The system should be capable of adding new products, deleting existing products, and searching for products by various attributes (e.g., name, category). Each product should have attributes such as name, price, category, and stock count. 2. Manage Users: The system should be able to add new users (both customers and sellers), delete users, and manage user information. Each user should have attributes such as name, email, and password. Sellers should have a list of products they're selling. 3. Shopping Cart & Purchasing: Users should be able to add products to a shopping cart, view the contents of the cart, and make a purchase. After a purchase, the system should update the stock count of the products and the list of products owned by the user. 4. Order History: Users should be able to view their past orders, including the products purchased and the total price. 5. User Interface: Implement a simple text-based user interface for users to interact with the system. The interface should provide options for all the features described above. Requirements: 1. Use object-oriented programming principles. 2. Write clear, understandable code with appropriate comments. 3. Handle potential exceptions and edge cases. For instance, what happens if a product is out of stock, or a user enters incorrect login credentials? 4. Implement unit tests to ensure your code works as expected. Deliverables: 1. Source Code: The complete source code of your project. It should be well-structured and commented. 2. Documentation: A document that includes: - An overview of your project. - A description of how your system works. - Instructions on how to run your system. - Any assumptions you made while developing the system. Your task is to create an E-commerce system that can perform the following functions: 1. Manage Products: The system should be capable of adding new products, deleting existing products, and searching for products by various attributes (e.g., name, category). Each product should have attributes such as name, price, category, and stock count. 2. Manage Users: The system should be able to add new users (both customers and sellers), delete users, and manage user information. Each user should have attributes such as name, email, and password. Sellers should have a list of products they're selling. 3. Shopping Cart & Purchasing: Users should be able to add products to a shopping cart, view the contents of the cart, and make a purchase. After a purchase, the system should update the stock count of the products and the list of products owned by the user. 4. Order History: Users should be able to view their past orders, including the products purchased and the total price. 5. User Interface: Implement a simple text-based user interface for users to interact with the system. The interface should provide options for all the features described above. Requirements: 1. Use object-oriented programming principles. 2. Write clear, understandable code with appropriate comments. 3. Handle potential exceptions and edge cases. For instance, what happens if a product is out of stock, or a user enters incorrect login credentials? 4. Implement unit tests to ensure your code works as expected. Deliverables: 1. Source Code: The complete source code of your project. It should be well-structured and commented. 2. Documentation: A document that includes: - An overview of your project. - A description of how your system works. - Instructions on how to run your system. - Any assumptions you made while developing the system.
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Sunshine Motors is a large car dealership with 5 branches spread over the Melbourne Metropolitan area, with the Head Office located in Sunshine, the west of Melbourne. David Da Costa is the CEO of...
-
DB DESIGN CASE--DAYTON ART GALLERY Dayton Art Gallery accepts works by living contemporary artists to be sold on a commission basis. It currently offers work from about 100 artists and sells...
-
To eliminate service inconsistencies, companies rely on ___________ and ___________.
-
Two polarizing sheets have their transmission axes crossed and a third sheet is inserted so that its transmission axis makes an angle with that of the first sheet as in Problem 49. Find the...
-
Go to the St. Louis Federal Reserve FRED database, and find data on the GDP deflator (GDPDEF) and the price of a barrel of oil (OILPRICE). For the GDP deflator, convert the Units setting to Percent...
-
What is the mirror-image rule?
-
Paige Corporation makes a mechanical stuffed alligator that sings the Martian national anthem. The following information is available for Paige Corporations anticipated annual volume of 500,000...
-
Calculate Inventory Conversion Period, Receivables Conversion Period, the Payment Conversion Period, and the Operating Cycle for Innovation Inc. given the following information. Use 365 to get an...
-
How would the Highest interest rate to the Lowest credit card payment method apply a $1200 payment to a card with an outstanding balance of $2000 broken down as follows: Transaction Rate Balance...
-
Nina Inc. has identified the activities that drive their overhead costs and has assigned costs as follows: Activities, Costs and Drivers Activity Overhead Cost Driver Driver Quantity Changeover...
-
Locate three mission statements in the criminal justice system and describe how it fit into the organizational structure. Which one do you prefer? Why? How are the three different? Find a mission...
-
With the aid of practical examples, outline ANY Five (5) benefits brought by Information and Communication Technology (ICT) in education from when COVID-19 started to date.
-
Criminal Justice organizations need to make changes to meet the needs of a different type of employee entering 21st-century criminal justice organizations. As a professional law enforcement...
-
1.) What is the criminal justice organization/agency's purpose, goals, or mission? 2.) How does the criminal justice organization/agency support the general goals of criminal justice? 3.) Is this...
-
With the introduction of the computer and information system technology in late twenty and early twenty-one centuries, the automation and popularity increase dramatically. Please specify three areas...
-
Which of the following is one of the major challenges faced when implementing a human resource plan? Determining compensation levels Having to conduct lengthy performance appraisals Lacking support...
-
An annual report of The Campbell Soup Company reported on its income statement $2.4 million as equity in earnings of affiliates. Journalize the entry that Campbell would have made to record this...
-
Why are separate departmental or cost centre overhead rates preferred to a plant-wide (blanket) overhead rate?
-
Telecoms At Work (TAW) manufactures and markets office communications systems. During the year ended 31 May, TAW made an operating profit of $30 million on sales of $360 million.However, the...
-
A company is proposing the introduction of an activity-based costing (ABC) system as a basis for much of its management accounting information: (a) Briefly describe how ABC is different from a...
-
Cathy, Heathcliff, and Isabelle are equal shareholders in Wuthering Heights (WH), an S corporation. Heathcliff has decided he would like to terminate the S election. In the following alternative...
-
Chandra was the sole shareholder of Pet Emporium, which was originally formed as an S corporation. When Pet Emporium terminated its S election on August 31, 2018, Chandra had a stock basis and an...
-
Winkin, Blinkin, and Nod are equal shareholders in SleepEZ, an S corporation. In the conditions listed below, how much income should each report from SleepEZ for 2019 under both the daily allocation...
Study smarter with the SolutionInn App