CS代考 Property of Penn Engineering

Property of Penn Engineering

What is Functional
Independence?

Copyright By PowCoder代写 加微信 powcoder

Property of Penn Engineering

• Modularity: each component addresses a single part of the
functionality

• Functional Independence: components should have minimal
dependence on other components

• Abstraction: components should be able to use other
components with minimal knowledge of the details of their
implementation

Review: Software Design Concepts

Property of Penn Engineering

•Design a Java program that reads a file containing info
about courses, instructors, and enrollment

• And then allows the user to choose to see:
• the instructor(s) for a given course
• the course(s) taught by a given instructor
• the average enrollment for a given course

Motivating Example

Property of Penn Engineering

• A module should be able to do its work with minimal
dependence on other modules

• Try to minimize the complexity of interfaces between

• Try to minimize the control that one module has over

What is Functional Independence?

Property of Penn Engineering

• A module should be able to do its work with minimal
dependence on other modules

• Try to minimize the complexity of interfaces between

• Try to minimize the control that one module has over

What is Functional Independence?

Property of Penn Engineering

• Analyzability: easier to understand a module without having to
look at other code

• Testability: permits testing of a module independent of other

• Reusability: pieces of code can be reused without need their
dependencies

• Changeability/Stability: reduce the number of things that may
have to change as the result of changing something else

Why Functional Independence?

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com