首页    期刊浏览 2025年02月22日 星期六
登录注册

文章基本信息

  • 标题:Tool-Aided Learning of Code Reasoning with Abstraction in the CS Curriculum
  • 本地全文:下载
  • 作者:Megan FOWLER ; Jason HALLSTROM ; Joseph HOLLINGSWORTH
  • 期刊名称:Informatics in Education
  • 印刷版ISSN:1648-5831
  • 出版年度:2021
  • 卷号:20
  • 期号:4
  • 页码:533-566
  • DOI:10.15388/infedu.2021.24
  • 语种:English
  • 出版社:Institute of Mathematics and Informatics
  • 摘要:Computer science students often evaluate the behavior of the code they write by running it on specific inputs and studying the outputs, and then apply their comprehension to a more general understanding of the code. While this is a good starting point in the student’s career, successful graduates must be able to reason analytically about the code they create or encounter. They must be able to reason about the behavior of the code on arbitrary inputs, without running the code. ion is central for such reasoning.In our quest to help students learn to reason ly and develop logically correct code, we have developed tools that rely on a verification engine. Code involves assignment, conditional, and loop statements, along with objects and operations. Reasoning activities involve symbolic reasoning with simple assertions and design-by-contract assertions such as pre-and post-conditions as well as loop invariants with data ions. Students progress from tracing and reading code to the design and implementation of code, all relying on ion for verification. This paper reports some key results and findings from associated studies spanning several years.
  • 关键词:abstraction;design by contract;online tool;software engineering;symbolic reasoning
国家哲学社会科学文献中心版权所有