---
id: "{{ID}}"
title: "{{TITLE}}"
type: "EXIT_TICKET"
created_by: "Curriculum OS Builder"
phase: "{{PHASE}}"
deliverable: "P3-T10"
version: "{{VERSION}}"
date: "{{DATE}}"
template_contract: "artifact-template-v1"
template_required_sections:
  - "Target Learning Objectives"
  - "Part 1: Recall & Conceptual Anchor (Prompt 1)"
  - "Part 2: Application & Bug Hunt (Prompt 2)"
  - "Part 3: Metacognitive Reflection & Confidence Check (Prompt 3)"
  - "Scoring & Teacher Intervention Trigger"
---
<!-- INJECT_BODY -->

# FORMATIVE EXIT TICKET: [LESSON TITLE]
_Unit: U[X] | Module: M[X.X] | Lesson: Lesson [XX] | Estimated Time: 5-7 mins_

## Target Learning Objectives
- **Target LO 1 (ULO):** [The universal conceptual objective being assessed, e.g., "The learner will be able to understand the immutability of declarative views."]
- **Target LO 2 (CIO/SIO):** [The concrete technical objective, e.g., "The learner will be able to bind state variables to UI controls using @State."]

---

## Part 1: Recall & Conceptual Anchor (Prompt 1)
> *Objective: Test core mental model without allowing rote syntax memorization.*

**Question 1:**  
[Present a conceptual scenario or analogy comparison. E.g., "In SwiftUI, why does modifying a regular local variable inside `body` fail to trigger a screen re-render, whereas mutating a `@State` property causes the View to update?"]

- **Student Answer Area:**  
  ```text
  [Write 1-2 concise sentences explaining the difference in runtime mechanism]
  ```

---

## Part 2: Application & Bug Hunt (Prompt 2)
> *Objective: Test code diagnosis and precise correction in ≤ 3 lines of modification.*

**Code Snippet:**  
```swift
// [Provide a minimal 4-8 line realistic code snippet containing exactly 1 bug or missing annotation]
struct CounterDisplay: View {
    var counter: Int = 0 // Line containing deliberate bug
    
    var body: some View {
        Button("Increment: \(counter)") {
            counter += 1
        }
    }
}
```

**Task:**  
1. **Identify the Compiler/Runtime Error:** [E.g., "Cannot assign to property: 'self' is immutable"]
2. **Corrected Line:**  
   ```swift
   // [Write the single corrected line of code]
   ```

---

## Part 3: Metacognitive Reflection & Confidence Check (Prompt 3)
> *Objective: Empower student self-regulation and provide immediate diagnostic signals.*

**Traffic Light Self-Assessment:**  
- [ ] 🟢 **Green (Mastered):** "I can build and explain this concept to a peer without any hints."
- [ ] 🟡 **Yellow (Needs Practice):** "I understand the concept but got stuck on syntax or error messages."
- [ ] 🔴 **Red (Blocked):** "I need help understanding why this architecture is used."

**One Lingering Question (Exit Ticket Note):**  
```text
[What is one question you still have before leaving today's lab?]
```

---

## Scoring & Teacher Intervention Trigger
- **Proficiency Threshold:** Green/Yellow check + Correct Answer to Part 2 Bug Hunt.
- **Intervention Protocol:** If $\ge 25\%$ of students mark 🔴 Red or miss Part 2, start next session with a 5-minute Live Debugging Warm-up.
