A hierarchy chart tells you

A hierarchy chart tells you _. which modules call other modules what tasks are to be performed within each program module when a module executes all of the above

The Correct Answer and Explanation is:

Correct Answer: which modules call other modules


Explanation:

A hierarchy chart, also known as a structure chart, is a visual representation of the modular structure of a program. It illustrates the relationships between different modules in a top-down format. Specifically, it shows which modules call other modules, making it easier to understand the overall organization and flow of control within a program.

In a hierarchy chart, the top module typically represents the main control module or the main program. Modules that are called by the main program are placed beneath it, and modules that are called by those, in turn, are placed even lower. Lines connecting the modules indicate the calling relationships, not the flow of execution or the specific tasks performed by each module.

Hierarchy charts are particularly useful in the design phase of software development. They help programmers and designers break down a complex system into manageable parts. This modular approach promotes code reuse, easier debugging, and better program organization. By looking at the hierarchy chart, developers can identify how the program is structured, which modules depend on others, and how control flows from one part of the program to another.

However, a hierarchy chart does not show:

  • The specific tasks or operations performed within each module — this would be detailed in pseudocode, flowcharts, or the actual program code.
  • The order or timing of execution — such information requires a more dynamic representation, like flowcharts or sequence diagrams.

In summary, a hierarchy chart focuses on the static structure of the program and the calling relationships between modules. It is an essential tool in top-down design, where the program is developed starting from the most general module and progressively broken down into more specific submodules.

Scroll to Top