@article{oai:soar-ir.repo.nii.ac.jp:00012528, author = {関本, 理佳 and 海尻, 賢二}, issue = {1}, journal = {教育システム情報学会誌}, month = {}, note = {プログラミング教育において、プログラミングスタイルを意識させることは、良いプログラマを育てるために重要な要素である。我々は、入力されたCのソースプログラム中からプログラミングスタイルに違反する箇所を検出することにより、良形度の高いプログラムの作成を支援する、プログラミングスタイルの診断システムを試作した。本システムは、以下の特徴を持つ。(1)個々のガイドラインをプログラムパターンとして記述し検査するので、検査項目の追加が容易に行なえ、拡張性に優れている。(2)文脈に依存した項目や関数にまたがる項目など、単純なテキスト上のマッチングでは検索が難しいパターンの認識も可能である。我々は、文献等に載っている種々の悪形パターンを記述し、テキストユーティリティのプログラム群を対象とした認識実験を行ない、標準的なガイドラインが本システムにより正しく検出可能であることを確認した。さらに、初心者プログラマを対象としたスタイル検査実験により、本システムが悪形パターンの検査支援に有効に働き、本システムの利用により検査能力が向上することを実証した。, Programming style plays an important role in program education for novice programmers. By obeying it, programs become readable and understandable. We aim at developing a support system for checking programming style. This system detects ill-formed patterns in a program and makes a diagnosis on programming style. This system has the following features; 1) We decided to use program patterns as description form of programming style, so it becomes easy to add the checking criteria, 2)This system can detect various patterns, for example, context dependent patterns and dispersed patterns extending two or more functions. It is difficult to detect these patterns by character based pattern matching. We checked that detection of various ill-formed patterns is possible through this system. We made experiments for detecting ill-formed patterns. As a result, we show that the system is effective for educational use., Article, 教育システム情報学会誌 17(1): 21-29 (2000)}, pages = {21--29}, title = {プログラミングスタイルの診断システムの構築}, volume = {17}, year = {2000} }