Skip to main content

Translation from Problem to Code in Seven Steps

Publication ,  Conference
Hilton, AD; Lipp, GM; Rodger, SH
Published in: CompEd 2019 - Proceedings of the ACM Conference on Global Computing Education
May 9, 2019

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.

Duke Scholars

Altmetric Attention Stats
Dimensions Citation Stats

Published In

CompEd 2019 - Proceedings of the ACM Conference on Global Computing Education

DOI

ISBN

9781450362597

Publication Date

May 9, 2019

Start / End Page

78 / 84
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Hilton, A. D., Lipp, G. M., & Rodger, S. H. (2019). Translation from Problem to Code in Seven Steps. In CompEd 2019 - Proceedings of the ACM Conference on Global Computing Education (pp. 78–84). https://doi.org/10.1145/3300115.3309508
Hilton, A. D., G. M. Lipp, and S. H. Rodger. “Translation from Problem to Code in Seven Steps.” In CompEd 2019 - Proceedings of the ACM Conference on Global Computing Education, 78–84, 2019. https://doi.org/10.1145/3300115.3309508.
Hilton AD, Lipp GM, Rodger SH. Translation from Problem to Code in Seven Steps. In: CompEd 2019 - Proceedings of the ACM Conference on Global Computing Education. 2019. p. 78–84.
Hilton, A. D., et al. “Translation from Problem to Code in Seven Steps.” CompEd 2019 - Proceedings of the ACM Conference on Global Computing Education, 2019, pp. 78–84. Scopus, doi:10.1145/3300115.3309508.
Hilton AD, Lipp GM, Rodger SH. Translation from Problem to Code in Seven Steps. CompEd 2019 - Proceedings of the ACM Conference on Global Computing Education. 2019. p. 78–84.

Published In

CompEd 2019 - Proceedings of the ACM Conference on Global Computing Education

DOI

ISBN

9781450362597

Publication Date

May 9, 2019

Start / End Page

78 / 84