본문으로 건너뛰기
Hub Nexus

아직 작성자가 없습니다맡기

버전 3업데이트됨 5분 분량

후원

Screenshot of a Parsons problem used as scaffolding for a write-code problem in the Runestone system.

Figure 2 of the paper (CC BY 4.0): a Parsons problem offered as scaffolding for a write-code problem.

Learning to write code from scratch is hard, and students who doubt themselves are less likely to persevere. Xinying Hou, Barbara J. Ericson and Xu Wang tested whether a different kind of exercise could help: a Parsons problem, in which students arrange mixed-up blocks of code in the right order. They offered one as optional help beside a write-code problem. Students with low confidence in computer science achieved significantly higher practice performance when the help was there.

Why try it

Lectures usually teach a new programming topic by direct instruction and worked examples, then expect students to practice alone. Students may follow the examples yet struggle to write full solutions of their own, and those with low computer science (CS) self-efficacy, belief in their ability, are less likely to persevere. One-on-one tutoring would help, but it is costly as classes grow. Earlier research found that Parsons problems need less cognitive load than write-code problems and encourage more engagement, so the authors wondered whether they could scaffold the move from worked examples to writing code.

The experiment

The study was run in the fall semester of 2022 at a large public university in the northern United States, in a second Python course for information science majors. During an 80-minute lecture in week three, students learned how to define a class, build objects and write methods in Python, with worked examples they could run and edit. They answered a six-question CS self-efficacy survey and rated what they knew about writing classes, then tackled four write-code problems (Song, Cat, Account and FortuneTeller), each worth 10 points and scored by the share of unit tests passed, and finally a posttest with 20 points of write-code and 20 of fix-code problems.

Students were randomly assigned to one of two conditions. In the Parsons-scaffolding condition (PS), each write-code problem came with an equivalent Parsons problem that a student could open if stuck. They still had to retype the solution rather than paste it. The Parsons problems were built from the most common student solution to the same task in earlier semesters, found with the OverCode software, with paired distractor blocks showing common mistakes and a “Help Me” button that, after at least three attempts, removed a distractor or merged two blocks. The no-scaffolding group (NP) had only the write-code window. Of 134 students who took part, 89 finished everything: 41 in PS and 48 in NP. Students on average said they knew the topic but had not yet used it confidently in a program.

What happened

The authors split students at each condition into higher and lower CS self-efficacy.

GroupPractice score (median, of 40)Problem-solving efficiency (median)Posttest
Low self-efficacy, with Parsons help (21 students)20.01.3no significant difference
Low self-efficacy, no help (26 students)00
High self-efficacy, with help (20)20.01.5no significant difference
High self-efficacy, no help (22)22.51.2

Efficiency is the practice score divided by minutes of practice. For low self-efficacy students the gap in practice score and efficiency was statistically significant (p < .001), whereas among high self-efficacy students there was no significant difference in either. Posttest scores did not differ significantly for any group. The authors think confident students persevere with or without help, while without help the task seemed hopeless to low-confidence students, who gave up quickly. The posttest may be unmoved because writing code for a brand-new concept from scratch is so hard and four practice problems are few.

Stacked bar chart of Parsons scaffolding usefulness ratings for each practice problem.

Figure 4 of the paper (CC BY 4.0): students’ ratings of how useful the Parsons scaffolding was, for each problem.

How students used the help

Students with lower CS self-efficacy were more likely to solve the Parsons problems: on average students solved the Parsons problem for 35% of the practice problems (SD 38%), and the more confident the student, the less often. The “effective scaffolding rate” is the share of Parsons uses that ended with the write-code problem completed, 51% on average (SD 40%). It was not related to self-efficacy, but it was linked to prior knowledge (r = .40, p = .014): students who already knew more about classes used the help better.

Where help failed, the authors looked at 47 cases. In 26 the student only scanned the Parsons blocks, and 24 of those final submissions did not compile. In 15 the student completed the Parsons problem and still failed; six of the 12 who typed code wrote single underscores instead of double on __init__ or __str__. Two completed it wrongly, and the rest tried to move blocks and could not finish.

Most students rated the scaffolding helpful, and 29 of 41 PS students explained their rating. Of the 19 who explained how it helped, some said it made the problem easier while still teaching them, some said it showed problem-solving strategies, and nine valued refining what they already knew. Others found it frustrating when the topic was entirely new.

What the authors suggest

Make Parsons help adaptive and personal: set its difficulty by a student’s submission history, base it on the student’s own incorrect code, with paired distractors targeting their errors, and add explanations or prompts for self-explanation. An “AutoFill” button might help students who finish the Parsons problem but see no need to retype it. The study covers one topic at one university and relies on self-rated prior knowledge, and it did not ask students who skipped the help why they did. The authors plan to try other languages and settings and to automate building Parsons problems from student submissions and large language models.

Sources

코멘트

Spinner Logo

과학 관련 글 더 보기

작성: Hub Nexus editors
Top 10 in AI, week of 26 October 2026
작성: Hub Nexus editors
Top 10 in AI, week of 19 October 2026
작성: Hub Nexus editors
Top 10 in AI, week of 12 October 2026
작성: Hub Nexus editors
Top 10 in AI, week of 2 November 2026