摘要
编程模式是指在代码中重复出现且具有结构意义的代码片段,准确识别高中程序设计所需的编程模式有助于教师把握编程教学的重点和途径,提升编程课程的教学效果。当前的编程教学研究鲜有关注编程模式对编程教学的意义,也未有研究明确高中编程教学中的编程模式内容和数量。为此,研究依据编程模式的结构特点,采用序列模式挖掘方法自动识别了高中阶段编程教学涉及的编程模式,并进行了有效性验证。结果表明,从现行高中信息技术课程必修“程序设计”模块识别的共计18种编程模式涉及多种基础知识点的复合应用,能够有效扩展编程教材中的教学知识范畴。研究还进一步阐述了编程模式的实践教学价值,并从教学内容、教学方法、教学资源三个方面给出了利用编程模式实施编程能力培养的具体方法。
Code idioms refer to structurally meaningful code fragments that appear repeatedly in the code.Accurately identifying code idioms required for high school programming helps teachers grasp the key points and methods of programming teaching as well as enhance the effect of programming teaching.Current research on programming teaching rarely pays attention to the significance of code idioms to programming teaching,and there is no research clarifying the content and quantity of code idioms in high school programming teaching.Therefore,based on the structual features of code idioms,this research uses sequential pattern mining(PrefixSpan)to automatically identify the code idioms involved in high school programming teaching,and verify the validity.The results show that a total of 18 code idioms identified from the compulsory“programming”module of the current high school information technology curriculum involve the composite application of multiple basic knowledge points,which can effectively expand the scope of teaching knowledge in the programming textbook..The research further elaborates the teaching value of code idioms,and gives specific methods to implement programming ability training using code idioms from the three aspects of teaching content,teaching methods and teaching resources.
作者
傅骞
唐文静
王雯
郑娅峰
Fu Qian;Tang Wenjing;Wang Wen;Zheng Yafeng(School of Educational Technology,Beijing Normal University,Beijing 100875;College of Computer and Information Engineering,Henan University of Economics and Law,Zhengzhou 450003,Henan)
出处
《中国电化教育》
CSSCI
北大核心
2021年第2期61-67,共7页
China Educational Technology
基金
国家自然科学基金项目“中小学生在线编程自适应学习系统关键技术研究”(项目编号:62077005)阶段研究成果。
关键词
编程模式
编程教学
高中程序设计
序列模式挖掘
计算思维
code idioms
programming teaching
high school programming
sequential pattern mining
computational thinking