Question: For each Z or OCL expression, you must give explicitly the details of its types in a table as shown in the examples at the
For each Z or OCL expression, you must give explicitly the details of
its types in a table as shown in the examples at the end of this
document taken from the lectures
If this table containing types information is missing for some question,
than this question won't be marked it will get zero
Question
Consider a registration system.
In a given term, when a course is offered, a number of sections are open for it Students enrolled
in a course are registered in one of its open sections. Each course hs a set of prerequisite courses.
A student cannot enroll in a course unless he passes all its prerequisites.
Based on this description, we define the following types:
STUDENTCOURSE,SECTION
The data schema for the registration system is as follows:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
