Typing in the blanks allows for an open ended question.
When grading this question the teacher will be shown all of the answers that the students provided. This allows the teacher to analyze the common errors and provide instruction that will remedy the problem.
Students enter values in the context of the program. This reinforces the step-by-step nature of the process.
This problem is created by drawing the problem (or capturing it from some other source) and then adding type in boxes to the problem.
In this example the units have been provided by the teacher. The units could be omitted and the students could then enter the units themselves, making the question more open-ended.