From video games to debugging code

被引:0
|
作者
Deitz, Sean [1 ]
Buy, Ugo [1 ]
机构
[1] Univ Illinois, Dept Comp Sci, Chicago, IL 60607 USA
关键词
Software education; program debugging; program visualization;
D O I
10.1145/2896958.2896964
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Novice programmers often struggle with many concepts underlying computer programming. The concept of a program variable that is, a named storage location is a centerpiece of the programming languages typically taught in introductory computer science courses including C, Java, JavaScript, Python, and C++. However, to date empirical studies suggest that misinterpretation of the state of a program remains a primary source of errors by novice programmers. We address this challenge by defining a game-based approach to interactive program debugging and by emphasizing the concept of program state in our approach. We specifically chose the metaphor of the popular "Space Invaders" videogame to provide a visual interpretation that reinforces the notion of program state in a way likely to be attractive to college students majoring in computer science. Our visualization technique and the resulting toolset are intended to steer students toward a debugging mindset centered on read and write operations of program variables. Here we discuss the key aspects of our game-based debugging approach. We also report preliminary results from field studies with actual college students who used our toolset to debug simple programs in which we injected faults.
引用
收藏
页码:37 / 41
页数:5
相关论文
共 50 条
  • [21] FRENCH AND HISTORY, FROM SCHOOL TO VIDEO GAMES
    Malaurie, Guillaume
    HISTORIA, 2019, (869): : 14 - 18
  • [22] Handling code displacements in the debugging of optimised programs
    Shu, WS
    CARI'96 - PROCEEDINGS OF THE 3RD AFRICAN CONFERENCE ON RESEARCH IN COMPUTER SCIENCE, 1996, : 854 - 863
  • [23] DEBUGGING CODE REORGANIZED BY A TRACE SCHEDULING COMPILER
    GUPTA, R
    STRUCTURED PROGRAMMING, 1990, 11 (03): : 141 - 150
  • [24] Video Games
    不详
    SIGHT AND SOUND, 2023, 33 (04): : 51 - 51
  • [25] Video games
    Curry, Patrick
    TLS-THE TIMES LITERARY SUPPLEMENT, 2015, (5876): : 6 - 6
  • [26] VIDEO GAMES
    WALKER, J
    FORTUNE, 1982, 106 (12) : 21 - 21
  • [27] Recovery from work by playing video games
    Kocak, Omer Erdem
    Gorgievski, Marjan
    Bakker, Arnold B.
    APPLIED PSYCHOLOGY-AN INTERNATIONAL REVIEW-PSYCHOLOGIE APPLIQUEE-REVUE INTERNATIONALE, 2024, 73 (03): : 1331 - 1360
  • [28] The Argument from Extreme Difficulty in Video Games
    Artis, Aderemi
    JOURNAL OF AESTHETICS AND ART CRITICISM, 2021, 79 (01): : 64 - 75
  • [29] Video games
    Gallagher, L
    FORBES, 2001, 168 (04): : 98 - 100
  • [30] The video games
    Belli, Simone
    Olive, Sara
    ATHENEA DIGITAL, 2008, (13): : 285 - 290