We shall look at these quickly to catch major problems before you have to hand in Assignment 2. Also, to make sure we can tell you of a problem with your design, include your email address on this assignment . If you are having trouble thinking of an application, or if you are unsure whether your proposed application is appropriate, please feel free to consult with one of the course staff. We would like to design a database that can be used to store information about the structure of C programs. Different kinds of statements have different constitutents.
Blocks have zero or more statements in a list.
It is appropriate to invent a key attribute used to identify each statement. Your diagram should also allow us to tell which identifiers appear in which assignment statements and in which conditions. There is a correct interpretation, which is that, given A and C entities, there is at most one related B entity, and , given B and C entities, there is at most one related A entity. Justify your answer. Draw this diagram.