检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:孙杰 杨洁 党元晓 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[文化科学—教育学]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.229