Module 11 - Program Design Flashcards
1
Q
Why is program design important?
A
Programmers need to know what to program and how to organize their code.
2
Q
Logical vs. Physical DFDs
A
Logical: Business view, abstract.
Physical: Technical, implementation details.
3
Q
What are some steps to converting a logical DFD to a physical one?
A
- Add implementation details
- Draw human-machine boundaries (Dotted lines separating human external entities from the DFD).
- Add system-related data stores, flows, and processes.
4
Q
What is fan-in and fan-out
A
Fan-in (ideal): The number of control modules that invoke a submodule
Fan-out: The number of submodules that a control module needs to control.
5
Q
A good program has:
A
- highly cohesive modules
- loosely coupled modules
- high fan-in
- low fan-out