Tier 3
Series 203
203G: The Avionics Exam
Capstone Exam
"The cockpit displays are glitching. The HUD is misaligned on different screens, the weapon buttons are exposing private logic, and the fuel gauge is crashing the engine script. Identify the three critical interface failures."
Target Asset for Audit
FRAGILE_CODE_DETECTED
using UnityEngine;
using UnityEngine.UI;
public class ShipHUD : MonoBehaviour {
// Audit Requirement: Lesson 203A/B (Toolkit)
// Error 1: Legacy UI References
public Text healthText;
void Update() {
// Audit Requirement: Lesson 203C (MVC)
// Error 2: Searching every frame
GameObject.Find("Score").GetComponent<Text>().text = "100";
}
// Audit Requirement: Lesson 203D (Events)
// Error 3: Public Method for Button
public void OnFireClicked() {
Fire();
}
}