SamplesDescriptionCompare and Contrast ERDBuy essay
← Stakeholders of the Smart Meter ProjectDay My Son Was Born →

Free Example of Compare and Contrast ERD Essay

Class diagrams forms the spine of any object-oriented methodology. They are used in describing the system’s static structure. Basically, a class is a representation or an abstraction of those entities that possess shared characteristics. Association signifies the relationship between classes (Sellers & Unhelkar 2000, 7-8). Entity-Relation (ER) diagrams are specialized graphics that illustrate relationships that exists amongst the entities in databases. ER diagrams utilize special symbols for the purpose of representing three categories of information (Ling & Teo 1994, 15). Boxes are representations of entities while diamonds represent the existing relationship. Ovals represent the attributes in question.

The ER Diagram is correct since the relationships are logical. For instance, a customer may order several pizzas, and this would mean that he is to be supplied with multiple invoices. Secondly, a customer may order several pizzas, but a pizza cannot be supplied to more than one customer. A chef does bake many pizzas while a pizza cannot be baked by several chefs. Moreover, a delivery staff member delivers several pizzas while a pizza cannot be delivered by multiple employees.

Type of assignment
Writer level
Title of your paper
Total price

The ER diagram in this paper contains eight entities – Staff, Cashier, Chef, Delivery Staff, Pizza Recipes, Pizza Order, Delivery, and Customer. There are nine relationships bin the ER and each entity comprises of unique attributes. In real-world scenarios, every one of these entities would possess many different attributes. The two diagrams have a number of differences. For instance, the class diagram presents the attributes indicating whether each one of them is public or private.

With regard to the differences between the ERD and the class diagram, it is notable that the class diagram is a representation of structural as well as the behavioral features of the system in question. In the class diagrams, classes possess what is termed as the association relationship (Ling & Teo 1994, 80). The class diagrams facilitate the mapping of ideas into what appears to resemble real-world objects. On the other hand, entity relation diagrams facilitate the mapping of the tables as they exist in the database (Cappelli 2007, 43).

Code: writers15

Related essays

  1. Day My Son Was Born
  2. College Life
  3. Stakeholders of the Smart Meter Project
  4. Cultural Relativism
View all