INFO90002 Cheatsheet · Database Systems and Data Modelling

University of Melbourne · Cheatsheet for the final exam. Semester 2 examination period, 2–20 November 2026. Full INFO90002 study guide →

A4 landscape · ~7pt body · 6 columns · ink + yellow only · closed-book revision 2 sides · INFO90002 · UniMelb
INFO90002
Database Systems and Data Modelling
School of Computing & Information Systems · The University of Melbourne
INFO90002 cheatsheet QR code – open the full INFO90002 study guide
Full guide + ask Sia
about INFO90002
SIDE 1/2   WHAT MUST BE IN YOUR HEAD · PRIORITY RULES + CHECKS Closed-book memory sheet S2 2026 · postgraduate · v2
A1 20%A2 10%Q1 15%Q2 5%END-OF-SEMESTER EXAMINATION 50%
Exam map · official assessment controlAssignment 1: Data Modelling 20% · Assignment 2: SQL 10% · Quiz 1 15% · Quiz 2 5% · End-of-Semester Examination 50% · Coursework Hurdle 25/50 minimum · Examination Hurdle 25/50 minimum. “Quiz 1 and Exam are closed book, invigilated” — INFO90002 2026 SM2 Week 1 admin slides (PDF_INFO90002_Week1_1_AdminIntro_pdf.txt).

01 · Lifecycle = level firstC1 · C2

Recite before any design answerRequirements → conceptual → logical → physical → implementation → validation. Conceptual models business entities/relationships without technology; logical translates them into a data model + constraints; physical specifies storage, indexes and implementation details.
require-mentsconceptlogicalphysicalbuild +test
Lifecycle chain: every stage changes the artefact and the check. Source: assessment-evidence…fig1.

Decision rule

If the prompt asks…Answer at…
Business meaningConceptual: entities, attributes, relationships
Relations + constraintsLogical
Storage/index detailPhysical
Whether it worksValidation: normal, boundary, invalid

Exam bite: name the artefact at the current level; do not repair a missing business rule with implementation detail. Trace what reads, changes or depends on it.

02 · Requirement → modelC2

businessrulesentities +attributesrelation-ships
Requirement chain: rule → identifiable thing → justified relationship. Source: requirements…fig1.
Entity test · where it bitesPromote a noun only when the business must identify instances and retain facts about them. Otherwise it may be an attribute, role or narrative wording.
  • Extract declarative business rules; separate required facts from interface or process wording.
  • Name candidate entities, identifiers, attributes and relationships; make each constraint testable.
  • For every relationship, state the business sentence using must or may.
  • Ambiguity remains a requirements question; notation cannot manufacture the missing rule.

Attribute classifier

03 · ER notation & constraintsC3

TermExact job
IdentifierUniquely distinguishes entity occurrences; becomes a primary key.
ConnectivityRelationship type, e.g. one-to-many.
CardinalityMinimum + maximum participation counts.
ParticipationOptional min 0; mandatory min 1.
Associative entityRepresents a relationship as an entity when the model requires it.
key +cardinalityassociativeentitybusiness rule
Constraint bridge: key/cardinality ↔ business rule ↔ associative entity. Source: er-diagrams…fig1.
Notation comparison · exam useCrow’s Foot: entity boxes + line-end cardinality symbols. Chen: rectangles (entities), ovals (attributes), diamonds (relationships). Notation records a rule; it does not resolve ambiguity.

Response order: identify occurrence → name identifier → state each min/max in words → justify with the business rule → use an associative entity only when the rule demands it.

04 · Normalisation methodC4

Core rule · highest priorityX → Y is a rule about all valid tuples, not a coincidence in sample rows. Normalisation decomposes relations according to functional dependencies to reduce redundancy and prevent insertion, update and deletion anomalies while preserving required information.
FDstestformsplitlossless?
Normalisation staircase: dependencies → form test → decomposition → lossless check. Source: logical-design…fig1.
  1. Write the relation and the claimed functional dependencies as business rules.
  2. Use those dependencies—not repeated-looking values—to test the target normal form.
  3. Decompose only to remove the dependency-driven anomaly.
  4. Check lossless decomposition: required information and joinability survive.

05 · Relational operations firstC5

Predict before running SQLSelection restricts rows (tuples). Projection restricts columns (attributes). Join combines matching tuples. Then check SQL’s duplicate and NULL behaviour explicitly.
selection + projectionjoinbag + NULL check
Query-result funnel: restrict → combine → test SQL semantics. Source: relational-algebra…fig1.
QuestionOperator/check
Which rows?Selection / WHERE
Which attributes?Projection / SELECT list
Which relations combine?Join + matching condition
Why extra rows?Join multiplicity; bag duplicates
Why no match?NULL can yield UNKNOWN

Exam bite: state the input relation(s), apply one operation at a time, preserve the intended row grain, and only then predict the output.

Boundary Pure relational intuition is set-based; SQL duplicates and NULL logic can change the observed result.

06 · DDL, DML, DCL + integrityC6

ClassCommandsPurpose
DDLCREATE, ALTER, DROPDefine structures
DMLSELECT, INSERT, UPDATE, DELETEQuery/change data
DCLGRANT, REVOKEManage privileges
table definitionconstraintsINSERT/UPDATEreject or accept
Integrity matrix: structure + constraint governs every write. Source: sql-ddl-dml…fig1.
Strongest-boundary ruleEncode domain, key and referential rules as database constraints when every writer must obey them. Application validation improves messages, but another client can bypass it.

07 · Grouping, subqueries, viewsC7

Grain rule · where marks disappearWHERE filters rows before grouping; HAVING filters completed groups. Nested queries and views are alternative query shapes; use them only when they preserve the intended row and group grain.
WHEREGROUPHAVINGresult
Aggregation order: row filter → form groups → group filter → result. Source: sql-aggregation…fig1.

Trust-but-verify checklist

RiskCheck
Inflated aggregateInspect join cardinality before grouping
Wrong filter levelRow predicate → WHERE; group predicate → HAVING
Scalar subquery failureDoes it really return one value?
View hides mistakeVerify its row grain and constraints first

Classic trap A correct-looking scalar can still come from an accidentally duplicated join. Plausibility is not validation.

08 · Transactions + recoveryC8

ACID recallA transaction is a logical unit of work that should satisfy ACID. Concurrency control and locking coordinate simultaneous transactions to prevent inconsistent or lost updates; logging supports recovery.
ACIDisolationlockinglog/recover
Transaction chain: required guarantee → isolation/control → recovery support. Source: transactions…fig1.
  1. Trace the interleaving in order; identify the inconsistent or lost update.
  2. Name the property/invariant at risk and the isolation behaviour needed.
  3. Explain how locking or versioning enforces the choice.
  4. Explain how logging/recovery handles failure.
  5. Qualify: serialisable behaviour may add blocking, retries or deadlocks.

09 · Architecture + distributionC9

Responsibility placementThree-tier architecture separates client, service and database responsibilities. Catalogue/administration supplies metadata and operational control. Distributed data adds node/link failure and consistency choices.
clientservicedatabasecatalogue + adminfailure/consistency across boundaries
Three-tier responsibility path with distributed failure boundary. Source: architecture…fig1.
Prompt clueAsk
User interactionWhat belongs at client?
Business orchestrationWhat belongs at service?
Integrity/persistenceWhat must database enforce?
Metadata/adminWhich catalogue fact/control?
Remote node/linkWhat fails; what consistency/recovery choice follows?

Boundary Distribution relocates consistency and recovery decisions; it does not make them disappear.

10 · Warehouse reasoningC10

Grain before optimisationSeparate operational from analytical data. Declare the fact table’s grain before assigning measures and dimension keys. ETL lineage preserves how every metric was derived from operational data.
operationalETL + lineagedimensionsfact grain
Warehouse discriminator: source/lineage + fact grain + dimensions. Source: data-warehousing…fig1.
StageRequired statement
ClassifyOperational or analytical purpose?
GrainExactly what one fact row represents
ModelMeasures + dimension keys at that grain
ETLTransformation from source to metric
LineageHow definition and origin remain traceable

A warehouse metric needs a stable definition before optimisation. Performance cannot repair inconsistent meaning across loads.

11 · NoSQL / JSON chooserC11

Model-selection ruleChoose a document model from access pattern, integrity, update boundary, consistency and evolution needs—not from the word “NoSQL”. Choose embedding or references by the same evidence.
documentmodelaccesspatternschemaevolutionintegrityconsistency
Document choice is bounded by access, integrity, evolution and consistency. Source: nosql-json…fig1.
ClaimRequired qualification
“Flexible schema”Field meaning/types still constrain use
“Schema-on-read”Moves the enforcement boundary; does not abolish schema
“Embed”Defend with access + update boundary
“Reference”Defend with access pattern + consistency need

Exam test State the precondition for the document choice, reject the nearest alternative, then run the consistency failure path.

12 · Security, backup, integrationC12

Two independent controlsLeast privilege: grant only what the stated role needs. Recoverability: prove it with a restore test, not the existence of a backup file.
least privilegegrant/revokebackuprestore test
Operational control tree: authorise narrowly; verify recovery. Source: security-backup…fig1.

Integrated answer order

  1. State the business rule and conceptual relationship.
  2. Translate it into keys, relations and database constraints.
  3. Predict the SQL result at the correct row/group grain.
  4. Trace concurrency and failure consequences.
  5. Place responsibility across layers; choose the data model.
  6. Apply least privilege and a tested restore path.
asksia.ai/cheatsheet/unimelb-info90002 · Full INFO90002 study guide →
Forward this to your tutorial group · Shared by ________
INFO90002v2 · 2026-10-25
Your exam is closed book: nothing printed goes in. Use this sheet to revise and self-test, not to carry.
Semester 2 examination period, 2–20 November 2026.
INFO90002
Database Systems and Data Modelling
Self-test drills · answer paths · judgement cards · exam-morning retrieval
INFO90002 cheatsheet QR code – open the full INFO90002 study guide
Full guide + ask Sia
about INFO90002
SIDE 2/2   DRILLS · IF YOU SEE X → DO Y · TRAPS · RETRIEVAL PLAN Closed-book self-test 5 worked paths · 4 marks each · v2

13 · How to drillPractice

The four-move loopRetrieve → transfer → counter-case → verify. Say the chain without notes; apply it to a changed case; find the first unsupported move; repair that move before starting another case.
retrievetransfercounter-caseverify
Self-test loop: retrieval earns value only when it survives transfer and checking. Source: practice…fig1.

Answer skeleton

  1. Object: what is being decided, at what lifecycle level?
  2. Rule: define the operator, dependency, constraint or control.
  3. Mechanism: trace how the rule changes the case.
  4. Counter-case: name the nearest alternative or failure path.
  5. Boundary: state when the conclusion must narrow or change.
If you see…Do this first
Narrative nounEntity test: identity + retained facts
Repeated valueAsk for an FD; do not normalise by appearance
AggregateWrite row grain and group grain
Concurrent scheduleTrace interleaving to anomaly

14 · Evidence boundaryC1 control

publishedscenarioinferencedecision
Do not present a plausible inference as a published fact. Source: assessment-evidence…fig2.

Control: separate what the material establishes, what the scenario supplies, what you infer, and what you recommend. Each arrow must be a checkable mechanism.

Mark-protection Answer the operation actually required; familiar terminology is not, by itself, a precondition for using a method.

14A · Trap board: modelC2–C5

TrapCorrective question
Noun ⇒ entityMust instances be identified and facts retained?
Diagram ⇒ requirementWhich business sentence sets the min/max?

15 · Worked 1: ER judgementC2 · C3 · 4 marks

Prompt: translate stakeholder language into testable requirements and justify every relationship constraint. A draft jumps from business rules straight to relationships.

Answer path · one mark each① Mark the starting business rule/object. ② Supply the missing entity/attribute mechanism: identifiable instances + retained facts. ③ Reach relationships through stated min/max participation and an identifier. ④ Bound the result: a noun is not automatically an entity; notation cannot resolve ambiguity.
businessruleentity +attributecardinality+ relation
Repair the skipped middle: rule → entity/attribute → justified relation. Source: requirements…fig1.

Full-credit conclusion

“The rule requires identifiable occurrences and stored facts, so the noun is modelled as an entity with a named identifier. Its relationship uses the stated minimum and maximum. If the stakeholder rule is ambiguous, record the question rather than using diagram notation to invent an answer.”

TrapRepair
Every noun becomes an entityApply identity + retained-facts test
Draw first, justify laterWrite business sentence first
Associative entity “solves” ambiguityReturn to missing requirement

16 · Worked 2: normalisationC4 · 4 marks

Prompt: remove update anomalies while preserving meaning and joinability. A response selects a decomposition merely because “functional dependency” appears.

Answer path · one mark each① Extract the required outcome. ② State when the claimed X→Y holds across all valid tuples. ③ Test the target normal form and the nearest alternative, then check lossless decomposition. ④ Choose/narrow: repeated-looking values alone do not prove a violation.
FDformsplitlossless
Normalisation proof path, not a repeated-value reflex. Source: logical-design…fig1.

17 · Worked 3: query resultC5 · 4 marks

Prompt: predict a query result from relational operations before running SQL. A draft recognises selection/projection but ignores joins and bag behaviour.

Answer path · one mark each① Extract the required output and starting relation(s). ② Use selection for rows and projection for attributes. ③ Apply the join and inspect matching multiplicity. ④ Check duplicates and NULL/UNKNOWN; narrow any pure-set conclusion that SQL does not preserve.
rows + attributesjoin multiplicitybag / NULL result
Work top-down; each narrowing step must preserve the intended grain. Source: relational-algebra…fig1.
Question to askFailure caught
What is one input row?Wrong starting grain
How many matches per row?Join multiplication
Are duplicates removed?Set assumption imposed on bag result
Can a predicate meet NULL?TRUE/FALSE assumption misses UNKNOWN

18 · Worked 4: aggregateC7 · 4 marks

Prompt: choose a query shape that preserves row and group grain. A draft chooses grouping/HAVING because the words are familiar.

Answer path · one mark each① State the exact output/grain. ② Use WHERE only for row predicates; form groups; use HAVING only for group predicates. ③ Test whether a nested query or view better preserves the required abstraction. ④ Inspect join cardinality before trusting the scalar/aggregate.
joingrainWHEREGROUPHAVINGverify
Aggregate control: join grain precedes filters and grouping. Source: sql-aggregation…fig2.

Classic trap A plausible total may still be inflated. The answer is incomplete until join cardinality is checked.

19 · Worked 5: concurrencyC8 · 4 marks

Prompt: trace an interleaving to an anomaly and isolation control. A draft jumps from ACID directly to logging/recovery.

Answer path · one mark each① Mark the starting transaction/invariant. ② Restore the missing locking/isolation mechanism. ③ Show how the control changes the interleaving, then connect logging to recovery. ④ Qualify: serialisable behaviour may impose blocking, retries or deadlocks.
T1isolateT2read/writeblocked?commit/logcontinue
Trace the schedule through the control; name its operational cost. Source: transactions…fig1.
If you see…Do…
Two transactions read/write shared dataOrder every operation
Inconsistent/lost resultName the anomaly and invariant
“Use serialisable”Explain enforcement + blocking/retry/deadlock cost
Failure after writesExplain logging/recovery role

20 · Method chooserC2–C12

what changes?meaningquery/resultoperationER / FDgrain / joinACID / control
New method chooser: classify the required outcome before selecting vocabulary.
Choice disciplineMeaning problem → business rule/ER/FD. Result problem → relational operations/grain/join. Operational problem → transaction/layer/distribution/security/recovery. Then test the nearest alternative.

20A · Trap board: executionC5–C8

TrapCorrective question
SQL is pure set logicWhat do duplicates and NULL/UNKNOWN do?
Aggregate looks plausibleDid the join multiply rows?
App validates itCan another writer bypass the app?
Serialisable is always bestWhat blocking/retry/deadlock cost follows?

21 · NoSQL + security cardsC11 · C12

If you see X…→ Do Y
“NoSQL is flexible”Name access pattern, field meaning/types, enforcement boundary and evolution need.
Embed vs referenceCompare access and update boundaries, integrity and consistency.
“Schema-on-read”Say where enforcement moved; schema still exists.
User/role requestGrant minimum privilege needed; use GRANT/REVOKE.
“There is a backup”Demand a restore test; a file does not prove recoverability.
access +updatesdocumentchoiceintegrity +consistency
Document-model bridge: evidence in; bounded choice out. Source: nosql-json…fig2.
least privilegegrant/revokebackup existsrestore tested?
Operational verification: authorisation and recovery answer different risks. Source: security-backup…fig2.

Classic traps

  • Keyword selection: choosing a document model, architecture or control because its label appears.
  • Flexibility = no rules: schema-on-read moves enforcement; it does not remove meaning or types.
  • Backup = recoverable: only a restore test proves the recovery path.
  • Broad privilege by default: grant only what the stated role needs at the data boundary.

22 · Fast-recall tableGlossary

TermOne-line recall
Logical independenceProtect users from schema changes
Physical independenceProtect users from storage changes
Referential integrityFK matches referenced key or allowed NULL
TransactionLogical unit of work; should satisfy ACID
NormalisationDependency-led decomposition against anomalies
Schema-on-readSchema remains; only its enforcement boundary moves
Integrated decisionCombine modelling, SQL and operational controls in one defensible database decision; test the failure path

23 · Whole-course trap boardC2–C12

TrapCorrective question
Distribution solves failureWhich new node/link failure appears?
Warehouse first, grain laterWhat exactly does one fact row represent?
NoSQL has no schemaWhere are meaning/types enforced?
Backup file = safeHas restoration been tested?
verifydecisionmechanismboundarycounter-caseevidence
Verification ring: a decision survives mechanism, boundary, counter-case and evidence. Source: practice…fig2.
Compressed judgement sentence“Because the task requires [outcome] and the precondition [condition] holds, use [method]; it changes [object] by [mechanism]. Reject [nearest alternative] because [discriminator]. Narrow the claim if [boundary].”

24 · Exam-morning planStudy strategy

recallchainschangedcasefind firstfailurerepairmovestateboundary
New retrieval sequence for the final review: recall, transfer, diagnose, repair, qualify.
  1. From memory, recite: lifecycle; entity test; cardinality; X→Y; selection/projection/join; WHERE→GROUP→HAVING; ACID/control/recovery.
  2. Recite the advanced chain: layers/distribution; fact grain/ETL/lineage; document choice; least privilege; restore test.
  3. Take one changed scenario. Classify the required outcome before choosing the method.
  4. Speak the answer skeleton: object → rule → mechanism → counter-case → boundary.
  5. Record the first unsupported move and repair only that move; then repeat without looking.
Final mental checksumMeaning correct? Grain correct? Constraint at the strongest boundary? Failure path traced? Trade-off stated?

Morning rule Use this page to retrieve, not to reread passively. On exam day the sheet stays out; what matters is whether each chain can be reconstructed and applied.

asksia.ai/cheatsheet/unimelb-info90002 · Full INFO90002 study guide →
Forward this to your tutorial group · Shared by ________
INFO90002v2 · 2026-10-25
Your exam is closed book: nothing printed goes in. Use this sheet to revise and self-test, not to carry.
Semester 2 examination period, 2–20 November 2026.

Want one for YOUR exact syllabus?

Sia is your free desktop study agent. Drop your University of Melbourne INFO90002 slides — Sia builds a sheet tailored to YOUR exam. Better than this library because it knows YOUR materials.

↓ Download Sia · Free