A Support System for Programming Exercises Using Test-first Approach

Kana Suetake, Takafumi Tanaka
{"title":"A Support System for Programming Exercises Using Test-first Approach","authors":"Kana Suetake, Takafumi Tanaka","doi":"10.1109/IIAIAAI55812.2022.00044","DOIUrl":null,"url":null,"abstract":"In programming exercises for novice learners, the learners often satisfied with that their programs ‘work’ at a first glance, and they neglect to test the programs work properly. Making test cases and modifying programs are necessary training for the learners to comprehend behavior of the programs. Therefore, we propose a method for learning programming using test-first approach and a system to support it. Test-first approach is an approach for programming that a programmer makes tests before making programs. Therefore, we decided to apply the approach to the exercises in order to get the learners in habit of testing their programs. The system supports the learners to make test cases and evaluate them. When a learner submits her/his test cases for a question, the system points out missing test cases and gives hints based on a correct answer by a teacher. When the learner submits her/his program, the system executes the tests made by the learner and the teacher and displays the results. This paper describes the method, system, and a preliminary experiment to evaluate the system.","PeriodicalId":156230,"journal":{"name":"2022 12th International Congress on Advanced Applied Informatics (IIAI-AAI)","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 12th International Congress on Advanced Applied Informatics (IIAI-AAI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IIAIAAI55812.2022.00044","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

In programming exercises for novice learners, the learners often satisfied with that their programs ‘work’ at a first glance, and they neglect to test the programs work properly. Making test cases and modifying programs are necessary training for the learners to comprehend behavior of the programs. Therefore, we propose a method for learning programming using test-first approach and a system to support it. Test-first approach is an approach for programming that a programmer makes tests before making programs. Therefore, we decided to apply the approach to the exercises in order to get the learners in habit of testing their programs. The system supports the learners to make test cases and evaluate them. When a learner submits her/his test cases for a question, the system points out missing test cases and gives hints based on a correct answer by a teacher. When the learner submits her/his program, the system executes the tests made by the learner and the teacher and displays the results. This paper describes the method, system, and a preliminary experiment to evaluate the system.
使用测试优先方法的编程练习支持系统
在针对初学者的编程练习中,初学者常常满足于他们的程序第一眼就能“工作”,而忽略了测试程序是否正常工作。编写测试用例和修改程序是对学习者理解程序行为的必要训练。因此,我们提出了一种使用测试优先方法学习编程的方法和一个支持它的系统。测试优先方法是程序员在编写程序之前进行测试的一种编程方法。因此,我们决定将这种方法应用到练习中,以使学习者习惯于测试他们的程序。该系统支持学习者制作测试用例并对其进行评估。当学习者提交一个问题的测试用例时,系统会指出缺失的测试用例,并根据老师的正确答案给出提示。当学习者提交她/他的程序时,系统执行学习者和教师所做的测试并显示结果。本文介绍了该系统的方法、系统和初步实验。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信