프로그래밍 교육을 위한 순서도 생성기 구현

Implementation of A Flow Chart Generator for Teaching Programming

  • 최성권 (동양대학교 컴퓨터공학부) ;
  • 류시혁 (동양대학교 컴퓨터공학부) ;
  • 신승철 (동양대학교 컴퓨터공학부)
  • 발행 : 2002.06.01

초록

프로그래밍 교육을 할 때 작성된 프로그램에 대하여 순서도를 자동 생성하여 보여줄 수 있다면 매우 유용할 것이다. 본 논문은 간단한 명령형 언어 While의 프로그램을 입력받아 순서도를 작성해 주는 방법을 제안한다. While프로그램을 순서도 작성에 적합한 언어인 Flow Chart언어 프로그램으로 전환하는 번역기를 생성한다. 이렇게 생성된 FCL을 가지고 그래픽 라이브러리를 이용하여 순서도를 자동으로 생성하는 방법을 제시한다. 본 연구의 결과를 이용하면 프로그램의 초보자들도 쉽게 프로그램의 흐름을 이해할 수 있다.

When we are teaching the programming education, it is very useful if we show that a flow chart generate automatically owing to a written out of the program. In this paper, we introduce the method of a flow chart generating from the simple imperative language for the While program. After the While program is translated by the Flow Chart Language program, it is generated automatically by making use of the java graphic library. Taking advantage of our results of the study, beginners can understand the flow of the program easily.

키워드