Nothing Special   »   [go: up one dir, main page]

skip to main content
article

Which pointer errors do students make?

Published: 07 March 2007 Publication History

Abstract

A model and a taxonomy to characterize pointer manipulations are introduced, along with an instrumentation technology that leverages them to provide students with immediate reports of pointer errors in C++ programs. Data collected from CS2 student assignments show that the vast majority of student pointer errors either would not have been noticed at all, or would have been detected only much later in execution, if this infrastructure were not used. Possible applications of the underlying technology--both to conduct long-term educational research into students' understanding of pointers, and to improve pedagogy directly--are discussed.

References

[1]
Anderson, P., and Anderson, G. Navigating C++ and Object-Oriented Design. Prentice Hall, Upper Saddle River, N.J.,1998.
[2]
Austin, T.M., Breach, S.E., and Sohi, G.S. Efficient Detection of All Pointer and Array Access Errors. Proceedings SIGPLAN '94, ACM, 1994, 290--301.
[3]
Cordy, J.A., Carmichael, I.H., and Halliday, R. The TXL Programming Language, Version 10.4. Viewed 6 Sept 2006 at http://www.txl.ca/docs/TXL104ProgLang.pdf.
[4]
Kumar, A.N. A Reified Interface for a Tutor on Program Debugging. Proceedings Third IEEE International Conference on Advanced Learning Technologies, IEEE, 2003, 190--194.
[5]
Pike, S.M., Weide, B.W., and Hollingsworth, J.E. Checkmate: Cornering C++ Dynamic Memory Errors With Checked Pointers. Proceedings of the 31st SIGCSE Technical Symposium on Computer Science Education, ACM Press, 2000, 352--356.
[6]
Postner, L., and Turns, J. Using Facet-Based Assessment to Understand Introductory Programming Students' Knowledge. Proceedings 32nd ASEE/IEEE Frontiers in Education Conference, IEEE, 2002, T4G7-T4G11.
[7]
Stroustrup, B. The C++ Programming Language (3rd edition). Addison Wesley Longman, Reading, MA, 1997.
[8]
U.S. Department of Health and Human Services. Office for Human Research Protections (OHRP). Viewed 6 Sept 2006 at http://www.hhs.gov/ohrp.
[9]
Van Scoy, F.L. The Reid List of the First Course Language for Computer Science Majors. Viewed 6 Sept 2006 at http://www.csee.wvu.edu~vanscoy/reid.htm.

Cited By

View all
  • (2022)THE IMPACT OF COMBINING FOLLOW-UP QUESTIONS AND WORKED EXAMPLES IN PROGRAM VISUALIZATION TOOL ON IMPROVING STUDENTS’ HELD MENTAL MODELS OF POINTERS’ VALUE AND ADDRESS ASSIGNMENTEducation & Pedagogy Journal10.23951/2782-2575-2022-2-53-64(53-64)Online publication date: 30-Dec-2022
  • (2016)Student difficulties with pointer concepts in CProceedings of the Australasian Computer Science Week Multiconference10.1145/2843043.2843348(1-10)Online publication date: 1-Feb-2016
  • (2014)Assessing the Impact of Meta-Cognitive Training on Students' Understanding of Introductory Programming ConceptsJournal of Educational Computing Research10.2190/EC.50.4.d50:4(507-524)Online publication date: 24-Sep-2014
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM SIGCSE Bulletin
ACM SIGCSE Bulletin  Volume 39, Issue 1
March 2007
581 pages
ISSN:0097-8418
DOI:10.1145/1227504
Issue’s Table of Contents
  • cover image ACM Conferences
    SIGCSE '07: Proceedings of the 38th SIGCSE technical symposium on Computer science education
    March 2007
    634 pages
    ISBN:1595933611
    DOI:10.1145/1227310
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: 07 March 2007
Published in SIGCSE Volume 39, Issue 1

Check for updates

Author Tags

  1. C++
  2. CS2
  3. data structures
  4. linked list
  5. pointers
  6. references

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)17
  • Downloads (Last 6 weeks)8
Reflects downloads up to 14 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2022)THE IMPACT OF COMBINING FOLLOW-UP QUESTIONS AND WORKED EXAMPLES IN PROGRAM VISUALIZATION TOOL ON IMPROVING STUDENTS’ HELD MENTAL MODELS OF POINTERS’ VALUE AND ADDRESS ASSIGNMENTEducation & Pedagogy Journal10.23951/2782-2575-2022-2-53-64(53-64)Online publication date: 30-Dec-2022
  • (2016)Student difficulties with pointer concepts in CProceedings of the Australasian Computer Science Week Multiconference10.1145/2843043.2843348(1-10)Online publication date: 1-Feb-2016
  • (2014)Assessing the Impact of Meta-Cognitive Training on Students' Understanding of Introductory Programming ConceptsJournal of Educational Computing Research10.2190/EC.50.4.d50:4(507-524)Online publication date: 24-Sep-2014
  • (2007)Students' understandings of storing objectsProceedings of the Seventh Baltic Sea Conference on Computing Education Research - Volume 8810.5555/2449323.2449337(127-135)Online publication date: 15-Nov-2007
  • (2024)Tartare: Automatic Generation of C Pointer Statements and FeedbackProceedings of the 26th Australasian Computing Education Conference10.1145/3636243.3636264(192-201)Online publication date: 29-Jan-2024
  • (2023)Common C++ Pointer Misconceptions: Essence and TreatmentJournal of Computing Sciences in Colleges10.5555/3636988.363700739:3(76-85)Online publication date: 1-Oct-2023
  • (2023)An Object Tuple Model for Understanding Pointer and Array in C LanguageIEEE Transactions on Education10.1109/TE.2023.323602766:4(318-329)Online publication date: Aug-2023
  • (2020)An evaluation of SeeC: a tool designed to assist novice C programmers with program understanding and debuggingComputer Science Education10.1080/08993408.2020.177703431:3(340-373)Online publication date: 21-Jun-2020
  • (2019)If Memory ServesProceedings of the 2019 ACM Conference on Innovation and Technology in Computer Science Education10.1145/3304221.3325550(241-242)Online publication date: 2-Jul-2019
  • (2018)If Memory ServesProceedings of the 2017 ITiCSE Conference on Working Group Reports10.1145/3174781.3174783(25-46)Online publication date: 30-Jan-2018
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media