Tier 1
Series 5
5G: The Agency Exam
Capstone Exam
"The AI has generated a "Fleet Manager" that is causing severe stuttering in the simulation. Identify the three critical collection failures to restore flight performance."
Target Asset for Audit
FRAGILE_CODE_DETECTED
using UnityEngine;
using System.Collections.Generic;
public class FleetManager : MonoBehaviour {
// Audit Requirement: Lesson 5F (Invisible Inventory)
List<Drone> activeFleet = new List<Drone>();
public void RegisterDrone(Drone d) {
activeFleet.Add(d);
}
public void SetDroneAlert(int id) {
// Audit Requirement: Lesson 5C (Search Friction)
foreach (Drone d in activeFleet) {
if (d.droneID == id) {
d.TriggerAlert();
break;
}
}
}
void OnDisable() {
// Audit Requirement: Lesson 5E (Memory Ghosting)
// Missing sanitation!
}
}