teacher note Teacher Note: The Rainfall Problem

The Rainfall Problem is perhaps the most famous problem in computer science education research. Elliot Soloway invented it and had students at Yale University try it in 1983. Only 14% of students in week 10 of their first semester could solve the problem correctly. Only 36% of the students in the second course could do it. Only 69% of Juniors and Seniors could do it. Every study of this problem in the last 30 years has come up with the same result – students find this to be a very hard problem.

Why? Thinking about that gives us insights into what students find hard about programming:

So that gives you a sense for what pace to expect from your students. Two accumulators and three conditionals is enough that only 14% of Ivy League students can write the program after 10 weeks of undergraduate computer science class. Notice how we dealt with the problem here – we asked you to assemble the program out of pieces we already gave you. That’s already an easier task.

Have your students write lots of small simple programs before you expect them to write more complicated programs.

You have attempted of activities on this page