Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Bruce has negotiated contracts with his favourite suppliers. As part of the contract, Bruce sends a purchase order to the supplier, receives the requested
Bruce has negotiated contracts with his favourite suppliers. As part of the contract, Bruce sends a purchase order to the supplier, receives the requested inventory and then pays the supplier with in 30 days of inventory receipt. Some supplier contracts allow for price adjustments and discounts at time of purchase so Bruce is able to record the new price on the purchase order. Your team leader has written the following scenarios to capture Bruce's requirements. Use Case Name Triggering Event Brief Description Actors Related Use Cases Update Purchase Order Inventory items received Allows the Purchasing Manager to update quantities received. Purchasing Manager Purchasing Manager has opened the Main Menu. Purchase order is saved to the database and now can be queried. System Requests to update a purchase or- Displays a list of suppliers including Preconditions Post Conditions Flow of activities Actor 1. der 2. Selects a supplier. 3. Selects the purchase order Exception Condi- tions name and telephone number and prompts for selection. Displays a list of purchase orders for the supplier, including purchase or- der number, and date. loop Selects the purchase order detail 4. End Displays the purchase order including purchase order number, date, sup- plier and supplier telephone number. Displays a list of purchase order de- tails including product number, prod- uct name, price, quantity ordered and quantity received. Displays the purchase order detail in- cluding product number, product a spodnevis aimquantity received. nod name, price, quantity ordered and Selects a product and enters price Price and quantity must be entered and quantity received. Data is valid Calculates extended price (price* quantity) Updates purchase total amount When all purchase order details Displays purchase order including to- are updated. Prompts to select another purchase order detail. 5. Chooses to save 19 . tal amount Prompts to save purchase order Saves the purchase order and returns to the main menu Owner chooses to cancel updating the purchase order Question 1 (worth 20 marks) Complete a class diagram to support what your team has learned so far about Critters Be Gone. Question 2 (worth 25 marks) Complete sequence diagrams to support the above scenarios. Question 3 (5 marks) Please prototype what visual paradigm would output for the controller that manages the business logic of your application. If this was a web application, the controller would contain server side code Question 4 (worth 5 marks) Bruce would like to know how many fly traps he has inventory. Can your model answer that questions? If yes, how would you do it? If no - how would you change your class diagram and what additional functionality would you need. Please describe in English.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started