Question

    Which data modeling technique is used to represent the relationships between entities in a database?

    A Entity-Relationship Diagram (ERD) Correct Answer Incorrect Answer
    B Data Flow Diagram (DFD) Correct Answer Incorrect Answer
    C Unified Modeling Language (UML) Correct Answer Incorrect Answer
    D Class Diagram Correct Answer Incorrect Answer
    E State Diagram Correct Answer Incorrect Answer

    Solution

    An Entity-Relationship Diagram (ERD) is a data modeling technique used to represent entities, their attributes, and the relationships between them in a database. It helps visualize how data is related and supports database design by defining the structure of the database. b) Data Flow Diagram (DFD) shows data flow and process interactions but not entity relationships. c) UML provides a range of diagrams, including class diagrams and use case diagrams, but ERD specifically represents database relationships. d) Class Diagram is used in object-oriented design to show classes and their relationships, not database entities. e) State Diagram represents states of an object in a system, not entity relationships.

    Practice Next