he system has a relation between Products, products-offers, and sale. Finally, the object PRODUCER includes the methods add-Producer (), and delete-Producer (). The object TRADERS includes the methods initiate-Trade(), and agree-T-offer(). The object Buyers includes the method add-buyer ( ). And the object Products includes the methods add-products, and delete-offer( ). The object Product-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.
Interacting Marketing
Read the following scenario carefully and based on, answer the below questions:
Scenario:
In this scenario [Design phase], the producers (producer-Name, producer-Address, and trade-Made) are marketing their products (Product-Name, offers- No) to consumers. This scenario is centered around “Making a sale”. The object traders (trade-No, Buyer, producer, and product) provide the services needed by consumers and producers.
The object products keeps information about the items traded in the system. Each products include any number of PRODUCT-OFFERS (producer, and offer-price, sales), each producer giving QTY-AVAILABLE and asking –price. It also keeps a record of all the offers of items for sale by procedures and all the sales (buyer-Name, producer, product, price) made by the system.
The object “traders” is like an agent that provides all the services needed by the buyers (buyer-Name, purchase) to arrange a sale.
The buyer states the requested product and quantity “. The traders object will request all traders-offers for that product and present them to the buyer.
The buyer then examines these offers to find one that is acceptable and if so instructs the TRAERS object to complete the sale. The traders object provides the necessary services for arranging a trade.
The object “TRADERS” is working as facilitator between producers, products, and Buyers.
The system has a relation between Products, products-offers, and sale.
Finally, the object PRODUCER includes the methods add-Producer (), and delete-Producer ().
The object TRADERS includes the methods initiate-Trade(), and agree-T-offer().
The object Buyers includes the method add-buyer ( ). And the object Products includes the methods add-products, and delete-offer( ). The object Product-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:
Step by step
Solved in 2 steps