1997 · 13 citations · 3 references
ComputingComputer ScienceTeachingArtificial IntelligenceProgramming LanguagesSoftware EngineeringComputer Science EducationEducational Software DesignObject-oriented DesignObject-oriented ProgrammingSimulation-based LearningSoftware DesignInheritance HierarchiesMultiple InheritanceObject-oriented ArchitectureObject-oriented Design ModelsObject-oriented Programming EducationObjectsSimulation-based Programming
This paper explores the framework method for teaching object-oriented programming. Specifically, it describes a hierarchy of CI-+ classes that implement the framework for an Artificial Life simulator. Students learn how to read these classes and extend them via inheritance: they design and implement subclasses that encapsulate the behavior and state of environments and the entities that inhabit them. The simulator constructs an artificial world from objects of these subclasses; then, it animates these objects as they interact during the simulation. This paper includes one sample project and both subclasses that implement its solution.
3