This question has occurred in May 2013 , third year BE IT fifth ( V) semester in Mumbai university. You can get access to the complete OOAD paper from here http://besolvedpapers.blogspot.in/2014/04/ooadobject-oriented-analysis-and-design_11.html
Draw a class diagram for a for a school application system which has the following requirements.
School has one more Department. Department offers one or more Subjects.A particular subject will be offered by only one department.Department has instructors and instructors can work for one or more departments.Student can enrol in upto 5 subjects in a School. Instructors can teach upto 3 subjects. The same subject can be taught by different instructors. Students can be enrolled in more than one school.
Note :- When such kind of questions come in exam ensure that you divide your problem in to pieces , draw class diagram for those pieces and then draw the full diagram later.
We have divided the above question in to 6 small pieces as shown below. Now let’s try to solve those individual pieces and then come up with a final solution.
Draw a class diagram for a for a school application system which has the following requirements.
School has one more Department. Department offers one or more Subjects.A particular subject will be offered by only one department.Department has instructors and instructors can work for one or more departments.Student can enrol in upto 5 subjects in a School. Instructors can teach upto 3 subjects. The same subject can be taught by different instructors. Students can be enrolled in more than one school.
Note :- When such kind of questions come in exam ensure that you divide your problem in to pieces , draw class diagram for those pieces and then draw the full diagram later.
We have divided the above question in to 6 small pieces as shown below. Now let’s try to solve those individual pieces and then come up with a final solution.
- School has one more Department.
- Department offers one or more Subjects. A particular subject will be offered by only one department.
- Department has instructors and instructors can work for one or more departments.
- Student can enrol in upto 5 subjects in a School.
- Instructors can teach upto 3 subjects. The same subject can be taught by different instructors.
- Students can be enrolled in more than one school.
School has one more Department.
Department offers one or more Subjects.A particular subject will be offered by only one department.
Department has instructors and instructors can work for one or more departments.
Student can enrol in upto 5 subjects in a School.
Instructors can teach upto 3 subjects. The same subject can be taught by different instructors.
Students can be enrolled in more than one school.
Below goes the full class diagram in a collective way.
Join our crash course call 022-66752917 mulund Mumbai.
No comments:
Post a Comment