levo

Databases and Distributed Systems

Entity relationship modelling

  • 3 things to know
  • A2 Unit 4

Overview

Entity relationship diagram, three degrees of relationship and optionality in a relationship.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

How does an entity in a model relate to a table in the implemented database?

Key term

What is an attribute?

Key term

What is an entity relationship diagram?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    How does an entity in a model relate to a table in the implemented database?

    Model answer

    Each entity becomes one table, its attributes become the columns and each occurrence of the entity becomes a row.

  2. 2

    What is an attribute?

    Model answer

    A property of an entity, which becomes a column of its table.

  3. 3

    What is an entity relationship diagram?

    Model answer

    A diagram showing the entities in a system and the relationships between them, with the degree of each relationship marked.

  4. 4

    Name the three degrees of relationship.

    Model answer

    One-to-one, one-to-many and many-to-many.

  5. 5

    What must be true of a one-to-one relationship for the two entities to stay separate?

    Model answer

    At least one side must be optional, or the two must be created and deleted independently, or the separation buys nothing over one table.

  6. 6

    How is the degree of a relationship established?

    Model answer

    By asking, for one occurrence of each entity, how many occurrences of the other it can be related to, in both directions.

Other ways to work this

The same content, four other ways.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Hardware: Architecture, Memory and Storage
Networks and Data Transmission
Logic Gates and Boolean Algebra
Data Representation and Data Types

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

Fetch, , execute.
decodecompilestore

Blank Blitz makes facts automatic

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

AEncryption is reversible.
BThe stored form could be decrypted.
CA hash cannot be reversed.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

A bit is a single binary digit.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Databases and Distributed Systems, on a schedule.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.