1. Back To Blog

.NET Architecture UML interview question

This .NET architecture interview question was asked in a multinational company written test to aspiring architects. Below is the question and the answer for the same. They were looking for .NET professionals who will be hired as junior architects with approximate 5 to 6 years of experience.


The below UML interview question tests your UML class diagram drawing skill.


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.


In case you are new to UML unified modelling language start from this questpond.com video



So let's take each point and draw diagrams for each point and then we will draw the full diagram. When you come across such kind of written test, break the full question in to pieces draw them one by one and then finally put the diagram across.


This also sends a message to the interviewer about how you approach the problem logically.


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.




Go through our latest Software Architecture Interview Questions video


Shiv Prasad Koirala

Visit us @ www.questpond.com or call us at 022-66752917... read more

We are on Social