|
Most software developing systems do not provide a good language or mechanism to model the complex student model and teaching strategy in intelligent tutoring systems (ITSs). This motivates us to design a general-purpose language , named CAROL4, to achieve this objective. In CAROL4, we preserve the rule-based programming style inherited from its previous version, CAROL3, and use delegation for resource sharing between objects, instead of inheritance. Delegation removes the distinction between classes and instances, and allows objects to delegate responsibility for performing an operation or finding a value to their ancestors. It helps us to build CAROL4 as a language that has the ability to add properties to objects dynamically. There is no difference between the state and behavior of an object, they are both variables of the object now. This makes CAROL4 a simpler and more elegant language for knowledge construction.
|