Comprehension Lab


Contents


Overview

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.

Objectives

The objectives of the Code Review activity are to:

Entry Conditions

The comprehension lab can begin when:

Exit Conditions

The comprehension lab is complete when:

Tasks

  1. Review the group and role assignments for the lab.

  2. Complete each problem.

  3. Write a brief description of the procedure/function and the pre/post conditions.

  4. Validate the resulting pre/post conditions within the group.

  5. Each reader completes the requisite information regarding the problem.


Modified: June 2, 1997