9.6. Exercises

1. If 50% in remathsa or 40% in maths101 is enough to study graphthy, and 50% in remathsa is sufficient to study remathsb, it only seems fair that a candidate who scored 40% in maths101 should be allowed to study remathsb. Assuming this change, express the needs tree for remathsb in the same style as the examples on page 308.
2. The decision table of Table 9.3 contains 23 rules, one of which is an else rule. If this table were implemented using structured (if  …  else) code, how many branches would be needed to express the else rule?
    You may assume that the conditions will be tested in order from left to right, and that Subject is already constrained to have one of the values listed in the first column.
    Suppose, assuming that ...

Get Systems Analysis and Synthesis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.