Software Engineering (2160701)

BE | Semester-6   Winter-2018 | 16-11-2018

Q2) (a)

Differentiate Procedural Design and Object Oriented Design.

Sr. Procedural Design Object Oriented Design
1 The basic abstraction are real world functions such as sort, display, track, etc. The basic abstraction are not real world functions such as sort, display, track, etc.., but real-world entities such as employee, picture, machine, radar system, etc.
2 For example, an employee pay-roll software is developed by designing functions such as update-employee record, get-employee-address, etc. In object-oriented-design, an employee pay-roll software is developed by designing objects such as employees, departments, etc.
3 State information is represented in a centralized shared memory State information is distributed among the objects of the system.
4 For example, while developing an employee pay-roll system, the employee data such as the names of the employees, their code numbers, basic salaries, etc. are usually implemented as global data in a traditional programming system. Whereas in an object-oriented system these data are distributed among different employee objects of the system.
5 Somewhere or the other the real-world functions must be implemented. Objects communicate by passing messages. Therefore, one object may discover the state information of another object by interrogating it
6 Function-oriented techniques such as SA/SD group functions together if, as a group, they constitute a higher-level function On the other hand, object-oriented techniques group functions together on the basis of the data they operate on.