Cardinality is the number of occurrences of one object that can be related to the number of occurrences of another
cardinality can be expressed as one or many
Example: A parent can have many children
but a nation can have only one president
Modality is 0 if the occurrence of relationship is optional and it is 1 if occurrence of relationship is mandatory
Example: For any order there must be a customer
but it is not necessary that the order is processed
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiIUjQ1w2aVRiOVsKH_O-c6XCDmfRnSmt6AEFjrzigM1Iq7KJfHD2VQf3E5g9L0HmRf2EOgw0VHlaIVQ4w7AQcRZE42_9WN4cnjp7WW8Swgb4sLAE11i_9rZwKZFUesBfDEdbnv4ULqQDv/w535-h246/cardinality.png)