Foundations First: Improving C's Viability in Introductory Programming Courses with the Debugging C Compiler

Andrew Taylor, J. Renzella, Alexandra Vassar
{"title":"Foundations First: Improving C's Viability in Introductory Programming Courses with the Debugging C Compiler","authors":"Andrew Taylor, J. Renzella, Alexandra Vassar","doi":"10.1145/3545945.3569768","DOIUrl":null,"url":null,"abstract":"This paper presents the Debugging C Compiler (DCC), a system that composes a suite of compilers with static and dynamic analysis tools to support introductory C programming students. Using C in our introductory computing courses exposes students to low-level mechanics of the operating system, such as pointers and manual memory management - concepts critical in establishing a solid foundation of computing. Unlike typical C implementations, DCC provides programmers with enhanced, approachable run- and compile-time checking and messages. DCC clarifies C's cryptic operating system errors such as segmentation faults and alleviates the need for students to analyse memory dumps and tackle undefined behaviours. This paper describes DCC's implementation and features, and measures the tool's efficacy in aiding novice C programmers. We further present our deep reflections as to how DCC has enabled us to continue to use C in our large introductory programming courses, with an estimated five million compilations to date. Our research also outlines avenues for future work, which we hope will support others in delivering a foundations-first approach to introductory programming.","PeriodicalId":371326,"journal":{"name":"Proceedings of the 54th ACM Technical Symposium on Computer Science Education V. 1","volume":"10 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-03-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 54th ACM Technical Symposium on Computer Science Education V. 1","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3545945.3569768","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

This paper presents the Debugging C Compiler (DCC), a system that composes a suite of compilers with static and dynamic analysis tools to support introductory C programming students. Using C in our introductory computing courses exposes students to low-level mechanics of the operating system, such as pointers and manual memory management - concepts critical in establishing a solid foundation of computing. Unlike typical C implementations, DCC provides programmers with enhanced, approachable run- and compile-time checking and messages. DCC clarifies C's cryptic operating system errors such as segmentation faults and alleviates the need for students to analyse memory dumps and tackle undefined behaviours. This paper describes DCC's implementation and features, and measures the tool's efficacy in aiding novice C programmers. We further present our deep reflections as to how DCC has enabled us to continue to use C in our large introductory programming courses, with an estimated five million compilations to date. Our research also outlines avenues for future work, which we hope will support others in delivering a foundations-first approach to introductory programming.
基础第一:通过调试C编译器提高C在编程入门课程中的可行性
本文介绍了调试C编译器(Debugging C Compiler, DCC),它是一个包含静态和动态分析工具的编译器套件,用于支持C编程入门学生。在我们的计算机入门课程中使用C可以让学生了解操作系统的底层机制,例如指针和手动内存管理——这些概念对于建立坚实的计算基础至关重要。与典型的C实现不同,DCC为程序员提供了增强的、可接近的运行时和编译时检查和消息。DCC澄清了C的隐式操作系统错误,如分段错误,减轻了学生分析内存转储和处理未定义行为的需要。本文描述了DCC的实现和特点,并测量了该工具在帮助新手C程序员方面的有效性。我们进一步提出了关于DCC如何使我们能够继续在我们的大型入门编程课程中使用C的深刻思考,迄今为止估计有500万次编译。我们的研究还概述了未来工作的途径,我们希望这将支持其他人为入门编程提供基础优先的方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信