Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Scenario: You are tasked with creating a simple online shopping system. The system should allow customers to browse items, add them to a shopping cart,

image text in transcribed
Scenario: You are tasked with creating a simple online shopping system. The system should allow customers to browse items, add them to a shopping cart, proceed to checkout, and generate an order summary. Additionally. the bystem needs to keep track of inventory for each item. The system should: - Display a catalog of avalable items with delalis like name, price, and quantity available - Allow customers to add items to their shopping cart. - Calculate the total cost of liems in the cart at checkout. - Deduct the purchased quantity from the catalog inventory when an order is placed. - Generate an order nummary displaying items purchased, quantibes, total cost, and any applicable taxes or discounts - Any needed helper methods Question: 1. Create a UML class relationship diagram. Show all needed aftributes and methods for each class and how they are all connected with each other. (15 points) 2. Create nessasary classes and methods to implement the online shopping system based on the provided recuirements. Define methods for displaying the catalog, adding items to the cart, calculating the total cost, managing inventory, and generating an order summary (25 points) Note to a Student: Use appropriate data structures

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions