Activity 01
Pair Programming: Type Explorer
Pairs open Python IDLE and test numbers with type() and isinstance(). They perform operations like 10/3 and 10//3, printing results and types. Switch roles to predict then verify five expressions each.
Differentiate between integer and float data types and their appropriate uses.
Facilitation TipDuring Pair Programming: Type Explorer, circulate and ask pairs to explain their reasoning for choosing a data type before running code.
What to look forProvide students with a list of numbers (e.g., 7, 4.5, -10, 0.0, 1000). Ask them to write 'int' or 'float' next to each number. Then, ask them to predict the output of '15 // 4' and '15 / 4'.