A club's order program has four calculation and presentation helpers:
Treat each proposed change independently. Enter the single helper name whose responsibility should contain that change. For the display change, keep calculations at full precision and change only how the result appears. Copy helper names exactly.
Unlock full course notes by signing up
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.
Audit delegated responsibilities
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: