Activity 01
Pair Programming: Profile Creator
Pairs write a program storing personal data: name (string), age (integer), height (float), verified (boolean). They output formatted details and update age by one year. Pairs test inputs and note type behaviors.
Analyze how the choice of data type impacts memory usage and program behavior.
Facilitation TipDuring Pair Programming: Profile Creator, have students switch roles every 10 minutes to ensure both partners engage with the code.
What to look forPresent students with a list of values (e.g., 10, 3.14, 'Hello', true, -5). Ask them to identify the most appropriate data type for each value and briefly explain their reasoning.