| 講演抄録/キーワード |
| 講演名 |
2008-10-17 13:05
教育を目的としたC言語ソース管理APIの作成とその応用 ○大久保和則・玉木久夫(明大) ET2008-42 |
| 抄録 |
(和) |
プログラミング教育のためのeラーニングシステムでは対象となるプログラミング言語のソースの解析を行うことが必要となる.そのため,対象のソースを解析するための統一的な枠組みが存在することが望ましい.そこで,我々は教育上必要になる範囲に限定してC言語のソースを解析するためのAPIを作成した.APIはソースを実行せずに解析するための構文解析機能と実行してその実行過程や結果を解析するためのインタープリタから構成されている.本APIを我々の学科で運用しているeラーニングシステムに組み込み,評価を行った.学習者が提出したプログラムを実行するための機構を本APIのインタープリタにすることで,変数の初期化忘れや配列の範囲外アクセスなどの論理的な誤りを検出することが可能になった. |
| (英) |
In an e-learning system for programming education, it is necesary to analyze the source code written in some programming language. Thus it is desirable that there is a unified framework for analyzing the source code. Therefore we developed the API for this task for a subset of the C programming language. This API has the function of syntactic analysis to be used for static source code analysis and an interpreter for dynamic program analysis. We have incorporated this API in the e-learing system used in our department and evaluated it. The detection of logical errors such as uninitialized variables and out-of-bounds array accesses has became possible. |
| キーワード |
(和) |
eラーニング / プログラミング教育 / C言語 / プログラム解析 / インタープリタ / / / |
| (英) |
e-learing / programming education / the C programming language / program analysis / interpreter / / / |
| 文献情報 |
信学技報, vol. 108, no. 247, ET2008-42, pp. 17-22, 2008年10月. |
| 資料番号 |
ET2008-42 |
| 発行日 |
2008-10-10 (ET) |
| ISSN |
Print edition: ISSN 0913-5685 Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
| PDFダウンロード |
ET2008-42 |