skip to main content
10.1145/1930464.1930485acmotherconferencesArticle/Chapter ViewAbstractPublication Pageskoli-callingConference Proceedingsconference-collections
research-article

A detector for non-literal Java errors

Published:28 October 2010Publication History

ABSTRACT

Novice programmers typically have problems diagnosing errors in their programs. This difficulty may be attributed in part to non-literal error messages, i.e. compiler-reported errors that do not match the actual error. Through the analysis of compilation logs, we determined the errors frequently committed by novice programmers. We then developed a detector that checks novice student code for these non-literal errors and produces more informative error reports.

References

  1. M. Ahmadzadeh, D. Elliman, and C. Higgins. An analysis of patterns of debugging among novice computer science students. In ITiCSE '05: Proceedings of the 10th annual SIGCSE conference on Innovation and technology in computer science education, pages 84--88, New York, NY, USA, 2005. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. N. Coull, I. Duncan, J. Archibald, and G. Lund. Helping novice programmers interpret compiler error messages. In 4th Annual LTSN-ICS Conference. National University of Ireland, Galway. (August, 2003), pages 26--28.Google ScholarGoogle Scholar
  3. C. Csallner and Y. Smaragdakis. Check 'n' crash: combining static checking and testing. In ICSE '05: Proceedings of the 27th international conference on Software engineering, pages 422--431, New York, NY, USA, 2005. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. T. T. Dy, E. J. D. Robles, and M. M. T. Rodrigo. Detection of non-literal java errors in an introductory programming class. In 2010 Philippine Computing Society Congress, Ateneo de Davao, 2010.Google ScholarGoogle Scholar
  5. A. Ebrahimi, D. Kopec, and C. Schweikert. Taxonomy of novice programming errors with plan, web, and object solutions. ACM, Computing Surveys, December 2006.Google ScholarGoogle Scholar
  6. M. Hristova, A. Misra, M. Rutter, and R. Mercuri. Identifying and correcting java programming errors for introductory computer science students. In SIGCSE '03: Proceedings of the 34th SIGCSE technical symposium on Computer science education, pages 153--156, New York, NY, USA, 2003. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. M. C. Hughes, M. C. Jadud, and M. M. T. Rodrigo. Novice programmer strategies for string formatting. Unpublished.Google ScholarGoogle Scholar
  8. M. Jadud. Methods and tools for exploring novice compilation behaviour. In Proceedings of the second international workshop on Computing education research, pages 73--84. ACM New York, NY, USA, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. W. Johnson. Understanding and debugging novice programs. Artificial Intelligence and Learning Environments, MIT Press, Cambridge, MA, pages 51--97, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. W. L. Johnson and E. Soloway. Proust: Knowledge-based program understanding. In ICSE '84: Proceedings of the 7th international conference on Software engineering, pages 369--380, Piscataway, NJ, USA, 1984. IEEE Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. L. Murphy, G. Lewandowski, R. McCauley, B. Simon, L. Thomas, and C. Zander. Debugging: the good, the bad, and the quirky -- a qualitative analysis of novices' strategies. In SIGCSE '08: Proceedings of the 39th SIGCSE technical symposium on Computer science education, pages 163--167, New York, NY, USA, 2008. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. M. M. T. Rodrigo, E. Tabanao, M. B. E. Lahoz, and M. C. Jadud. Analyzing online protocols to characterize novice java programmers. Philippine Journal of Science, 138(2):177--199, 2009.Google ScholarGoogle Scholar
  13. N. Truong, P. Roe, and P. Bancroft. Static analysis of students' java programs. In ACE '04: Proceedings of the sixth conference on Australasian computing education, pages 317--325, Darlinghurst, Australia, Australia, 2004. Australian Computer Society, Inc. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A detector for non-literal Java errors

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Other conferences
          Koli Calling '10: Proceedings of the 10th Koli Calling International Conference on Computing Education Research
          October 2010
          125 pages
          ISBN:9781450305204
          DOI:10.1145/1930464

          Copyright © 2010 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 28 October 2010

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate80of182submissions,44%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader