Growth in Knowledge of Programming Patterns: A Comparison Study of CS1 vs. CS2 Students

被引:0
|
作者
Nurollahian, Sara [1 ]
Rafferty, Anna N. [2 ]
Brown, Noelle [1 ]
Wiese, Eliane [1 ]
机构
[1] Univ Utah, Salt Lake City, UT 84112 USA
[2] Carleton Coll, Northfield, MN 55057 USA
基金
美国国家科学基金会;
关键词
Code quality; Code Structure Assessment; Code smells; Anti-pattern;
D O I
10.1145/3626252.3630865
中图分类号
G40 [教育学];
学科分类号
040101 ; 120403 ;
摘要
How does students' knowledge of code structure improve as they progress through their degree, and where do students struggle? We conducted a comparative study between introductory (CS1) and intermediate CS students (CS2) to explore these questions. Using an online survey with several tasks, including identification of expert patterns, judgment of readable structure, code comprehension, code writing, and editing, we focused on two important code structures: (S1) returning boolean expressions directly and (S2) unique vs. repeated code within if and else. Student performance varied based on structure and task: in both S1 and S2, CS2 students demonstrated higher performance in identifying patterns, judgment of readable structure, and editing. However, evidence of improvement in code writing was only found for S1, and improvement in code comprehension was only found for S2. Therefore, students may need different supports across different code structures. With the exception of comprehension of S1, student performance was far below ceiling, suggesting a need for more support. Additionally, we examined how student performance in different tasks was related to their writing structure. Overall, there were limited and varying relationships between performance in other tasks and writing: code editing predicted writing performance for both structures. For S1, student judgment of readability was also associated with writing structure, and for S2, comprehension predicted writing structure.
引用
收藏
页码:979 / 985
页数:7
相关论文
共 50 条
  • [41] No Gender Difference in CS1 Grade for Students with Programming from High School: An Exploratory Study
    Gjelsten, Borge K.
    Bergersen, Gunnar R.
    Sjoberg, Dag I. K.
    Cutts, Quintin
    [J]. PROCEEDINGS OF 21ST KOLI CALLING CONFERENCE ON COMPUTING EDUCATION RESEARCH, KOLI CALLING 2021,, 2021,
  • [42] Workshop jGRASP: An integrated development environment with visualizations for teaching Java']Java in CS1, CS2, and beyond
    Cross, James H., II
    Hendrix, Dean
    [J]. 36TH ANNUAL FRONTIERS IN EDUCATION, CONFERENCE PROGRAM, VOLS 1-4: BORDERS: INTERNATIONAL, SOCIAL AND CULTURAL, 2006, : 1658 - 1658
  • [43] GUI-Based vs. Text-Based Assignments in CS1
    Ball, Robert
    DuHadway, Linda
    Hilton, Spencer
    Rague, Brian
    [J]. SIGCSE'18: PROCEEDINGS OF THE 49TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2018, : 1017 - 1022
  • [44] Comparison of Three Programming Error Measures for Explaining Variability in CS1 Grades
    Svabensky, Valdemar
    Pankiewicz, Maciej
    Zhang, Jiayi
    Cloude, Elizabeth B.
    Baker, Ryan S.
    Fouh, Eric
    [J]. PROCEEDINGS OF THE 2024 CONFERENCE INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, VOL 1, ITICSE 2024, 2024, : 87 - 93
  • [45] Does ChatGPT Help With Introductory Programming? An Experiment of Students Using ChatGPT in CS1
    Xue, Yuankai
    Chen, Hanlin
    Bai, Gina R.
    Tairas, Robert
    Huang, Yu
    [J]. 2024 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING EDUCATION AND TRAINING, ICSE-SEET 2024, 2024, : 331 - 341
  • [46] A Guided Scratch Visual Execution Environment to Introduce Programming Concepts to CS1 Students
    Hijon-Neira, Raquel
    Connolly, Cornelia
    Palacios-Alonso, Daniel
    Borras-Gene, Oriol
    [J]. INFORMATION, 2021, 12 (09)
  • [47] Prognosis of CS2 is Worse Than CS1 in Super-Elderly Patients with Acute Decompensated Heart Failure
    Mizukami, Takuya
    Nagumo, Sakura
    Tsujiuchi, Miki
    Maezwa, Hideyuki
    Nogi, Ayaka
    Ebato, Mio
    Suzuki, Hiroshi
    [J]. JOURNAL OF CARDIAC FAILURE, 2016, 22 (09) : S186 - S186
  • [48] What Do CS1 Syllabi Reveal About Our Expectations of Introductory Programming Students?
    Becker, Brett A.
    Fitzpatrick, Thomas
    [J]. SIGCSE '19: PROCEEDINGS OF THE 50TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2019, : 1011 - 1017
  • [49] A PLASMID-ENCODED REGULATORY GENE, RNS, REQUIRED FOR EXPRESSION OF THE CS1 AND CS2 ADHESINS OF ENTERO-TOXIGENIC ESCHERICHIA-COLI
    CARON, J
    COFFIELD, LM
    SCOTT, JR
    [J]. PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 1989, 86 (03) : 963 - 967
  • [50] Comparing Student Experiences of Collaborative Learning in Synchronous CS1 Classes in Gather.Town vs. Zoom
    Latulipe, Celine
    De Jaeger, Amy
    [J]. PROCEEDINGS OF THE 53RD ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION (SIGCSE 2022), VOL 1, 2022, : 411 - 417