homework

karim
IT242Assignment2-Final.docx

Pg. 03

Question Three

Assignment 2

Deadline: Day 15/04/2018 @ 23:59

[Total Mark for this Assignment is 4]

Software Engineering

IT242

https://www.seu.edu.sa/sites/ar/SitePages/images/logo.png

College of Computing and Informatics

Question One

1 Mark

Learning Outcome(s):

Design in the large, including principled choice of a software architecture, the use of modules and interfaces to enable separate development, and design patterns.

Discuss the term cohesion and coupling in software design. In a good software design, why modules should have low coupling and high cohesion? Justify your answer.

Question Two

2 Marks

Learning Outcome(s):

Design in the large, including principled choice of a software architecture, the use of modules and interfaces to enable separate development, and design patterns.

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

1 Mark

Learning Outcome(s):

Design in the large, including principled choice of a software architecture, the use of modules and interfaces to enable separate development, and design patterns.

An ATM allows us to access bank accounts through an automated software process by ATM card to withdrawal 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.