The paper proposes a learning tool for multi-threaded programs that uses enhanced trace tables. The tool is designed to help students understand the execution order of instructions and the transitions of variable values accessed by multiple threads.
The key features of the tool include:
Selection Question: Learners select the trace that corresponds to the given source code and its output, with four choices presented and only one correct answer.
Fill-in-the-Blank: Learners input the transitions of specified variable values in an enhanced trace table, which combines traces and variable value input fields to facilitate visual understanding of the execution order between threads.
Answer Checking: The tool provides feedback on the correctness of the learner's answers, highlighting incorrect inputs and emphasizing the events that update the specified variable values.
The paper also presents the results of an experiment conducted with 10 participants, divided into an experimental group using the enhanced trace table and a control group using a text-based trace. The results show no significant difference in the test results before and after learning, nor in the learning effectiveness between the two groups. However, a significant difference was found in the learning time, with the experimental group taking less time than the control group.
The proposed tool aims to improve the learning of multi-threaded programming concepts and the debugging process for students.
In eine andere Sprache
aus dem Quellinhalt
arxiv.org
Wichtige Erkenntnisse aus
by Takumi Murat... um arxiv.org 09-26-2024
https://arxiv.org/pdf/2409.16700.pdfTiefere Fragen