Educational data mining methods are being used to automatically generate hints to students in intelligent tutoring systems. Using these methods, we hope to create a system that can give individualized instruction. By analyzing time snapshot data from exams in an introductory programming course, we will write a program to construct state graphs for each student’s performance, eventually resulting in a Markov decision process that represents different approaches to writing the target program, and providing feedback to students. Once this system is sufficiently tested and refined, it will then be applied to subsequent semesters students in the programming course.