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 条
  • [41] A methodology for the analysis of block-based programming languages appropriate for children
    Kraleva R.
    Kralev V.
    Kostadinova D.
    Journal of Computing Science and Engineering, 2019, 13 (01): : 1 - 10
  • [42] Toward a Responsive Interface to Support Novices in Block-Based Programming
    Rodriguez, Fernando J.
    Smith, Cody R.
    Smith, Andy
    Boyer, Kristy Elizabeth
    Wiebe, Eric N.
    Mott, Bradford W.
    Lester, James C.
    2019 IEEE BLOCKS AND BEYOND WORKSHOP (B&B), 2019, : 9 - 13
  • [43] Block-based programming with Scratch community data: A position paper
    Dasgupta, Sayamindu
    2015 IEEE BLOCKS AND BEYOND WORKSHOP (BLOCKS AND BEYOND), 2015, : 97 - 98
  • [44] NeuroBlock: A Block-Based Programming Approach to Neurofeedback Application Development
    Crawford, Chris S.
    Gilbert, Juan E.
    2017 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC), 2017, : 303 - 307
  • [45] Toward an Efficient User Interface for Block-Based Visual Programming
    Inayama, Yota
    Hosobe, Hiroshi
    2018 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC), 2018, : 293 - 294
  • [46] An analysis of block-based programming environments for CS1
    Begosso, Luiz Carlos
    Begosso, Luiz Ricardo
    Christ, Natalia Aragao
    2020 IEEE FRONTIERS IN EDUCATION CONFERENCE (FIE 2020), 2020,
  • [47] BEESM, a Block-based Educational Programming Tool for End Users
    Seraj, Mazyar
    Autexier, Serge
    Janssen, Jan
    NORDICHI'18: PROCEEDINGS OF THE 10TH NORDIC CONFERENCE ON HUMAN-COMPUTER INTERACTION, 2018, : 886 - 891
  • [48] Block-Based Programming for Mobile with Conventional Exceptions and Automatic Evaluation
    Atashpendar, Aryobarzan
    Rothkugel, Steffen
    PROCEEDINGS OF THE 2024 CONFERENCE INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, VOL 1, ITICSE 2024, 2024, : 597 - 603
  • [49] Applying the Block-Based Programming Language ALICE for Developing Programming Competencies in University Students
    Vinueza-Morales, Mariuxi
    Cardenas-Cobo, Jesennia
    Cabezas-Quinto, Jessica
    Vidal-Silva, Cristian
    IEEE ACCESS, 2025, 13 : 21471 - 21485
  • [50] Assessing Programming Concepts in the Visual Block-Based Programming Course for Primary School Students
    Kong, Siu-Cheung
    Wang, Yi-Qing
    PROCEEDINGS OF THE 18TH EUROPEAN CONFERENCE ON E-LEARNING (ECEL 2019), 2019, : 294 - 302