首页> 外文会议>29th IEEE Conference on Software Engineering Education and Training >Tool-Assisted Loop Invariant Development and Analysis
【24h】

Tool-Assisted Loop Invariant Development and Analysis

机译:工具辅助的循环不变式开发和分析

获取原文
获取原文并翻译 | 示例

摘要

Identification of an adequate invariant is valuable for reasoning about the correctness of code involving a loop, informally or formally. Almost every modern system for automated verification demands that programmers annotate their code with assertions, such as invariants to facilitate automation. But many learners struggle to grasp how to arrive at an assertion that remains an invariant and is sufficiently strong to prove subsequent assertions reliant on the outcome of the loop. The objective of this research is to present a method to help understand the difficulties students face in developing suitable loop invariants, and assist them in the process. We describe results from an experimentation in a software engineering classroom where students were charged with developing verified component-based code using a web-based front end for a verifying compiler. We collected data in the background as students attempted to produce verified code with loop invariants in in-class activities and take-home projects. Initial results show what kinds of information we can expect to see and what kinds of feedback might be useful.
机译:识别足够的不变性对于推理涉及非正式或正式循环的代码的正确性非常有价值。几乎所有用于自动验证的现代系统都要求程序员使用断言(例如,不变量来促进自动化)来注释其代码。但是,许多学习者都在努力掌握如何得出仍然是不变且足够强大的断言,以证明随后的断言依赖于循环的结果。这项研究的目的是提供一种方法,以帮助理解学生在开发合适的循环不变式时遇到的困难,并在此过程中提供帮助。我们描述了在软件工程教室中进行的一项实验的结果,在该实验中,学生被要求使用用于验证的编译器的基于Web的前端开发经过验证的基于组件的代码。当学生尝试在课堂活动和带回家的项目中使用循环不变式生成经过验证的代码时,我们在后台收集了数据。初步结果表明,我们可以期望看到哪些信息以及可能有用的反馈。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号