Using Micro Parsons Problems to Scaffold the Learning of Regular Expressions

被引:3
|
作者
Wu, Zihan [1 ]
Ericson, Barbara J. [1 ]
Brooks, Christopher [1 ]
机构
[1] Univ Michigan, Sch Informat, Ann Arbor, MI 48109 USA
关键词
regular expressions; regex; computer science education; Parsons problems; micro Parsons problems; COGNITIVE-LOAD;
D O I
10.1145/3587102.3588853
中图分类号
G40 [教育学];
学科分类号
040101 ; 120403 ;
摘要
Regular expressions (regex) are a text processing method widely used in data analysis, web scraping, and input validation. However, students find regular expressions difficult to create since they use a terse language of characters. Parsons problems can be a more efficient way to practice programming than typing the equivalent code with similar learning gains. In traditional Parsons problems, learners place mixed-up fragments with one or more lines in each fragment in order to solve a problem. To investigate learning regex with Parsons problems, we introduce micro Parsons problems, in which learners assemble fragments in a single line. We conducted both a think-aloud study and a large-scale between-subjects field study to evaluate this new approach. The think-aloud study provided insights into learners' perceptions of the advantages and disadvantages of solving micro Parsons problems versus traditional text-entry problems, student preferences, and revealed design considerations for micro Parsons problems. The between-subjects field study of 3,752 participants compared micro Parsons problems with text-entry problems as an optional assignment in a MOOC. The dropout rate for the micro Parsons condition was significantly lower than the text-entry condition. No significant difference was found for the learning gain on questions testing comprehensive regex skills between the two conditions, but the micro Parsons group had a significantly higher learning gain on multiple choice questions which tested understanding of regex characters.
引用
收藏
页码:457 / 463
页数:7
相关论文
共 50 条
  • [41] Using Parsons' puzzles to support nested loops learning
    Gomes, Anabela
    Silva, Francisco Lapa
    Mendes, Antonio Jose
    XXVI INTERNATIONAL SYMPOSIUM ON COMPUTERS IN EDUCATION, SIIE 2024, 2024,
  • [42] Goofs in the Class: Students' Errors and Misconceptions When Learning Regular Expressions
    Okuboyejo, Olaperi Yeside
    Ewert, Sigrid
    Sanders, Ian
    ICT EDUCATION, SACLA 2020, 2021, 1518 : 57 - 71
  • [43] Learning regular expressions to template-based FAQ retrieval systems
    Moreo, A.
    Eisman, E. M.
    Castro, J. L.
    Zurita, J. M.
    KNOWLEDGE-BASED SYSTEMS, 2013, 53 : 108 - 128
  • [44] Machine Learning versus Regular Expressions in Negation and Speculation Detection in Biomedicine
    Cruz, Noa P.
    Mana, Manuel J.
    Mata, Jacinto
    PROCESAMIENTO DEL LENGUAJE NATURAL, 2010, (45): : 77 - 85
  • [45] Learning Deterministic Regular Expressions for the Inference of Schemas from XML Data
    Bex, Geert Jan
    Gelade, Wouter
    Neven, Frank
    Vansummeren, Stijn
    ACM TRANSACTIONS ON THE WEB, 2010, 4 (04)
  • [46] Instance-Based Ontology Matching Using Regular Expressions
    Zaiss, Katrin
    Schlueter, Tim
    Conrad, Stefan
    ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS: OTM 2008 WORKSHOPS, 2008, 5333 : 40 - 41
  • [47] MINING OPEN SOURCE SOFTWARE DATA USING REGULAR EXPRESSIONS
    Li, Qifeng
    Li, Bing
    2011 IEEE INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND INTELLIGENCE SYSTEMS, 2011, : 550 - 554
  • [48] Abstracting Access Patterns of Dynamic Memory Using Regular Expressions
    Jeon, Jinseong
    Shin, Keoncheol
    Han, Hwansoo
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2008, 5 (04)
  • [49] Translation of Semi-extended Regular Expressions Using Derivatives
    Martini, Antoine
    Renault, Etienne
    Duret-Lutz, Alexandre
    IMPLEMENTATION AND APPLICATION OF AUTOMATA, CIAA 2024, 2024, 15015 : 234 - 248
  • [50] Learning Regular Expressions for Interpretable Medical Text Classification Using a Pool-based Simulated Annealing Approach
    Tu, Chaofan
    Cui, Menglin
    2020 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2020,