Computer Science · Computer Science Applications
Using simulation in an objects-early approach to CS1 and CS2
See on the mapAbstract
Our philosophy is that CS1/CS2 students learn best as apprentices, by studying the work of more experienced program designers and writers and by extending and modifying programs provided by these experienced programmers. We believe that object-oriented programming supports this philosophy and should be used in the introductory course sequence. Our approach emphasizes using objects before creating them, reading and modifying programs before designing them. In this paper we discuss our approach, and suggest simulation as a rich area for case studies, labs, and assignments when employing this objects early approach. We provide details of two simulations we have used in our courses: a simulation of the card game war and a queueing simulation.