Draw a class diagram corresponding to the following situations
(a) An organization has three categories of employee: professional staff, technical staff and support staff. The organization also has departments and divisions. Each employee belongs to either a department or a division Assume that people will never need to change from one category to another.
(b) A grocery store has some items sold by weight, and some per unit. Some items are taxable, while others are not. Some items have special prices when sold in groups (e.g. 3 for $2). Finally, some items have special prices if you have certain ‘membership cards’. There could be several different membership prices on the same item, but you can only use one membership card per purchase.
(c) A media player that can handle sound, images and sequences of images. Each type of media requires a ‘plugin’, although some plugins can handle more than one type of media.