Review Questions 1. What is a UML class diagram ? Compare a UML class diagram with an activity diagram. 2. What entities are shown on the UML class diagram? How are entities represented on the class diagram? 3. How are associations between entities shown on the UML class diagram? 4. What is a primary key ? Explain with an example 5. What is a foreign key ? Explain with an example 6. What are relationship cardinalities ? What are the three types of relationship cardinalities ? Give an example to illustrate each type 7. Why are the concepts of primary keys, foreign keys, and cardinalities important to database designers? 8. How can you eliminate many to many relationships from a database design? 9. List the steps in preparing a UML class diagram