Program comprehension is a vital skill for any computer science/software engineering student. Explicit practice and training in comprehension strategies is essential. This lab involves code reading as a collaborative activity in groups.
The activities in this lab require that you work in groups of three. There are three distinct roles in each comprehension group. As the group works through the assigned tasks, the roles for each member must be switched, so each member has the opportunity to experience each of the roles.
The objectives of the Code Review activity are to:
The comprehension lab can begin when:
The comprehension lab is complete when:
Review the group and role assignments for the lab.
Complete each problem.
Each reader works through their problem.
The code review group facilitates the reader's progress through the activity.
The recorder maintains the current status of the required output of the activity.
Write a brief description of the procedure/function and the pre/post conditions.
Validate the resulting pre/post conditions within the group.
Each reader completes the requisite information regarding the problem.