Draw a UML diagram to represent the following inventory management system's classes, operations and their relationships: A computer lab inventory management system has to monitor the status of...




Draw a UML diagram to represent the following inventory management system's


classes, operations and their relationships:


A computer lab inventory management system has to monitor the status of


equipment. A computer lab has a list of equipment. Six different types of equipment


exist:


 A chair belongs in a lab


 A desk belongs in a lab and holds a monitor, a desktop computer and a coffee


mug


 A coffee mug belongs at a desk


 A monitor belongs at a desk


 A desktop computer belongs at a desk, and is connected to one keyboard


 A keyboard is connected to a desktop computer


Every piece of equipment has an ID and a status that indicates whether it is


functioning or not (or if there is coffee in the coffee mug).


A lab is identified by a name and a location made up of the name of the building it is


in and the floor of the building.


The inventory management system is able to:


 Query a lab for a list of all the broken equipment in the lab


 Specify the capacity of a lab


 Check whether the number of chairs matches a lab's capacity


 Check whether the number of desks matches a lab's capacity


 Check whether a computer has a functioning keyboard


 Check whether a desk has coffee


HINTS:


STEP 1: Identify at least seven classes from the above narrative


STEP 2: List attributes for each class


STEP 3: Identify operation(s) for each class


STEP 4: Identify relationships between the classes


STEP 5: Draw the Class diagram


Dec 02, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here