Blame
|
1 | > **DRAFT** — under teacher review. |
||||||
| 2 | ||||||||
| 3 | # Context Diagram vs Data Flow Diagram — What Goes Where |
|||||||
| 4 | ||||||||
| 5 | Hamilton College · Year 12 · 2026 |
|||||||
| 6 | ||||||||
| 7 | One of the most common errors in C2-2 is treating these two diagrams as interchangeable — or producing a second context diagram and calling it a DFD. They are different levels of the same model, and each has strict rules about what can appear on it. |
|||||||
| 8 | ||||||||
| 9 | --- |
|||||||
| 10 | ||||||||
| 11 | ## Watch first (≈8 min) |
|||||||
| 12 | ||||||||
| 13 | {{Video|src=https://www.youtube.com/watch?v=XeJs9sYAuMg}} |
|||||||
| 14 | ||||||||
| 15 | *NSW Software Engineering — covers context diagrams and dataflow diagrams side by side using the same worked example. The notation conventions align closely with VCE.* |
|||||||
| 16 | ||||||||
| 17 | --- |
|||||||
| 18 | ||||||||
| 19 | ## Side-by-side: the two diagrams compared |
|||||||
| 20 | ||||||||
| 21 | | Feature | Context Diagram (Level 0) | Level-1 DFD | |
|||||||
| 22 | |---|---|---| |
|||||||
| 23 | | **How many system shapes?** | Exactly **one circle** — the whole system | **3–6 circles** — one per major process | |
|||||||
| 24 | | **System shapes labelled as** | Your system's name (e.g. "Study Planner") | Numbered verb-noun phrases (e.g. "1. Verify Login") | |
|||||||
| 25 | | **Internal processes shown?** | **No** — this is the most common mistake | **Yes** — that is the whole point of Level 1 | |
|||||||
| 26 | | **Data stores shown?** | **No** | **Yes** — two parallel lines, named | |
|||||||
| 27 | | **External entities** | Yes — rectangles outside the system circle | Yes — same entities as the context diagram | |
|||||||
| 28 | | **Data flow labels** | Specific (e.g. "login credentials") | Specific — must be consistent with context diagram | |
|||||||
| 29 | | **Entity ↔ Entity flows?** | Never | Never | |
|||||||
| 30 | | **Entity ↔ Data store flows?** | N/A | Never — all flows go through a process | |
|||||||
| 31 | ||||||||
| 32 | --- |
|||||||
| 33 | ||||||||
| 34 | ## The most common mistakes |
|||||||
| 35 | ||||||||
| 36 | ### On the context diagram |
|||||||
| 37 | ||||||||
| 38 | - **Showing internal processes** (e.g. drawing "Verify User" or "Save Data" as separate circles). If you have more than one circle, you have drawn a DFD, not a context diagram. |
|||||||
| 39 | - **Showing a data store** (the double-line rectangle). Data stores do not exist at context-diagram level — the whole system is one black box. |
|||||||
| 40 | - **Connecting entities to each other** with arrows. Every arrow must touch the system circle. |
|||||||
| 41 | ||||||||
| 42 | ### On the Level-1 DFD |
|||||||
| 43 | ||||||||
| 44 | - **Drawing only one process circle** — that is a context diagram in disguise. Decompose the system into its major functions (3–6 processes). |
|||||||
| 45 | - **Missing data stores** — if your software saves anything (user accounts, records, preferences), you need at least one data store. |
|||||||
| 46 | - **Inconsistent entities** — your DFD entities must be identical names and roles to your context diagram entities. Divergence is a rubric error. |
|||||||
| 47 | - **A process with only inputs and no outputs** (or only outputs) — a process that transforms nothing is not a process. |
|||||||
| 48 | ||||||||
| 49 | --- |
|||||||
| 50 | ||||||||
| 51 | ## A mental check before you submit |
|||||||
| 52 | ||||||||
| 53 | Ask yourself for each diagram: |
|||||||
| 54 | ||||||||
| 55 | **Context diagram:** "If I covered the label on the system circle, would a reader know this is one system, not a set of functions?" If you have multiple circles, it fails this check. |
|||||||
| 56 | ||||||||
| 57 | **DFD:** "Can I trace a path — from an external entity, through at least two processes and one data store, to an output?" If not, your decomposition is incomplete. |
|||||||
| 58 | ||||||||
| 59 | --- |
|||||||
| 60 | ||||||||
| 61 | ## Why VCAA cares |
|||||||
| 62 | ||||||||
| 63 | The C2-2 rubric at **3–4** requires *"illustrates the features of the context diagram/s"*. The marker is checking: one system circle, correct entities, labelled flows. Drawing internal processes on the context diagram is a notation error that costs marks at every level above 3–4. |
|||||||
| 64 | ||||||||
| 65 | At **9–10**, the rubric requires *"no errors, inconsistencies or omissions"* across all three diagrams. Inconsistent entities between context and DFD is an inconsistency — even if both diagrams are otherwise correct. |
|||||||
| 66 | ||||||||
| 67 | --- |
|||||||
| 68 | ||||||||
| 69 | ## See also |
|||||||
| 70 | ||||||||
| 71 | - [Roadmap View vs Gantt Chart](/sd/C01/Roadmap%20View%20vs%20Gantt%20Chart) — same "common mistake" structure for a C01 diagram |
|||||||
| 72 | - C02 Resources: [external reading and videos](/sd/Resources/C02-Resources) |
|||||||
| 73 | ||||||||
| 74 | --- |
|||||||
| 75 | ||||||||
| 76 | ← Back to [VCE Software Development Hub](/sd/VCE%20Software%20Development%20Hub) |
|||||||
