Give examples from the Student Registration System where

a. It would be convenient to use a set-valued attribute.
b. It would be convenient to express a relationship (in the ODMG style) between two objects.
c. It would be convenient to use inheritance.


a. The information about the semesters in which a particular course is o?ered (which is represented by the attribute SemestersOffered in Figure 4.33).


CREATE TYPE Course AS (
...
SemestersOffered CHAR(6) MULTISET,
...
)

or

class Course {
...
attribute Set SemestersOffered;
...
}


b. The relationship Requires in Figure 4.33:

class Course {
...
relationship Set Requires
...
}


c. The class Class inherits from Course:

CREATE TYPE Class UNDER Course AS (
...
)

or

class Class extends Course {
...
}

Computer Science & Information Technology

You might also like to view...

List the total number of employees in each department for those departments with more than 10 employees. Create an appropriate heading for the columns of the results table.

What will be an ideal response?

Computer Science & Information Technology

In the figure above, which item is used to create subfolders on SkyDrive to keep your files organized?

A. Item 1 B. Item 2 C. Item 3 D. Item 4

Computer Science & Information Technology

Holding CTRL and HOME in order to move the cursor to the top of the document is an example of a ________

A) nonprinting character. B) manual page break. C) word wrap. D) keyboard shortcut.

Computer Science & Information Technology

Developer notes are not a reliable means of documenting architectural decisions 

Answer the following statement true (T) or false (F)

Computer Science & Information Technology