Activity 01
Simulation Game: The Code Breaker
In pairs, one student acts as the 'developer' and the other as the 'malicious user'. The user tries to crash the developer's program using extreme values, wrong data types, or empty inputs, while the developer tries to patch the holes in real-time.
Compare the benefits of object-oriented programming over imperative programming for large projects.
Facilitation TipDuring The Code Breaker simulation, assign clear roles such as 'attacker', 'defender', and 'observer' to ensure every student contributes to the problem-solving process.
What to look forPresent students with three short code snippets, each representing a different paradigm (imperative, OOP, event-driven). Ask them to identify which paradigm each snippet exemplifies and briefly state one characteristic that led to their choice.