Explain why money must not be stored as a float, with a concrete example.
Show worked solution
A strong answer shows a float failing (0.1 + 0.2), explains that most decimals aren't exact in binary and errors compound, and states the fix: integer minor units (plus currency), rounding only where you divide/take a percentage. Bonus: noting a properly-used Decimal is also valid, but never a float.
Split $10.00 three ways so it reconciles, and explain the method.
Show worked solution
Good answers give 334 + 333 + 333 = 1000, explain the largest-remainder method (floor each share, give leftover cents to the largest remainders), and note it's deterministic and always sums to the exact total - unlike naive rounding which loses a cent.
Given a $100 item, a 20%-off coupon, 8% tax and $5 shipping, compute the total and justify the order.
Show worked solution
Strong answers apply the discount first (100 -> 80), tax the discounted amount (8% of 80 = 6.40), add shipping: 80 + 6.40 + 5 = $91.40 - and explain tax is charged on what the customer actually pays, with each step rounded so the parts reconcile.
Explain double-entry bookkeeping and why software that holds balances benefits from it.
Show worked solution
Good answers explain every transaction records two balanced entries (debits == credits), so total debits always equal total credits (a self-check), giving an audit trail, detectable inconsistency, and reconciliation - versus a fragile single balance field a bug can silently corrupt.
Describe two patterns that keep real charges correct despite unreliable networks.
Show worked solution
Strong answers name idempotency (a unique key so retries charge only once) and webhook-based confirmation (grant access on the processor's verified signed webhook, not the success page), plus never trusting the client for the amount - the server computes the price.