Back to the 2022 paper

Module 3: Software Design & Metrics

20227m

Discuss the differences between object-oriented and function-oriented designs.

Worked SolutionAI Assisted

Solution

Aspect Object-Oriented Function-Oriented
Focus Objects (data+functions) Functions/procedures, data flow
Decomposition Classes/objects Modules/functions (DFD)
Data Encapsulated with methods (hidden) Shared, global
Design notation UML (class, sequence) DFD, Structure chart
Reusability High (inheritance, polymorphism) Low, function reuse
Example language Java, C++ C, Pascal
Maintenance Easier (local change) Ripple effect (high coupling)

OO is data-centric, FO is action-centric. Modern systems often use hybrid.

Similar questions

Student FinanceWeb Platform

Pocketly — Personal Finance for Students

Keep your hostel and college expenses under control. Track accounts, log spending in seconds, and stay within your monthly budget.