Activity 01
Pairs: ADT Design Challenge
Pairs brainstorm a real-world scenario, such as a task manager, and specify its ADT with 4-5 operations, inputs, outputs, and preconditions. They write a contract document and peer-review another pair's design for clarity. Refine based on feedback.
Differentiate between a data structure and an Abstract Data Type.
Facilitation TipDuring the ADT Design Challenge, circulate and listen for students naming operations without describing storage or pointers, redirecting any implementation talk back to the interface.
What to look forPresent students with a list of terms including 'Stack', 'Array', 'Queue', 'Linked List', 'ADT', and 'Data Structure'. Ask them to categorize each term as either an ADT or a Data Structure and provide a one-sentence justification for their choice.