Applying Gamification to Motivate Students to Write High-Quality Code in Programming Assignments

被引:20
作者
Kasahara, Remin [1 ]
Sakamoto, Kazunori [1 ]
Washizaki, Hironori [1 ]
Fukazawa, Yoshiaki [1 ]
机构
[1] Waseda Univ, Tokyo, Japan
来源
PROCEEDINGS OF THE 2019 ACM CONFERENCE ON INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION (ITICSE '19) | 2019年
关键词
programming education; code quality; code metrics; leaderboard; gamification; online judge;
D O I
10.1145/3304221.3319792
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Background: Traditional programming education focuses on training students' ability to write correct code that meets the specifications in programming assignments. In addition to correctness, software engineering studies argue that code quality is important. Problem: Nurturing students' ability to write high-quality code in programming assignments is difficult due to two main reasons. (1) Considering code quality while grading is undesirable because there are no objective and fair measurement metrics. (2) Grading assignments from multiple viewpoints (correctness and quality) is difficult and time-consuming. Approach: We propose applying gamification with code metrics to measure code quality in programming assignments. Our approach can motivate students to write code with good metric scores independent of grading. We implemented our approach and conducted a control experiment in a programming course at a university. Result: Our approach did not interfere with students' submissions but improved metric scores significantly. Hence, our approach can engage students to write high-quality code.
引用
收藏
页码:92 / 98
页数:7
相关论文
共 26 条
  • [1] A Gamified Tool for Motivating Developers to Remove Warnings of Bug Pattern Tools
    Arai, Satoshi
    Sakamoto, Kazunori
    Washizaki, Hironori
    Fukazawa, Yoshiaki
    [J]. 2014 6TH INTERNATIONAL WORKSHOP ON EMPIRICAL SOFTWARE ENGINEERING IN PRACTICE (IWESEP 2014), 2014, : 37 - 42
  • [2] Breuker D. M., 2011, P 16 ANN JOINT C INN, P13, DOI [10.1145/1999747.1999754, DOI 10.1145/1999747.1999754, 10.1145/1999747.1999754.]
  • [3] PROGRAM COMPLEXITY AND PROGRAMMER PRODUCTIVITY
    CHEN, ET
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1978, 4 (03) : 187 - 194
  • [4] A METRICS SUITE FOR OBJECT-ORIENTED DESIGN
    CHIDAMBER, SR
    KEMERER, CF
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (06) : 476 - 493
  • [5] Clark Richard E, 1988, ED MEDIA YB 1987 88, P327
  • [6] Deterding S., 2011, P 15 INT ACAD MINDTR, P9, DOI [DOI 10.1145/2181037.2181040, 10.1145/2181037.2181040]
  • [7] Glass G. V., 1976, Educational Researcher, V5, P3, DOI [10.3102/0013189x005010003, DOI 10.3102/0013189X005010003, 10.3102/0013189X005010003, 10.2307/1174772ISSN0536-1036]
  • [8] Hedges L. V., 2014, Statistical methods for meta-analysis
  • [9] Ihantola P., 2010, P 10 KOL CALL INT C, P86, DOI [https://doi.org/10.1145/1930464.1930480, DOI 10.1145/1930464.1930480]
  • [10] Khaleel Firas Layth, 2015, P EN CONV CENCON 201, P1, DOI 10.1145/2701126