Syntax-Based Analysis of Programming Concepts in Python']Python

被引:0
|
作者
Mozina, Martin [1 ]
Lazar, Timotej [1 ]
机构
[1] Univ Ljubljana, Fac Comp & Informat Sci, Ljubljana, Slovenia
来源
ARTIFICIAL INTELLIGENCE IN EDUCATION, PT II | 2018年 / 10948卷
关键词
Learning programming; Educational data analysis; Error diagnosis; Abstract syntax tree; Tree regular expressions;
D O I
10.1007/978-3-319-93846-2_43
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Writing programs is essential to learning programming. Most programming courses encourage students to practice with lab and homework assignments. By analyzing solutions to these exercises teachers can discover mistakes and concepts students are struggling with, and use that knowledge to improve the course. Students however tend to submit many different programs even for simple exercises, making such analysis difficult. We propose using tree regular expressions to encode common patterns in programs. Based on these patterns we induce rules describing common approaches and mistakes for a given assignment. In this paper we present a case study of rule-based analysis for an introductory Python exercise. We show that our rules are easy to interpret, and can be learned from a relatively small set of programs.
引用
收藏
页码:236 / 240
页数:5
相关论文
共 50 条
  • [41] INTRODUCING CODING USING THE PYTHON']PYTHON PROGRAMMING LANGUAGE
    Workman, R.
    Yu, W.
    ICERI2016: 9TH INTERNATIONAL CONFERENCE OF EDUCATION, RESEARCH AND INNOVATION, 2016, : 6667 - 6667
  • [42] Pythy: Improving the Introductory Python']Python Programming Experience
    Edwards, Stephen H.
    Tilden, Daniel S.
    Allevato, Anthony
    PROCEEDINGS OF THE 45TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION (SIGCSE'14), 2014, : 641 - 646
  • [43] Python']Python: A programming language for software integration and development
    Sanner, MF
    JOURNAL OF MOLECULAR GRAPHICS & MODELLING, 1999, 17 (01): : 57 - 61
  • [44] Python']Python-based In Situ Analysis and Visualization
    Loring, Burlen
    Myers, Andrew
    Camp, David
    Bethel, E. Wes
    PROCEEDINGS OF IN SITU INFRASTRUCTURES FOR ENABLING EXTREME-SCALE ANALYSIS AND VISUALIZATION (ISAV 2018), 2018, : 19 - 24
  • [45] High-level scientific programming with Python']Python
    Hinsen, K
    COMPUTATIONAL SCIENCE-ICCS 2002, PT III, PROCEEDINGS, 2002, 2331 : 691 - 700
  • [46] REINFORCEMENT OF PYTHON']PYTHON LEARNING THROUGH A PROGRAMMING GYMKHANA
    Remeseiro, B.
    Diaz-Honrubia, A. J.
    Cebrian-Marquez, G.
    Rico, N.
    Villar, J. R.
    EDULEARN19: 11TH INTERNATIONAL CONFERENCE ON EDUCATION AND NEW LEARNING TECHNOLOGIES, 2019, : 1241 - 1246
  • [47] EvoDAG: A Semantic Genetic Programming Python']Python Library
    Graff, Mario
    Tellez, Eric S.
    Miranda-Jimenez, Sabino
    Jair Escalante, Hugo
    2016 IEEE INTERNATIONAL AUTUMN MEETING ON POWER, ELECTRONICS AND COMPUTING (ROPEC), 2016,
  • [48] PySy: a Python']Python package for enhanced concurrent programming
    Williamson, Todd
    Olsson, Ronald A.
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2014, 26 (02): : 309 - 335
  • [49] Programming Real-Time Sound in Python']Python
    De Pra, Yuri
    Fontana, Federico
    APPLIED SCIENCES-BASEL, 2020, 10 (12):
  • [50] Prediction Model for Spectroscopy Using Python']Python Programming
    Ismail, A. A. M.
    Ali, N.
    Amirul, M. S.
    Endut, R.
    Aljunid, S. A.
    INTERNATIONAL JOURNAL OF NANOELECTRONICS AND MATERIALS, 2021, 14 : 355 - 363