Translation from Problem to Code in Seven Steps

Translation from Problem to Code in Seven Steps
复制标题

七步将问题转化为代码

DOI:
--
复制
发表时间:
2019
期刊:
Conference on Global Computing Education
影响因子:
--
通讯作者:
S. Rodger
S. Rodger
中科院分区:
--
文献类型:
--
作者:
Andrew D. Hilton;Genevieve M. Lipp;S. Rodger

文献摘要

被引文献

相似文献

学习编程入门课程的学生很难将问题陈述转化为代码。我们介绍了一种教学技术,“七个步骤”,它提供了如何处理问题的结构和指导。前四个步骤专注于用英语设计算法,然后剩下的步骤是将该算法转换为代码,测试算法,并调试失败的测试用例。这种方法不仅为学生提供了一种解决问题的方法,而且还为他们在这个过程中遇到困难时该怎么办提供了想法。此外,它还为教师提供了一种在课堂上使用示例的方法,这些示例专注于设计代码的过程-教师可以展示如何编写代码,而不仅仅是展示一个示例。我们在几个入门编程课程中描述了我们使用这种技术的经验-无论是在课堂上还是在网上。
Students in introductory programming courses struggle with how to turn a problem statement into code. We introduce a teaching technique, "The Seven Steps," that provides structure and guidance on how to approach a problem. The first four steps focus on devising an algorithm in English, then the remaining steps are to translate that algorithm to code, test the algorithm, and debug failed test cases. This approach not only gives students a way to solve problems, but also ideas for what to do if they get stuck during the process. Furthermore, it provides a way for instructors to work examples in class that focus on the process of devising the code - instructors can show how to come up with the code, rather than just showing an example. We describe our experience with this technique in several introductory programming courses - both in the classroom and online.