Abstract
This paper explores the framework method for teaching object-oriented programming. Specifically, it describes a hierarchy of C++ 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.
- Conner95 Conner/Niguidula/van Dam, Object Oriented Programming in Pascal: A Graphical Approach, Addison- Wesley, 1995 Google Scholar
Digital Library
- Dewdney88 A.K. Dewdney, The Armchair Universe: An Exploration of Computer WorMs, Freeman, 1988 Google Scholar
Digital Library
- Dewdney90 A.K. Dewdney, The Magic Machine: A Handbook. of Computer Sorcery, Freeman, 1990 Google Scholar
Digital Library
- Dewdney93 A.K. Dewdney, The 27nkertoy Computer and other machinations, Freeman, 1993 Google Scholar
Digital Library
- Epstein96 Epstein/Axtell, Growing Artificial Societies, Brookings Institution Press, 1996 Google Scholar
Digital Library
- Garcia-Ruiz93 Garcia-Ruiz, et.al., Growth Patterns in Physical Sciences and Biology, Plenum, 1993Google Scholar
- Gaylord95 Gaylord/Wellin, Computer Simulations with Mathematica, Springer-Verlag, 1995 Google Scholar
Digital Library
- Langton89 Christopher G. Langton, Artificial Life I, Addison-Wesley, 1989 Google Scholar
Digital Library
- Meter94 Meter/Miller, Engaging Students and Teaching Modern Concepts: Literate, Situated, Object-Oriented Programming, SIGCSE Technical Symposia, 1994 Google Scholar
Digital Library
- Pattis97 Richard E. Pattis, Get A-Life: Introducing Object-Oriented Programming in C++ using an Artificial Life Framework, Turing TarPit Press, 1997Google Scholar
- Resnick94 Mitehel Resnick, Turtles, Termites, and Traffic Jams, MIT Press, 1994 Google Scholar
Digital Library
- Rucker93 Rudy Rucker, Artificial Life Lab, Waite Group Press, 1993 Google Scholar
Digital Library
Index Terms
Teaching OOP in C++ using an artificial life framework
Recommendations
Teaching OOP in C++ using an artificial life framework
SIGCSE '97: Proceedings of the twenty-eighth SIGCSE technical symposium on Computer science educationThis paper explores the framework method for teaching object-oriented programming. Specifically, it describes a hierarchy of C++ classes that implement the framework for an Artificial Life simulator. Students learn how to read these classes and extend ...
Learning to teach C++
Object-oriented programming, which came on the scene with Simula-67, is continuing to grow in popularity. C++, the object-oriented expansion of C, is one of the most used languages associated with object-oriented programming. Much of what is written ...







Comments