{
  "export_version": 1,
  "exported_at": "2026-02-22T00:00:00Z",
  "source": {
    "exam_name": "Vorlage – Aktivitätsdiagramm",
    "aufgabe_number": 1,
    "subtask_label": "a"
  },
  "subtask": {
    "id": 0,
    "aufgabe_id": 0,
    "parent_id": null,
    "label": "a",
    "sort_order": 1,
    "prompt": "<p>Die TechNova GmbH möchte den Prozess der Bestellabwicklung in ihrem Online-Shop dokumentieren.</p><p>Der Ablauf ist wie folgt:</p><ol><li>Der Kunde legt Artikel in den Warenkorb.</li><li>Der Kunde geht zur Kasse.</li><li><strong>Entscheidung:</strong> Ist der Kunde bereits registriert?<ul><li><strong>Ja:</strong> Der Kunde meldet sich an.</li><li><strong>Nein:</strong> Der Kunde erstellt ein neues Konto.</li></ul></li><li>Der Kunde wählt die Zahlungsart.</li><li>Die Bestellung wird bestätigt.</li></ol><p><strong>Erstellen Sie ein UML-Aktivitätsdiagramm für den beschriebenen Bestellprozess.</strong></p>",
    "points": 8,
    "answer_type": "diagram",
    "choices": null,
    "correct_answer": {
      "version": 1,
      "nodes": [
        {"id": "start", "type": "start", "x": 300, "y": 30},
        {"id": "n1", "type": "action", "label": "Artikel in Warenkorb legen", "x": 250, "y": 100},
        {"id": "n2", "type": "action", "label": "Zur Kasse gehen", "x": 250, "y": 180},
        {"id": "d1", "type": "decision", "label": "Registriert?", "x": 300, "y": 260},
        {"id": "n3", "type": "action", "label": "Anmelden", "x": 150, "y": 340},
        {"id": "n4", "type": "action", "label": "Konto erstellen", "x": 400, "y": 340},
        {"id": "m1", "type": "merge", "x": 300, "y": 420},
        {"id": "n5", "type": "action", "label": "Zahlungsart wählen", "x": 250, "y": 500},
        {"id": "n6", "type": "action", "label": "Bestellung bestätigen", "x": 250, "y": 580},
        {"id": "end", "type": "end", "x": 300, "y": 660}
      ],
      "transitions": [
        {"from": "start", "to": "n1"},
        {"from": "n1", "to": "n2"},
        {"from": "n2", "to": "d1"},
        {"from": "d1", "to": "n3", "label": "Ja"},
        {"from": "d1", "to": "n4", "label": "Nein"},
        {"from": "n3", "to": "m1"},
        {"from": "n4", "to": "m1"},
        {"from": "m1", "to": "n5"},
        {"from": "n5", "to": "n6"},
        {"from": "n6", "to": "end"}
      ]
    },
    "keywords": ["Startknoten", "Endknoten", "Entscheidung", "Verzweigung", "Zusammenführung"],
    "grading_notes": "2 Punkte: Korrekter Start- und Endknoten. 2 Punkte: Alle Aktionen vorhanden. 2 Punkte: Korrekte Entscheidung mit Ja/Nein-Zweigen. 2 Punkte: Zusammenführung nach der Verzweigung.",
    "explanation": "Das Aktivitätsdiagramm zeigt einen linearen Ablauf mit einer Verzweigung (Decision) bei der Prüfung, ob der Kunde registriert ist. Beide Zweige (Anmelden / Konto erstellen) werden nach der Entscheidung wieder zusammengeführt (Merge).",
    "code_template": null,
    "result_unit": null,
    "netzplan_data": null,
    "table_layout": null,
    "tags": []
  }
}
