.Net Interview Questions and Answers

Search:

.NET Architecture UML interview question

By : Shiv Prasad Koirala | May 12th, 2014 | Views : 6343 | Comments : 0 Bookmark and Share

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.




Preparing for C# and .NET interviews start preparation from this video.


 
Rate this Article :
1 Star
2 Stars
3 Stars
4 Stars
5 Stars
1 1 1 2 1
 
 
 
 

.NET interview questions 6th edition (Sixth edition) - By Shivprasad Koirala

In this article we will explain .NET interview questions 6th edition (Sixth edition) - By Shivprasad Koirala.... Read More

What is the difference between Stored Procedures and Function (SQL Server interview question with answers)?

In this article we will explain what is the difference between Stored Procedures and Function.For more articles and videos visit us on www.questpond.com... Read More

Explain MVC application life cycle?

In this article we will explain MVC application life cycle.For more articles and videos visit us on www.questpond.com... Read More

C# Design pattern interview questions with answers: - How Singleton is different from Static class?

In this article we will explain How Singleton is different from Static class.... Read More

WCF interview questions and answers: - What is the difference between Service endpoint and Client endpoint?

In this article we will explain What is the difference between Service endpoint and Client endpoint.... Read More

.NET interview questions 6th edition (Sixth edition) - By Shivprasad Koirala

In this article we will explain .NET interview questions 6th edition (Sixth edition) - By Shivprasad Koirala.... Read More

What is the difference between Stored Procedures and Function (SQL Server interview question with answers)?

In this article we will explain what is the difference between Stored Procedures and Function.For more articles and videos visit us on www.questpond.com... Read More

Explain MVC application life cycle?

In this article we will explain MVC application life cycle.For more articles and videos visit us on www.questpond.com... Read More

C# Design pattern interview questions with answers: - How Singleton is different from Static class?

In this article we will explain How Singleton is different from Static class.... Read More

WCF interview questions and answers: - What is the difference between Service endpoint and Client endpoint?

In this article we will explain What is the difference between Service endpoint and Client endpoint.... Read More

Article Categories

Learn in Hindi