Quality assessing algorithm of solving programming problems

Aleksandr Sergeevich Fedorov, Elena Yurievna Avksentieva
{"title":"Quality assessing algorithm of solving programming problems","authors":"Aleksandr Sergeevich Fedorov, Elena Yurievna Avksentieva","doi":"10.24143/2072-9502-2024-1-100-108","DOIUrl":null,"url":null,"abstract":"The possibility of automating the qualitative assessment of solutions to programming problems in teaching secondary school students is considered. The currently existing methods of evaluating the solution of programming problems are considered, their advantages and disadvantages are highlighted. Based on the considered methods, the possibility of using the representation of the source code of the problem solution in the form of a semantic network for its further qualitative evaluation by machine methods is substantiated. The concept of the similarity function of two semantic web based on the program code is introduced. This function is defined as the ratio of the sum of the sizes of subgraphs composed of common elements of semantic webs to the sum of the sizes of thise semantic webs. The properties of the resulting function based on its definition are given, and an algorithm for calculating the similarity function created on the basis of the ISD algorithm. Various modifications of the specified algorithm and influence of each of them on the final result are considered. To test the algorithm's operability, an experiment was set up comparing various solutions for the problem of finding the maximum element, as well as comparing solutions for various tasks of the basic programming course with each other. The results of the experiment are presented in a summary table and allow us to justify the chosen modification of the algorithm for calculating the similarity function. The results also demonstrate the prospects of using this method to determine the competence of students in the programming language. As a side effect, the algorithm of qualitative evaluation of the program code based on its semantic web allows us to automaticly search for plagiarism of the program solution of the problem.","PeriodicalId":123666,"journal":{"name":"Vestnik of Astrakhan State Technical University. Series: Management, computer science and informatics","volume":"41 6","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-02-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Vestnik of Astrakhan State Technical University. Series: Management, computer science and informatics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.24143/2072-9502-2024-1-100-108","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The possibility of automating the qualitative assessment of solutions to programming problems in teaching secondary school students is considered. The currently existing methods of evaluating the solution of programming problems are considered, their advantages and disadvantages are highlighted. Based on the considered methods, the possibility of using the representation of the source code of the problem solution in the form of a semantic network for its further qualitative evaluation by machine methods is substantiated. The concept of the similarity function of two semantic web based on the program code is introduced. This function is defined as the ratio of the sum of the sizes of subgraphs composed of common elements of semantic webs to the sum of the sizes of thise semantic webs. The properties of the resulting function based on its definition are given, and an algorithm for calculating the similarity function created on the basis of the ISD algorithm. Various modifications of the specified algorithm and influence of each of them on the final result are considered. To test the algorithm's operability, an experiment was set up comparing various solutions for the problem of finding the maximum element, as well as comparing solutions for various tasks of the basic programming course with each other. The results of the experiment are presented in a summary table and allow us to justify the chosen modification of the algorithm for calculating the similarity function. The results also demonstrate the prospects of using this method to determine the competence of students in the programming language. As a side effect, the algorithm of qualitative evaluation of the program code based on its semantic web allows us to automaticly search for plagiarism of the program solution of the problem.
解决编程问题的质量评估算法
考虑了在中学生教学中自动对编程问题的解决方案进行定性评估的可能性。研究考虑了目前现有的编程问题解决方案评估方法,并强调了这些方法的优缺点。根据所考虑的方法,证实了使用语义网络形式表示问题解决方案源代码的可能性,以便通过机器方法进一步进行定性评估。引入了基于程序代码的两个语义网络的相似性函数概念。该函数被定义为由语义网的共同元素组成的子图的大小之和与这些语义网的大小之和的比值。本文给出了根据定义得出的函数的属性,以及基于 ISD 算法创建的计算相似性函数的算法。考虑了对指定算法的各种修改以及每种修改对最终结果的影响。为了测试算法的可操作性,我们进行了一次实验,比较了寻找最大元素问题的各种解决方案,以及基础编程课程中各种任务的解决方案。实验结果以汇总表的形式呈现,使我们能够证明所选择的计算相似度函数的算法修改是合理的。实验结果还证明了使用这种方法确定学生编程语言能力的前景。此外,基于语义网的程序代码定性评估算法还允许我们自动搜索问题程序解决方案的抄袭情况。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信