Top Posters
Since Sunday
5
a
5
k
5
c
5
B
5
l
5
C
4
s
4
a
4
t
4
i
4
r
4
New Topic  
青山 素子 青山 素子
wrote...
Posts: 1332
Rep: 4 0
7 years ago
Consider the following scenario to model. There are two types of people to model, faculty members and students. Faculty members and students all have common characteristics such as names and addresses. Faculty members also have ranks and tenure status, whereas students have majors and grade point averages. You can request any type of person to provide information about himself or herself. If you make this request of any person, you will get their name and address. If you make this request of a faculty member, you will also get information about tenure status and rank, whereas if you make this request of a student, he will tell you about his major and GPA. A faculty member may advise one or more students.

In addition to modeling the people, we should model courses. Each course has a name, and a description, and perhaps one or more prerequisite course. A faculty member may teach any number of courses. A student may take any number of courses.

Discuss how you would model this scenario in an object-oriented system. In particular, identify all classes, their attributes, messages, and operations. Identify the generalizations and inheritance relationships, as well as any associations. Also, indicate whether polymorphism is involved; and if so, where it is.
Textbook 
Object-Oriented System Analysis and Design

Object-Oriented System Analysis and Design


Edition: 1st
Authors:
Read 144 times
3 Replies
Replies
Answer verified by a subject expert
fierofiero
wrote...
Top Poster
Posts: 1332
Rep: 8 0
7 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
This verified answer contains over 140 words.
1
Computer nerd Nerd Face

Related Topics

青山 . Author
wrote...
7 years ago
My study group has been so thankful of this community, thanks for providing us the answer
wrote...
7 years ago
Don't forget to mark the topic solved Monkey
Computer nerd Nerd Face
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1269 People Browsing
Related Images
  
 210
  
 722
  
 265
Your Opinion
Who's your favorite biologist?
Votes: 586