Analysis of algorithms as a teaching experience

D. Merlini
{"title":"Analysis of algorithms as a teaching experience","authors":"D. Merlini","doi":"10.5206/mt.v3i2.15664","DOIUrl":null,"url":null,"abstract":"Teaching analysis of algorithms to students in Computer Science degrees, using the approach popularized by Knuth in his series of books ``The Art of Computer Programming\" and later by Sedgewick and Flajolet in the book ``An Introduction to the Analysis of Algorithms\", is not a simple task since, in general, these students are more interested in the implementation of an algorithm than in the corresponding theoretical aspects. This approach concentrates on precisely characterizing the performance of algorithms by determining their best, worst and average case performance using a methodology based on symbolic tools such as recurrence relations and generating functions.The most difficult aspect is to understand the average case since this corresponds to studying the algorithm as its possible inputs vary: this represents the most important goal since generally students have no difficulty in understanding the best and worst cases, corresponding to particular input configurations.A compromise that has been successful over the years consists in teaching students the analytical aspects of the problem and then organize a simulation of the algorithm with a system of symbolic computation in order to precisely check the theoretical results.","PeriodicalId":355724,"journal":{"name":"Maple Transactions","volume":"3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-08-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Maple Transactions","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5206/mt.v3i2.15664","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Teaching analysis of algorithms to students in Computer Science degrees, using the approach popularized by Knuth in his series of books ``The Art of Computer Programming" and later by Sedgewick and Flajolet in the book ``An Introduction to the Analysis of Algorithms", is not a simple task since, in general, these students are more interested in the implementation of an algorithm than in the corresponding theoretical aspects. This approach concentrates on precisely characterizing the performance of algorithms by determining their best, worst and average case performance using a methodology based on symbolic tools such as recurrence relations and generating functions.The most difficult aspect is to understand the average case since this corresponds to studying the algorithm as its possible inputs vary: this represents the most important goal since generally students have no difficulty in understanding the best and worst cases, corresponding to particular input configurations.A compromise that has been successful over the years consists in teaching students the analytical aspects of the problem and then organize a simulation of the algorithm with a system of symbolic computation in order to precisely check the theoretical results.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
使用Knuth在他的《计算机程序设计艺术》系列书中推广的方法,以及后来由Sedgewick和Flajolet在《算法分析入门》一书中推广的方法,向计算机科学学位的学生教授算法分析并不是一项简单的任务,因为一般来说,这些学生对算法的实现比相应的理论方面更感兴趣。该方法通过使用基于递归关系和生成函数等符号工具的方法,确定算法的最佳、最差和平均情况性能,从而精确地表征算法的性能。最困难的方面是理解平均情况,因为这对应于在可能的输入变化时研究算法:这代表了最重要的目标,因为通常学生在理解对应于特定输入配置的最佳和最差情况方面没有困难。多年来,一种成功的折衷方法是,先教学生分析问题,然后用符号计算系统对算法进行模拟,以便精确地检查理论结果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Probability distributions arising from isoperimetric random triangles Two-cycles in the Infinite Exponential Tower Articles, software, data: An Open Science ethological study Editor's Corner December 2023 On the Certification of the Kinematics of 3-DOF Spherical Parallel Manipulators
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1