講演抄録/キーワード |
講演名 |
2023-03-16 16:20
Pythonicなリスト内包表記の習得を目的としたヒント提示手法の提案 ○今元 佑・槇原絵里奈・島﨑悠斗・小野景子(同志社大) KBSE2022-58 |
抄録 |
(和) |
近年,開発や研究の現場におけるPythonの需要が増加している.
それに伴って,端的に記述でき実行性能を上げることができるPythonicという記法に注目が集まっている.
しかし,PythonicはPython独特な記法であるため,不慣れな学習者にとっては習得することが容易でない.
そこで本研究では,Pythonicイディオムの中から,リスト内包表記の学習を支援するヒント提示手法を提案する.
具体的には,まずNon-Pythonicなコードからリスト内包表記に変換できる箇所を検出し変換する.
その後,変換したコードに対して空欄化および色分けのヒントを施して学習者に提示する.
そして,提案手法によるヒントが学習支援に妥当であるかを調査するため評価実験を実施した.
具体的には,本提案手法を実装したツールを試作し,2種類のヒントおよびツールのUIに対して5段階で評価を行った.
評価実験の結果,ヒントは被験者に解答の方針を与えることができ,提案手法は学習者の支援に有効である可能性を示した. |
(英) |
In recent years, the demand for Python in development and research has been increasing.
In response, the Pythonic notation, which can be written in a straightforward manner and improves execution performance, has been attracting attention.
However, Pythonic is a notation unique to Python, and it is not easy to master for learners who are not familiar with Python.
In this study, we propose a method of presenting hints to support the learning of list comprehensions in the Pythonic idiom.
Specifically, we first detect and convert non-Pythonic codes that can be converted to list comprehensions.
Then, the converted code is presented to the learner with hints for making the code blank and color-coding it.
We conducted an evaluation experiment to investigate whether the proposed hints are appropriate for supporting learning.
Specifically, we developed a prototype tool that implements the proposed method, and evaluated two types of hints and the tool's UI on a 5-point scale.
The results of the evaluation experiment showed that the proposed method is effective in supporting learners. |
キーワード |
(和) |
プログラミング教育 / ヒントの自動提示 / Pythonic / リスト内包表記 / / / / |
(英) |
Programming education / Automatic hint function / Pythonic / List comprehension / / / / |
文献情報 |
信学技報, vol. 122, no. 444, KBSE2022-58, pp. 25-30, 2023年3月. |
資料番号 |
KBSE2022-58 |
発行日 |
2023-03-09 (KBSE) |
ISSN |
Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
PDFダウンロード |
KBSE2022-58 |