arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.03565cs.LO
收藏

控制流跟踪练习的自动实例化

Automated Instantiation of Control Flow Tracing Exercises

Clemens Eisenhofer, Martin Riener

摘要:

学习编程的第一步是阅读和跟踪现有代码。为了避免生成跟踪练习的变体的容易出错的任务,我们的工具Tatsu自动生成给定代码骨架的实例。这是通过以有界模型检验的方式对程序进行有限展开并使用SMT求解器Z3来找到该展开程序的模型来实现的。

英文摘要:

One of the first steps in learning how to program is reading and tracing existing code. In order to avoid the error-prone task of generating variations of a tracing exercise, our tool Tatsu generates instances of a given code skeleton automatically. This is achieved by a finite unwinding of the program in the style of bounded model checking and using the SMT solver Z3 to find models for this unwinded program.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑