

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Object-oriented design - correct answer Object-oriented design (OOD) is a method of planning a system of interacting objects to solve software problem(s) OOD employs "hierarchical data abstraction," where components are designed based on stable class and object roles and relationships OO designs are characterized by structuring software architectures around objects and classes in specific domains(Rather than actions performed on software) "hierarchical data abstraction" - correct answer components are designed based on stable class and object roles and relationships "Low Cohesion and High Coupling" - correct answer Cohesion refers to the degree to which the elements of a module/class belong together. Coupling is how dependent these objects are on each other. OO Design of Expression Tree Processing App - correct answer Conduct Scope, Commonality, and Variability analysis to determine stable APIs and variable extension points Represent nodes as a hierarchy of classes, capturing properties of each node Apply "Gang of Four" (GoF) patterns to guide the development of a framework of extensible classes What is a framework? - correct answer • A framework is an integrated set of software components that collaborate to provide a reusable architecture for a family of related applications
What are a framework's key characteristics? - correct answer Inversion of control Domain-specific structure and functionality Semi-complete applications What are some patterns implemented in the expression tree application? - correct answer Factory Method, Bridge, Iterator, Strategy, and Visitor patterns Benefits of Object Oriented Design - correct answer • Complexity resides in (stable) structure and APIs, rather than (variable) algorithms More accurate modeling of the application domain More effective encapsulation Straightforward to extend the app to add new types of nodes Limitations of Object Oriented Design - correct answer • Solution may be overly rich in classes and associated structures