Title :
A study on assisting in Prolog program comprehension by using stepwise execution and stepwise comparison
Author :
Deguchi, Yoshiyuki ; Nakamura, Manabu ; Otsuki, Setsuko
Author_Institution :
Graduate Sch. of Inf. Sci., Hiroshima City Univ., Japan
Abstract :
Reading a program, learners must understand syntax, semantics, and usage, which are characteristics of each individual programming language. Moreover, they must acquire typical writing art through understanding various good programs. In order to obtain good programming methods, learners must also know the execution flow of programs, which is difficult to explain statically. In this paper, as a learning environment for Prolog programs, an animation tree is proposed, which allows learners to interactively manipulate program execution back and forth in a stepwise manner. The effect of the animation tree in the problem solving process and the contents of finding through comparison of two programs with the same structure are investigated.
Keywords :
PROLOG; computer animation; computer science education; flowcharting; programming language semantics; Prolog program; Prolog program comprehension; animation tree; learning environment; program execution flow; programming language; programming methods; semantics; stepwise comparison; stepwise execution; syntax; usage; writing art; Animation; Art; Buildings; Cognitive science; Computer languages; Computer science education; Magnetic heads; Problem-solving; Programming profession; Writing;
Conference_Titel :
Computers in Education, 2002. Proceedings. International Conference on
Print_ISBN :
0-7695-1509-6
DOI :
10.1109/CIE.2002.1185876