Activity 01
Physical Simulation: Stack with Cards
Provide each small group with a deck of cards. Instruct students to push cards face-up onto a stack and pop the top card, performing a given sequence like push A, push B, pop. Have them note the stack state after each step on paper.
Explain the LIFO principle and its real-world analogies.
Facilitation TipDuring Physical Simulation: Stack with Cards, circulate and ask groups to explain why they cannot access the bottom card without clearing the stack above it.
What to look forPresent students with a sequence of operations, e.g., push(10), push(20), pop(), push(30), pop(), pop(). Ask them to write down the final state of the stack and the value returned by each pop operation. This checks their understanding of LIFO and operation execution.