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 条
  • [1] Solving the CS1/CS2 lab dilemma: Students as presenters in CS1/CS2 laboratories
    Robbins, KA
    Key, CS
    Dickinson, K
    Montgomery, J
    [J]. PROCEEDINGS OF THE THIRTY-SECOND SIGCSE TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2001, 33 (01): : 164 - 168
  • [2] EngageCSEdu: Engaging and retaining CS1 and CS2 students
    Monge, Alvaro E.
    Fadjo, Cameron L.
    Quinn, Beth A.
    Barker, Lecia J.
    [J]. ACM Inroads, 2015, 6 (01) : 6 - 11
  • [3] Pseudocode vs. Compile-and-Run Prompts Comparing Measures of Student Programming Ability in CS1 and CS2
    Rheault, Benjamin
    Dougherty, Alexis
    Blanchard, Jeremiah
    [J]. PROCEEDINGS OF THE 2023 CONFERENCE ON INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, ITICSE 2023, VOL 1, 2023, : 519 - 525
  • [4] Prior Programming Experience: A Persistent Performance Gap in CS1 and CS2
    Bui, Giang
    Sibia, Naaz
    Bernuy, Angela Zavaleta
    Liut, Michael
    Petersen, Andrew
    [J]. PROCEEDINGS OF THE 54TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, VOL 1, SIGCSE 2023, 2023, : 889 - 895
  • [5] PREPARATION STATION: A PRACTICE TOOL FOR CS1 AND CS2 STUDENTS IN PEERSPACE
    Li, Cen
    Dong, Zhijiang
    Untch, Roland H.
    Jagadeesh, Divya
    [J]. PROCEEDINGS OF THE 49TH ANNUAL ASSOCIATION FOR COMPUTING MACHINERY SOUTHEAST CONFERENCE (ACMSE '11), 2011, : 322 - 323
  • [6] The PTB primary clocks CS1 and CS2
    Bauch, A
    [J]. METROLOGIA, 2005, 42 (03) : S43 - S54
  • [7] Using Complex Game Development To Accelerate Learning In CS1 and CS2 Programming Course
    Goulding, Tom
    [J]. IMSCI '08: 2ND INTERNATIONAL MULTI-CONFERENCE ON SOCIETY, CYBERNETICS AND INFORMATICS, VOL II, PROCEEDINGS, 2008, : 163 - 168
  • [8] Flipping the CS1 and CS2 Classrooms in Central Asia
    Tyler, Benjamin
    Abdrakhmanova, Madina
    [J]. 2016 IEEE FRONTIERS IN EDUCATION CONFERENCE (FIE), 2016,
  • [9] Adding breadth to CS1 and CS2 courses through visual and interactive programming projects
    Jiménez-Peris, R
    Khuri, S
    Patiño-Martínez, M
    [J]. PROCEEDINGS OF THE THIRTIETH SIGCSE TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 1999, : 252 - 256
  • [10] Predicting Student Success in CS2: A Study of CS1 Exam Questions
    Beck, Leland
    Kraft, Patty
    Chizhik, Alexander W.
    [J]. PROCEEDINGS OF THE 53RD ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION (SIGCSE 2022), VOL 1, 2022, : 140 - 146