Question

Explain how class diagrams are designed in an object oriented system, with the help of an example.

28 Oct 2017
Answer :
Word Count : 1104

Class diagrams are often used in object oriented analysis and design to show the various identified objects , their types (classes) , their data and operations and how the relate , or communicate with other objects or classes. Here are some of the standard UML conventions and a sample class diagram to get you started:

Identify the classes in the problem domain:

This is the first and most important step for creating the class diagram. What classes should you include and how to identify them given a problem statement or a scenario? The solution is simple and some time should be spent with the client / system engineers /your teacher in case you are making an academic project or any concerned authority having the required business knowledge.The first step however is creating a problem statement or establishing a set of requirements that the software should fulfill. E.g. you need to create a small library management system. What are some of the requirements for the system? Let’s try to make a problem statement or the scenario for your design. For the sake of simplicity considers the following simple problem Statement. “The library management system would be used by the librarian to keep track of books, library members and the borrowing activity. Not all books can be borrowed by the members. Some books may only be available to review in the library; all such books are termed as Reference books. There are 2 types of library members students and college faculty members. Faculty members can also check out research papers and magazines where as students can only checkout books. The system need to send alerts whenever a book that has to be returned within a specific date is not returned. An email is sent to the librarian and the borrower. The system maintains a catalogue having a description of each book that is available in the library”

Ways to identify Classes:

Do the Noun Analysis: Go through the problem statement again and again

____ _____ _________ ____ __________ _____ __________ _______.
____ ____ _________ _______ ______ _______ ______ _______.
__________ ________ __________ ___ _______ _______ ___ ___ ________ __________.
________ ______ ____ ____ __________.
_________ ________ __________ ______ _______ _______.
___ ____ ___ _____ ______ _______ ____ ______ _______ ____ ___.
____ ________ ________ _____ ___ _________ __________ ___.
__________ ______ __________ _____ ____.
_____ ____ ___ ____ _________ _________ _________ ___ ___ ______.
____ ________ __________ ______ _________ _________ _____ __________ ___ ________ ____.
___ _________ ____ ____ ___.
____ _______ ___ ________ ___ ______ ______ ______ ________.
____ ___ __________ ______ _________ ______ _________ _______.
______ __________ __________ _______ ______ _____ ______ _____ ____ _____ ____ ______.
_________ ______ __________ ___ ___ ________ ______ _______ ______ _____ _____ ___.
_____ _____ _____ _________ ________.
____ __________ ____ ___ ____ ____ ______ __________ _____.
_________ _______ ______ __________ _____.
_______ ____ _______ _______ _________ ________ ____ _________ _____ _____ ______.
________ ________ _______ ________ ____ _______ _______ _______ _______ ________ ________.
________ _________ ___ __________ _____ ___ ______ ____ ____ __________ _______ _________.
____ ____ __________ ______ __________ ________ ________ _________ ________.
________ __________ _________ ______ __________ ___ ____ _________.
_____ ___ _________ ______ _________ _________ ____ _______ _________ _________ _________.
_________ _______ _________ _______ ______ ___.
_______ ______ ____ _______ ________ ______ ___ ___.
_________ ____ _________ _____ _________.
_______ _______ _________ _________ _____ _________ ________ __________ _____ _____ _________ _____.
___ _____ ________ _____ _____ ________ ________ ____.
_____ ___ ___ ___ _________ __________ _________ _____ ____ ____ ______.
______ ________ ____ ________ ____ _________.
______ _______ ______ ____ ______ _________ _________ ______ _____ ________.
______ ________ ___ ____ _________ ________ _____ ________ __________.
_____ ______ _________ ____ _______ __________ ___ ___ __________ ___.
_________ ____ _____ ___ _____ __________ __________.
_____ ___ ________ ____ _____ ____ _______ __________ _________ ______.
___ ______ _________ __________ ______ ____ ____ _____ ____ _____ ______.
___ _________ ________ ___ _________ _________ __________ ____ __________.
_________ _________ _______ ____ _________ ______ __________ _______.
_______ _____ ____ ___ _______.
____ ________ _______ _______ ____ ______ __________ _______ _________ ________ __________.
____ _________ ________ _________ __________ _________ ______ ______ _______ ______.
________ __________ _____ ______ ___ ________ _____ ______ _______ _______ ________ ________.
_____ ____ ___ __________ ______ _______.
______ ___ _____ ________ ________ ____ _____ _________ _____ _______ _____.
______ ______ _________ ___ ____.
_______ _____ _____ ______ __________.
_______ ___ _______ _____ _________ ________ ___.
____ __________ _____ ____ ___ ________.
_____ _____ __________ ____ _____ ________ _______ _______ ___ ________.
____ ___ _______ _______ __________.
_____ ___ _________ ____ ________.
___ ________ _________ ________ ______ _____ _______ ________.
_______ ________ _____ ___ _______ ___ ___ __________ ___ _________ _______ _____.
____ _____ _________ _________ ___ ___ ______.
___ ___ ____ ________ ___ _______ ____.
____ __________ ___ _____ ____ ________ ____ ____ _________.
____ __________ _______ ____ ________ _______ _________ ______ __________ ____ ______ __________.
_____ ______ ___ __________ ___ _________ ______ ______ ___ ___ _____.
_________ ____ _____ _______ ________ _________ ________ ____ ___ __________.
_____ _________ ________ ________ _______.
___ ________ __________ ____ ______ ______ _______ __________ ____ ______.
______ ____ ________ ___ ________ _______ ______ __________ __________.
__________ _______ __________ ________ _____ _________ ___ __________ ____ _________ ______ __________.
_____ ___ ___ _______ ______ ___ _________ _____ ___ ______.
__________ ______ _______ __________ __________ ___ ______ ___ ________.
_____ ________ __________ __________ _____.
_______ ________ _________ _____ __________ _______ _________ ___ ________.
_________ _______ ____ ________ ______ __________ __________ _______ ____ ___.
_________ _________ __________ ____ __________ _______.
___ ____ ____ _____ _______ _____ _________ ________.
___ _______ _______ _______ ___ __________ ________ _______ ______.
_______ __________ ______ ________ ___ ________ ___ _______ _______.
_______ ___ _______ ______ _______ ____ _________ ________ _____ _________ _____ ___.
__________ ________ ___ _________ __________ _________ ________ ______ _________ ____.
____ ______ __________ ____ ________ ___ _______ ______.
________ _________ _________ __________ ____ _________ _______ _______ __________.
_________ _______ ___ _______ _____ _________.
_____ ______ _______ ____ _________ _________ _______.
_____ ___ ___ _______ ____ __________ __________ _______ ___ ______ _____ _________.
________ ______ _______ _______ ______ _______ __________ _________.
_____ __________ _____ ________ ___ ________ ________ __________.
____ _____ __________ __________ ___ ________ _________.
_____ __________ _____ ___ _________ ___ _____ ________ __________.
___ ___ __________ _____ _________.
_________ ______ _____ ___ __________ __________ ____ _________ ______.
______ _______ ____ ________ ______ ________ _________.
____ __________ __________ ___ __________ ________ ______.
____ ____ ___ ____ _________ __________ __________.
______ _____ __________ ___ _________ ___ _________ __________ _______.
____ ____ __________ _________ ________ ___ ________ _________ _________.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MCS 32 2011 - Explain how class diagrams are designed in an object oriented system, | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→