1. Define some useful relations among modules other than the relations discussed

1. Define some useful relations among modules other than the relations discussed in this chapter. 2. Classify the changes discussed in as either perfective, adaptive, or corrective maintenance. 3. Consider a program you have written in the past in a programming language like Ada, Modula-2, C, or Pascal. (Here we employ Ada, but the exercise can be adapted quite easily to any of these languages.) Consider Ada library units as corresponding to the concept of a module that we are using in this chapter. Also, define a relation CALLS between any two modules such that; CALLS; if and only if a call to a procedure or function in; is issued within M. a. Unlike the assumption we made in would it make any sense to define CALLS as a reflexive relation? b. What follows from requiring CALLS to be a hierarchy? c. Draw the CALLS graph for your sample program, and check whether the graph is a DAG or not.

You may also like