Monash University · FACULTY OF INFORMATION TECHNOLOGY

FIT9132 Chap.2 Entity-Relationship Modelling

- one subject, every graph, every model, every mark
5 Chapters2-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 2 of 8 · FIT9132

Entity-Relationship Modelling

Define entity type

The course material gives this chapter a concrete anchor: Week 2 develops conceptual design through entities, attributes and relationship constraints. That entity type anchor controls how relationship is explained and how identifier is tested in changed practice.

Entity-Relationship Modelling turns entity type, relationship and identifier into executable reasoning.

The chapter's practical target is to translate narrative rules into entities, identifiers, cardinalities and participation, so every explanation should connect syntax to program state, control flow and observable output.

Treat entity type as a precise program object, not a loose label. Identify the value or responsibility of entity type before execution, then trace what can read it, change it or depend on it.

This makes state changes visible before they become debugging guesses.

Use relationship to explain the program's next move. Work through one representative relationship input by hand and name the branch, iteration or call that follows. If the relationship trace cannot be stated, the code may run by accident rather than by understood design.

Trace relationship

Bring in identifier as the test of structure.

Compare normal, boundary and invalid inputs for identifier; state the expected behaviour first; then use the mismatch between expectation and result to localise the defect.

For the application — translate narrative rules into entities, identifiers, cardinalities and participation — write the smallest complete example that exposes the rule.

Explain why the identifier result works, what would break it and how the program should signal or recover from that failure.

Before running an example involving entity type, make a trace table with the important state before and after each operation. Include the value associated with entity type, the control decision governed by relationship and the output or object affected by identifier.

The entity type table turns an unexplained result into a sequence that can be tested one transition at a time.

Test three inputs: an ordinary case, a boundary case and an invalid case. State the expected identifier result for each before execution, then compare it with what the program actually does.

A useful test of relationship isolates one rule; changing several conditions at once cannot reveal which condition caused the failure.

Test with identifier

Practise explaining the solution without reading the code.

For fit9132, name the data representation, the control flow, the responsibility of each function or class and the reason the chosen design supports translate narrative rules into entities, identifiers, cardinalities and participation.

This identifier rehearsal matters when a written test or interview asks why the program works rather than whether it produces one correct output.

A complete response should make the task visible before the detail: identify what must be decided, define the relevant terms, connect the evidence to relationship, and use identifier to test the result.

The final sentence about identifier should answer the question actually asked rather than merely repeat the topic.

The controlling limit is specific: A diagram is only correct relative to explicit business rules and time scope.

Keep that identifier limit beside the worked example, because it separates a careful fit9132 answer from one that sounds confident but claims more than the task or evidence supports.

For revision, retrieve entity type, relationship and identifier without notes, explain their relationship aloud, then complete a changed version of the application: translate narrative rules into entities, identifiers, cardinalities and participation.

Record the first failed relationship reasoning move and repair it before attempting another case.

In this chapter

What this chapter covers

  • 01

    entity type

  • 02

    relationship

  • 03

    identifier

  • 04

    Applying entity type

  • 05

    Limits of relationship and identifier

Worked example · free

Model tutors and tutorials

Q [4 marks]. AskSia-authored practice. Each tutorial has one tutor; a tutor may lead several tutorials; students enrol in many tutorials over time. Identify the core relationships.
  • 1Define Tutor, Tutorial and Student entities with identifiers.
  • 1Model Tutor-to-Tutorial as one-to-many with mandatory tutor for each tutorial.
  • 1Model Student-to-Tutorial as many-to-many through Enrolment.
  • 1Attach period to the offering or enrolment as required.
The model separates people from scheduled tutorials and resolves student participation through an associative enrolment entity, preserving time and multiplicity.
Sia tip — Cardinality comes from the rule wording, not from how many examples appear today.
Glossary

Key terms

entity type
Category of distinguishable things about which data is stored. This chapter uses the concept when students translate narrative rules into entities, identifiers, cardinalities and participation. Use this definition when the task is to translate narrative rules into entities, identifiers, cardinalities and participation.
relationship
Association among entity instances with stated cardinality and participation. It helps explain the reasoning required to translate narrative rules into entities, identifiers, cardinalities and participation. Use this definition when the task is to translate narrative rules into entities, identifiers, cardinalities and participation.
identifier
Attribute or attribute set that uniquely distinguishes an entity instance. Its limit matters because a diagram is only correct relative to explicit business rules and time scope. Use this definition when the task is to translate narrative rules into entities, identifiers, cardinalities and participation.
FAQ

Entity-Relationship Modelling FAQ

What is the main task in Entity-Relationship Modelling?

Translate narrative rules into entities, identifiers, cardinalities and participation.

How do entity type and relationship work together?

Use entity type to establish the object or condition, then use relationship to explain how it changes the outcome being analysed.

What must a fit9132 answer qualify here?

A diagram is only correct relative to explicit business rules and time scope.

How should I revise Entity-Relationship Modelling?

Retrieve entity type, relationship and identifier, apply them to a changed case, and correct the first point where the evidence no longer supports the conclusion.

Study strategy

Assessment move

Reconstruct the relationship among entity type, relationship and identifier; complete the chapter application without notes; then test the result against this limit: A diagram is only correct relative to explicit business rules and time scope.

Working through Entity-Relationship Modelling in FIT9132? Sia is AskSia’s AI Information Technology tutor — ask any FIT9132 Entity-Relationship Modelling question and get a clear, step-by-step explanation grounded in how FIT9132 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 69 of your Monash University subjects - and 1,000+ Bibles across every Australian university.
Sia - your FIT9132 tutor, unlimited, worked the way the exam marks it
The full 2-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works
Unlock the full FIT9132 Bible + 69 Monash University subjects
$0.99 Trial