A team divides a ticketing application into Sales and Admission subsystems, each containing several modules. Which statements about this modular decomposition are justified? Select all that apply.
A subsystem can group several modules that collectively provide a major application function.
A module boundary requires a separate operating-system process for each software unit.
An unchanged operation name guarantees compatibility even when its promised error behaviour changes.
A private implementation change can remain local when the full published contract is preserved.
Unlock full course notes by signing up
Counting unused connections
A scheduling application has six modules and seven actual directed dependency pairs. Count each ordered source–target pair once, exclude self-dependencies, and treat opposite directions as different pairs. How many possible directed pairs are unused? Give the number of pairs as an exact integer.
Moving boundaries around a fixed call graph
A shop application contains six components: Receive accepts orders, Price calculates prices, Check checks stock, Reserve reserves stock, Invoice creates invoices, and Receipt sends receipts. The diagram shows every direct call between these components.
A cross-boundary dependency is a listed call whose caller and called component belong to different modules. Count each arrow once, regardless of how often the call runs. Calls within a module do not contribute to this count.
Consider two layouts. Every component belongs to exactly one module, and all calls are permitted by each layout's interfaces.
Separating edit scope from testing scope
A booking service has the complete dependency graph below. An arrow means that its source calls its target. Tax changes an operation incompatibly, and Pricing invokes that operation. Assume Pricing can adapt internally while preserving its own complete public contract.
For regression testing, the team includes every direct or indirect caller of Tax. An indirect caller reaches Tax through one or more intervening modules. This testing rule does not imply that every included module needs source edits.
Find both counts, excluding Tax itself: the minimum number of modules requiring source edits because of the change, and the number of modules included by the testing rule. Give both as exact integers.
Checking access and cycles together
A checkout application enforces two rules for its module boundaries:
A call from another module may access only an exported operation, meaning an operation included in the target module's public interface.
The dependency graph may contain no dependency cycle: a sequence of directed dependencies that returns to its starting module.