基于Animate的循环嵌套演示动画设计与开发  

Design and Development of Nested Loop Demo Animation Based on Animate

在线阅读下载全文

作  者:孙杰 杨洁 党元晓 Sun Jie;Yang Jie;Dang Yuanxiao(Changji University,Changji 831100)

机构地区:[1]昌吉学院,昌吉831100

出  处:《现代计算机》2022年第20期112-116,共5页Modern Computer

基  金:新疆科技厅自然科学基金面上项目(2022D01C03)。

摘  要:循环嵌套结构是一种重要的程序设计方法,为形象展示其执行流程,使用ActionScript编写循环嵌套运行过程动画。制作时将循环体执行一次的过程形象化为MovieClip元件沿固定路径运动一周的动画,内循环则抽象为嵌入外循环路径动画中的动画。同时,使用输入文本控制内外层循环次数,实现不同的循环嵌套结构。在C语言和Java程序设计课程教学实践中运用该演示动画后,对学生进行课堂测试和章节测试,结果表明学生循环嵌套结构程序设计的能力显著提升。The nested loop structure is an important programming method. In order to visually show its executive process, we designed the animation of running process of nested loop by using ActionScript.When we made, the process of executing the loop body once was visualized as an animation in which the MovieClip element moved along a fixed path for a circle, the inner loop is abstracted as an animation embedded in the outer loop path animation.Meanwhile, the input text is used to control the number of inner and outer loops to realize different loop nesting structures. We used the demo animation in the teaching C language and Java programming course, after classroom test and chapter test showed that the students’ ability of nested loop structure programming was significantly improved.

关 键 词:循环嵌套 执行过程 元件 路径动画 循环次数 

分 类 号:G642[文化科学—高等教育学] TP312-4[文化科学—教育学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象