Activity 01
Simulation Game: Card Queue Line-Up
Provide index cards labeled with tasks or customers. Students enqueue by placing cards at the back of a line on desks, dequeue by removing from the front, and record states after each operation. Extend to simulate high-volume arrivals and discuss bottlenecks.
How do priority queues differ from standard queues in real-world scheduling?
Facilitation TipDuring the Card Queue Line-Up, circulate and challenge students to predict outcomes if someone tries to remove from the middle, reinforcing FIFO rules.
What to look forPresent students with a sequence of enqueue and dequeue operations (e.g., enqueue(A), enqueue(B), dequeue(), enqueue(C), dequeue(), dequeue()). Ask them to write down the state of the queue after each operation and list the elements dequeued in order.