Activity 01
Think-Pair-Share: What Belongs in the API?
Present a simple library management system and ask pairs to decide which functions belong in the public API versus which are internal implementation details. Pairs then share their reasoning; the class discovers that different reasonable choices lead to different coupling outcomes. The discussion anchors the concept of information hiding in a concrete context.
How do well-defined interfaces make software easier to build and maintain?
Facilitation TipDuring Think-Pair-Share: What Belongs in the API?, circulate and listen for whether pairs are grouping functions by feature or by technical layer.
What to look forStudents work in pairs to design an API for a simple calculator module. One student proposes the API (function names, parameters, return types), and the other critiques it for clarity, completeness, and adherence to modular design principles. They then swap roles for a different module, like a date formatter.