摘要
由于计算机程序运行过程具有不可见性,教师运用绘图讲解的方法很难清晰地描述其参数的动态变化过程,学生也较难理解各传参方式的工作机制,致使函数传参问题成为教师教和学生学的痛点。一般来说传参方式共有四种,但目前还没有能同时支持这四种方式的编程语言。为了满足不同编程语言学习者的需求,利用虚拟仿真技术构建了通用的函数传参线上实验教学系统。其中,虚拟仿真模块可根据录入的参数值和传参方式,模拟展示函数伪代码运行时计算机内存的动态变化,让传参过程变得直观可见,便于学生理解函数传参的工作机制;基础实验训练、拓展实验提高和测试拔高等模块对教学目标的达成均起相应的辅助作用。教学实践结果显示,该方法能有效调动学生学习的积极性和主动性,在辅助学生掌握函数传参知识方面有明显成效。
The operating process of the computer program is invisible,so it is difficult for teachers to describe the process of the parameter transfer clearly by the method of drawing explanation,and for students to understand the working mechanism of the parameter passing,which makes the problem of function parameter passing a pain point for teachers and students.Generally,there are four methods of the function parameter transfer,but no programming language can support all four methods at the same time.To meet the needs of learners of different programming languages,a universal online experimental teaching system for the function parameter passing is constructed based on virtual simulation technology.In the virtual simulation module,the dynamic changes of computer memory could be simulated and displayed when the function pseudo-code is running according to the input parameter values and parameter passing mode,so that the parameter transfer process becomes intuitive and easy for students to understand the working mechanism of function parameter passing.Moreover,the modules of the basic experiment training,extended experiment improvement and test enhancement play an auxiliary role in the achievement of teaching objectives.The results of teaching practice show that the method can effectively mobilize students’enthusiasm and initiative in learning,and has obvious results in assisting students to master the knowledge of function parameter passing.
作者
田胜利
胡涛
杜根远
Tian Shengli;Hu Tao;Du Genyuan(Xuchang University,Xuchang,Heann 461000,China)
出处
《漯河职业技术学院学报》
2024年第3期28-32,共5页
Journal of Luohe Vocational Technical College
基金
河南省终身教育专项课题(豫教〔2022〕45742)
许昌学院教育教学改革类项目(XCU2022-YB-38)。
关键词
虚拟仿真
函数传参
实验教学
OBE
virtual simulation
function parameter passing
experimental teaching
OBE