Assignment
Question One
Discuss the term cohesion and couplingin software design. In a good software design, why modules should have low coupling and high cohesion? Justify your answer.
Question Two
In cities the automatic traffic light system provides the smooth movement of vehicles. You, as a software engineer describe the UML,class based modeling for traffic light system and define classes, attributes and operation to control the traffic movement.The function of traffic light system should depends on the traffic density thus reducing long waiting time, if traffic density are very high on specific road.
Question Three
An ATM allows us to access bank accounts through an automated software process by ATM card towithdrawal money, transferring money, balance enquiry and depositing money. Draw the sequence diagram step by step to withdrawal money considering four objects Patron, ATM, Control and database for ATM process.