Answer of Assignment 7

Answer of Assignment 7 - for example, one teacher can be...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Answer of review question 19 on page 197 A. What kind of “relationships” are shown in the model? Ans:-There are two association relationships. B. How many attributes does a "faculty member" have? Which (if any) have been inherited from another class? Ans:-A faculty member has five attributes; none are inherited here. C. If you add information about one college, one department, and four faculty members, how many objects are added to the system? Ans:-Six objects are added. Note that this is different from the inheritance that is shown in the mail order example in exercise 19. Because there is no inheritance here, these are separate objects that are created and then associated with each other. D. Can a faculty member be part of more than one department at the same time? Explain. Ans:-Using minimum and maximum multiplicity (cardinality), we can say that a faculty member can be in more than one department at the same time. In the real world,
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: for example, one teacher can be part of both the computer science and computer information systems departments (a split appointment is possible). E.Can a faculty member be part of two departments at the same time, where one department is in the college of business and the other department is in the college of arts and sciences? Explain. Ans:-This is a good question to discuss in class. Draw a circle for a Faculty Member object (Billy Bob) and two circles for two separate Department objects (computer science and CIS). Connect the Faculty Member to each Department with two lines. These lines associate one Faculty Member object with two Department objects. Next, draw two College objects (business and sciences). Connect computer science to sciences and CIS to business. Now it should be clear that a faculty member can be part of two departments at the same time....
View Full Document

Ask a homework question - tutors are online