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
来源
关键词
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 条
  • [31] Thonny, a Python']Python IDE for Learning Programming
    Annamaaa, Aivar
    ITICSE'15: PROCEEDINGS OF THE 2015 ACM CONFERENCE ON INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, 2015, : 343 - 343
  • [32] Starter Projects in Python']Python Programming Classes
    Weigend, Michael
    DIGITAL TRANSFORMATION OF EDUCATION AND LEARNING - PAST, PRESENT AND FUTURE, OCCE 2021, 2022, 642 : 104 - 115
  • [33] Engaging Students with Game Programming in Python']Python
    Wang, Hong
    WCECS 2009: WORLD CONGRESS ON ENGINEERING AND COMPUTER SCIENCE, VOLS I AND II, 2009, : 595 - 598
  • [34] Exploration of Teaching Method of Python']Python Programming Based on the Case of Technical Problem
    Zhao, Guanghui
    Zhao, Shumin
    Zou, Chengming
    Wang, Zhaoxia
    2017 12TH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND EDUCATION (ICCSE 2017), 2017, : 600 - 603
  • [35] SOFTWARE IMPLEMENTATION OF PSPISE-BASED MODELS IN THE PYTHON']PYTHON PROGRAMMING LANGUAGE
    Popov, Stoyan
    Hinov, Nikolay
    INTERNATIONAL JOURNAL ON INFORMATION TECHNOLOGIES AND SECURITY, 2023, 15 (03): : 65 - 74
  • [36] Analysis of Learning Behavior Indicators Based on Python']Python
    Li, Yining
    Hu, Wei
    Liu, Fang
    Liu, Tianyi
    2021 4TH INTERNATIONAL CONFERENCE ON INTELLIGENT AUTONOMOUS SYSTEMS (ICOIAS 2021), 2021, : 211 - 215
  • [37] Customer Value Analysis Based on Python']Python Crawler
    Liu, Ming
    Du, Yurui
    Xu, Xifen
    PROCEEDINGS OF THE 2019 31ST CHINESE CONTROL AND DECISION CONFERENCE (CCDC 2019), 2019, : 4345 - 4350
  • [38] Power spectrum and spectrogram of EEG analysis during general anesthesia: Python']Python-based computer programming analysis
    Sawa, Teiji
    Yamada, Tomomi
    Obata, Yurie
    JOURNAL OF CLINICAL MONITORING AND COMPUTING, 2022, 36 (03) : 609 - 621
  • [39] Programming biological models in Python']Python using PySB
    Lopez, Carlos F.
    Muhlich, Jeremy L.
    Bachman, John A.
    Sorger, Peter K.
    MOLECULAR SYSTEMS BIOLOGY, 2013, 9
  • [40] Current and Emerging Trends in Python']Python Programming Learning
    Ahmad, Amir
    Ray, Santosh
    Nawaz, Ali
    2024 9TH INTERNATIONAL STEM EDUCATION CONFERENCE, ISTEM-ED 2024, 2024,