Abstract:
递归算法是教学中的难点。为了更好地帮助学生理解递归调用的过程,必须要构建形象直观的案例。本文采用Python语言的Turtle画图方法来绘制分形图,并通过分形图来形象地阐述递归函数的执行过程,学生可从图形的生成过程看出递归函数的执行顺序。实践结果表明,采用该案例获得了很好的教学效果。
Keyword:
Reprint 's Address:
Email:
Version:
Source :
福建电脑
ISSN: 1673-2782
CN: 35-1115/TP
Year: 2022
Issue: 09
Volume: 38
Page: 67-70
Cited Count:
SCOPUS Cited Count:
ESI Highly Cited Papers on the List: 0 Unfold All
WanFang Cited Count:
Chinese Cited Count:
30 Days PV: 2
Affiliated Colleges: