Synthesizing Tasks for Block-based Programming

被引:0
|
作者
Ahmed, Umair Z. [1 ]
Christakis, Maria [2 ]
Efremov, Aleksandr [2 ]
Fernandez, Nigel [2 ]
Ghosh, Ahana [2 ]
Roychoudhury, Abhik [1 ]
Singla, Adish [2 ]
机构
[1] Natl Univ Singapore, Singapore, Singapore
[2] MPI SWS, Saarbrucken, Germany
基金
新加坡国家研究基金会;
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Block-based visual programming environments play a critical role in introducing computing concepts to K-12 students. One of the key pedagogical challenges in these environments is in designing new practice tasks for a student that match a desired level of difficulty and exercise specific programming concepts. In this paper, we formalize the problem of synthesizing visual programming tasks. In particular, given a reference visual task T-in and its solution code C-in, we propose a novel methodology to automatically generate a set {(T-out, C-out)} of new tasks along with solution codes such that tasks T-in and T-out are conceptually similar but visually dissimilar. Our methodology is based on the realization that the mapping from the space of visual tasks to their solution codes is highly discontinuous; hence, directly mutating reference task T-in to generate new tasks is futile. Our task synthesis algorithm operates by first mutating code C-in to obtain a set of codes {C-out}. Then, the algorithm performs symbolic execution over a code Cout to obtain a visual task T-out; this step uses the Monte Carlo Tree Search (MCTS) procedure to guide the search in the symbolic tree. We demonstrate the effectiveness of our algorithm through an extensive empirical evaluation and user study on reference tasks taken from the Hour of Code: Classic Maze challenge by Code.org and the Intro to Programming with Karel course by CodeHS.com.
引用
收藏
页数:12
相关论文
共 50 条
  • [21] BlockXR: A Novel Tangible Block-Based Programming Platform
    De Siqueira, Alexandre G.
    Feijoo-Garcia, Pedro G.
    Stanley, Sean P.
    2021 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC 2021), 2021,
  • [22] Towards Collaborative Block-Based Programming on Digital Tabletops
    Selwyn-Smith, Ben
    Homer, Michael
    Anslow, Craig
    2017 IEEE BLOCKS AND BEYOND WORKSHOP (B&B), 2017, : 57 - 60
  • [23] Cubely: Virtual Reality Block-Based Programming Environment
    Vincur, Juraj
    Konopka, Martin
    Tvarozek, Jozef
    Hoang, Martin
    Navrat, Pavol
    VRST'17: PROCEEDINGS OF THE 23RD ACM SYMPOSIUM ON VIRTUAL REALITY SOFTWARE AND TECHNOLOGY, 2017,
  • [24] Evaluating the Effectiveness of Parsons Problems for Block-based Programming
    Zhi, Rui
    Chi, Min
    Barnes, Tiffany
    Price, Thomas W.
    ICER '19 - PROCEEDINGS OF THE 2019 ACM CONFERENCE ON INTERNATIONAL COMPUTING EDUCATION RESEARCH, 2019, : 51 - 59
  • [25] iSnap: Automatic Hints and Feedback for Block-based Programming
    Price, Thomas W.
    SIGCSE'18: PROCEEDINGS OF THE 49TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2018, : 1113 - 1113
  • [26] Towards Making Block-based Programming Activities Adaptive
    Effenberger, Tomas
    Pelanek, Radek
    PROCEEDINGS OF THE FIFTH ANNUAL ACM CONFERENCE ON LEARNING AT SCALE (L@S'18), 2018,
  • [27] Effect of the use of block-based languages in programming learning
    Lopez Puente, Eva
    2022 INTERNATIONAL SYMPOSIUM ON COMPUTERS IN EDUCATION (SIIE), 2022,
  • [28] Supporting Interactive Storytelling with Block-Based Narrative Programming
    Smith, Andy
    Boulden, Danielle
    Mott, Bradford
    Hubbard-Cheuoua, Aleata
    Minogue, James
    Oliver, Kevin
    Ringstaff, Cathy
    INTERACTIVE STORYTELLING, ICIDS 2021, 2021, 13138 : 416 - 424
  • [29] Measuring an Impact of Block-Based Language in Introductory Programming
    Matsuzawa, Yoshiaki
    Tanaka, Yoshiki
    Sakai, Sanshiro
    STAKEHOLDERS AND INFORMATION TECHNOLOGY IN EDUCATION (SAITE 2016), 2016, 493 : 16 - 25
  • [30] An automatic feedback model for learning programming via block-based programming platforms
    Cakiroglu, Unal
    Mumcu, Suheda
    COMPUTER APPLICATIONS IN ENGINEERING EDUCATION, 2023, 31 (05) : 1398 - 1411