• DocumentCode
    402544
  • Title

    Do class comments aid Java program understanding?

  • Author

    Nurvitadhi, Eriko ; Leung, Wing Wah ; Cook, Curtis

  • Author_Institution
    Oregon State Univ., Corvallis, OR, USA
  • Volume
    1
  • fYear
    2003
  • fDate
    5-8 Nov. 2003
  • Abstract
    This paper describes an experiment that investigates the effects of class and method comments on Java program understanding among beginning programmers. Each of the 103 students from CS1 class at Oregon Slate University was given one of four versions (no comments, only method comments, only class comments, and both method and class comments) of a Java database program and answered questions about the program. The results indicated that method comments do increase low-level program understanding, while class comments did not increase high-level understanding. This raises questions about the role of class comments in object-oriented programs, as well as the kind of commenting guidelines that should be used in teaching CS1 classes.
  • Keywords
    Java; computer science education; Java program; class comments; database program; method comments; object-oriented programs; program understanding; Books; Databases; Debugging; Guidelines; Java; Programming profession; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Frontiers in Education, 2003. FIE 2003 33rd Annual
  • ISSN
    0190-5848
  • Print_ISBN
    0-7803-7961-6
  • Type

    conf

  • DOI
    10.1109/FIE.2003.1263332
  • Filename
    1263332