| TRAFFIC LIGHT: A PEDAGOGICAL EXPLORATION THROUGH A DESIGN SPACE (2007) | |||||||||||||
Abstract | |||||||||||||
| We present the representation of a traffic light as an example of an object that exhibits a rich behavior set and serves as a case study for a number of interesting design issues. We focus on the implementation of the internal state and corresponding control information of the traffic light, and discuss how various important kinds of behavior can be added to this extensible design. We present a number of design and programming exercises to enrich CS1 and CS2 courses. 1. | |||||||||||||
Publication details | |||||||||||||
| |||||||||||||