A school is reviewing a proposed equipment-loan program. Each requirement in the table should have exactly one terminal helper directly responsible for it.
The coordinating function prepareLoan delegates to readLoan, checkLoan, and showReceipt. The function checkLoan delegates to approveLoan and updateInventory. These two coordinating functions perform no other work.
The terminal helpers have these assigned responsibilities:
For each requirement, enter the exact integer number of terminal helpers directly assigned that responsibility. Then enter missing for zero owners, single for one owner, or overlap for two owners. Count only explicitly assigned responsibilities; displaying a value is different from recording it. Assess the written design rather than assuming that function names imply additional behaviour.
Unlock full course notes by signing up
Find the owner of each change
A club's order program has four calculation and presentation helpers:
calculateBase multiplies the number of items by the current unit price of CAD 12.
applyReduction reduces that base amount by the current member reduction of 15%.
Review the design from four angles
A student is reviewing a top-down function design for a volunteer scheduling program before implementation. Match each design check with the evidence that would satisfy it.
Build and check the structure first
You are building a program that reads club attendance, prepares a summary, and displays it. Use a top-down workflow in which you check the overall coordination before implementing detailed helpers. Temporary stubs can supply fixed sample results during this check. Arrange the following milestones in their development order.
Refine a design for changing requirements
A parcel program reads orders, chooses a delivery service and produces printed labels. Its label function currently chooses the service again using a copied version of the same rules. The business will add an on-screen summary and change service eligibility for fragile parcels. The service-selection rules must remain consistent in both outputs. Which design decisions support these changes? Select all that apply.