Strategy-based Feedback in a Programming Tutor

Hieke Keuning, Bastiaan Heeren, and Johan Jeuring

More and more people take up learning how to program: in schools and universities, in large open online courses or by learning it by themselves. A large number of tools have been developed over the years to support learners with the difficult task of building programs. Many of these tools focus on the resulting program and not on the process: they fail to help the student to take the necessary steps towards the final program.
We have developed a prototype of a programming tutor to help students with feedback and hints to progress towards a solution for an introductory imperative programming problem. We draw upon the ideas of a similar tutor for functional programming and translate these ideas to a different paradigm. Our tutor is based on model solutions from which a programming strategy is derived, capturing the different paths to these solutions. We allow for variation by expanding the strategy with alternatives and using program transformations. The instructor is able to adapt the behaviour of the tutor by annotating the model solutions.
We collected data from computer science students to verify that we could recognise their correct and incorrect solutions. A tutoring session is shown to demonstrate the capabilities of our tutor.

In Proceedings of the Computer Science Education Research Conference, CSERC '14, pages 43-54, 2014.
Full paper