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 条
  • [1] From video games to debugging code
    Department of Computer Science, University of Illinois at Chicago, Chicago
    IL
    60607, United States
    [J]. Proc Int Conf Software Eng, 1600, (37-41):
  • [2] Cultural Code: Video Games and Latin America
    Potter, Sara
    [J]. REVISTA DE ESTUDIOS HISPANICOS, 2017, 51 (03): : 728 - 731
  • [3] Cultural Code: Video Games and Latin America
    King, Edward
    [J]. JOURNAL OF LATIN AMERICAN STUDIES, 2017, 49 (03) : 706 - 708
  • [4] Cultural Code: Video Games and Latin America
    Feinberg, Richard
    [J]. FOREIGN AFFAIRS, 2016, 95 (06) : 185 - 185
  • [5] CODE: DEBUGGING THE GENDER GAP
    Cass, Stephen
    [J]. IEEE SPECTRUM, 2015, 52 (07) : 25 - 25
  • [6] SYMBOLIC DEBUGGING OF OPTIMIZED CODE
    HENNESSY, J
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1982, 4 (03): : 323 - 344
  • [7] Taxing Facebook Code: Debugging the Tax Code and Software
    Xuan-Thao Nguyen
    Maine, Jeffrey A.
    [J]. BUFFALO LAW REVIEW, 2012, 60 (01): : 1 - 68
  • [8] DEBUGGING PARALLELIZED CODE USING CODE LIBERATION TECHNIQUES
    PINEO, PP
    SOFFA, ML
    [J]. SIGPLAN NOTICES, 1991, 26 (12): : 108 - 119
  • [9] Free supervision from video games
    Krahenbuhl, Philipp
    [J]. 2018 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2018, : 2955 - 2964
  • [10] Researchers profit from video games
    Studt, T
    [J]. R&D MAGAZINE, 2001, 43 (07): : 62 - 63