System Development

  1. Explain the fundamental application of Class Diagrams
  2. Explain the term Multiplicity
  3. Explain the various relation types and their importance in the diagram/program
  4. Which other diagrams can be used to visualize sequences in a program

Question 1

A Class Diagram is made to easily determine what a class needs to contain of Methodsand Propertiesalong with its Access modifier, Class Type (Abstract or Child) and its relations to other classes

Question 2

Multiplicity defines the required or allowed number of instances when two classes are related to each other. It specifies the minimum and maximum number of objects that can participate in a relationship.

For example: An Activity in our project must have at least one associated Employee user to exist - this represents a mandatory one-to-many relationship.

image.png

Question 3

1️⃣ Association (→)

2️⃣ Aggregation (◇)

3️⃣ Composition (◆)