摘 要: C语言课程中有众多的算法,各种算法抽象且难以理解。如果能把几个重要的算法以具体的图形来呈 现,则对于算法的理解掌握更为容易。本文主要介绍了在C语言课程中进行几种算法的可视化图形呈现。具体来说,即 在C语言编译环境中安装插件easyX以获得可视化图形。通过几种算法的可视化编程,产生具体直观的图形图像。透过 这种算法和图形相结合的形式,激发了学生对学习C语言的热情,同时加深了学生对算法的理解。 |
关键词: easyX;可视化教学;斐波那契数列;笛卡尔函数 |
中图分类号: TP399
文献标识码: A
|
基金项目: 本文系2018年河池学院科研项目“基于EasyX的C语言图形绘制研究”(项目编号:2018XJQN008). |
|
Visual Teaching of Algorithms by Using easyX in the C Language Course |
YIN Lanlan,MO Feng,XIONG Shuiping
|
( College of Computer and Information Engineering, Hechi University, Hechi 546300, China)
|
Abstract: Many algorithms in C language are abstract and difficult to understand.Several important algorithms will be much easier to understand if presented in specific graphics.This paper describes the visual teaching of the algorithms in C language and proposes to install easyX software in C language compiler environment to obtain the graphics of algorithms.The visual programming of algorithms stimulates students' enthusiasm for learning C language and deepens the understanding of the algorithms. |
Keywords: easyX;visual teaching;Fibonacci sequence;Cartesian function |