首页    期刊浏览 2025年06月29日 星期日
登录注册

文章基本信息

  • 标题:Creating and Visualizing Test Data from Programming Exercises
  • 本地全文:下载
  • 作者:Petri IHANTOLA
  • 期刊名称:Informatics in Education
  • 印刷版ISSN:1648-5831
  • 出版年度:2007
  • 卷号:6
  • 期号:1
  • 页码:81-102
  • 出版社:Institute of Mathematics and Informatics
  • 摘要:

    Automatic assessment of programming exercises is typically based on testing approach. Most automatic assessment frameworks execute tests and evaluate test results automatically, but the test data generation is not automated. No matter that automatic test data generation techniques and tools are available.

    We have researched how the Java PathFinder software model checker can be adopted to the specific needs of test data generation in automatic assessment. Practical problems considered are: how to derive test data directly from students' programs (i.e., without annotation) and how to visualize and how to abstract test data automatically for students? Interesting outcomes of our research are that with minor refinements generalized symbolic execution with lazy initialization (a test data generation algorithm implemented in PathFinder) can be used to construct test data directly from students' programs without annotation, and that intermediate results of the same algorithm can be used to provide novel visualizations of the test data.

  • 关键词:automatic assessment; programming exercises; testing; test-data; software visualiza-\allowbreak tion; computer science education
国家哲学社会科学文献中心版权所有