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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Logical vs. Physical DFDs

A

Logical: Business view, abstract.
Physical: Technical, implementation details.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are some steps to converting a logical DFD to a physical one?

A
  1. Add implementation details
  2. Draw human-machine boundaries (Dotted lines separating human external entities from the DFD).
  3. Add system-related data stores, flows, and processes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A good program has:

A
  1. highly cohesive modules
  2. loosely coupled modules
  3. high fan-in
  4. low fan-out
How well did you know this?
1
Not at all
2
3
4
5
Perfectly