Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Smart Marketing System ( SMSY ) Read the following scenario carefully and based on, answer the below questions: Scenario: In this scenario [Design phase], the

Smart Marketing System

(SMSY)

Read the following scenario carefully and based on, answer the below questions:

Scenario:

In this scenario [Design phase], the suppliers (supplier -Name, supplier-Address, and business-Made) are marketing their items (item-Name, offer-No) to customers.

This scenario is centered on sale-Offers. The object Facilitator (trade-No, Buyer, supplier, and product) provides the services needed by customers and suppliers.

The object items keeps information about the products traded in the system. Each items include any number of item-OFFERS (supplier, and offer-price, sales), each supplier, giving QTY-AVAILABLE and asking price.

It also keeps a record of all the offers of items for sale by suppliers, and all the sales (buyer-Name, supplier, item, price) made by the system.

The object Facilitator is like an agent that provides all the services needed by the customers (customer-Name, purchase) to arrange a sale.

The customer states the requested item and quantity . The Facilitators object will request all traders-offers for that item and present them to the customer.

The customer then examines these offers to find one that is acceptable and if so instructs the T Facilitators object to complete the sale. The Facilitators object provides the necessary services for arranging a trade.

The object Facilitators is working to facilitate the sales services between producers, products, and customers.

The system has a relation between items, items-offers, and sale.

Finally, the object suppliers include the methods add-item (), and delete-item().

The object Facilitators include the methods initiate-Trade (), and agree-sale- offer ().

The object Customers includes the method add-customer (). And the object items includes the methods add-items, and delete-offer (). The object item-Offers includes the methods add-Offer (), and compute-Price (). Object Sale includes a method add-Sale ().

...........

Answer all questions:

Create one Design class diagram that includes the following points in Q1, Q2, and Q3:

Q1.

1.1 Five design classes with attributes and methods.

1.2 Suitable Association between the classes.

Q2. Assign suitable data type for each attribute name in the design class.

Q3. Suggest one suitable design class with three attributes names, and two methods, add it to the diagram.

(Notice: Give the suggested class a name using the following format:

[Class name WRITE YOUR NAME HERE])

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions