Spring 2024 - CS603 - 1
Spring 2024 - CS603 - 1
Maximum Marks: 10
Instructions Due Date: 29-04-2024
The purpose of this assignment is to give your hands-on practice. It is expected that
students will solve the assignment themselves. The following rules will apply during the
evaluation of the assignment.
● Student can submit HTML, Images & Plain text only in this inline Mode. You
may also insert image file/table.
● DOC/pdf File uploading option will not be available) in inline assignment
submission.
Uploading Assignment Instruction
Follow the given instructions to submit inline assignments.
● You can use MS Visio/ MS Paint for drawing the ERD Diagram etc.
● Images and tables can be inserted using the following highlighted option in the
interface.
Virtual University of Pakistan SEMESTER SPRING 2024
Question#: 10 Marks
To understand different types of relationships in UML diagrams and to identify them in each scenario a
UML diagram is given below. You are required to observe the UML diagram then identify
Composition, Aggregation or Association relationships in the diagram.
Virtual University of Pakistan SEMESTER SPRING 2024
Instructions:
Study the provided UML diagram representing a school system carefully. Identify the type of
relationship between each pair of classes.
Example:
Write down your answers for each question in the space provided.
What type of relationship exists between Classroom and Student? (Answer: Composition)
Complete the following:
Virtual University of Pakistan SEMESTER SPRING 2024
1) What type of relationship exists between School and Teacher? (Answer: ______________)
2) What type of relationship exists between School and Student? (Answer: ______________)
3) What type of relationship exists between School and Classroom? (Answer:
______________)
4) What type of relationship exists between Classroom and Teacher? (Answer:
______________)
5) What type of relationship exists between Classroom and Student? (Answer:
______________)
NOTE: Submit “.docx” file only. Every student should provide his/her own work, exact copying of the
assignment (or some portion of the assignment) from the Internet or other students will lead to copy
case and zero marks will be awarded. Do not put any query on MDB about this assignment, if you have
any query then email us at [email protected]
Best of Luck ☺
.………*****……….
BC210423749
1) What type of relationship exists between School and Teacher
Ans: Association
2) What type of relationship exists between School and Student?
Ans: Composition