Tier 2 Series 102

102G: The Inspector Exam

Capstone Exam
"The Flight Computer is throwing errors. The navigation system is null, the thrusters are undocumented, and the dependency wiring is exposed. Identify the three critical failures to certify your status as a Flight Engineer II."

Target Asset for Audit

FRAGILE_CODE_DETECTED
using UnityEngine;
using UnityEngine.UI;

public class FlightComputer : MonoBehaviour {
    
    // Audit Requirement: Lesson 102F (Documentation)
    public float thrust; 

    // Audit Requirement: Lesson 102B (Null Safety)
    public Text statusDisplay;

    void Update() {
        // Audit Requirement: Lesson 102C (String Safety)
        statusDisplay.text = "Thrust: " + thrust; 
    }
}

Supervisor's Certification

Authenticated Pilot
pilot_2463c111f7d066d5
Session Secure

Failure Point #1

String Allocation Safety

The update loop creates garbage strings. Command the AI to optimize the text update or use a StringBuilder/cached string.

Failure Point #2

Null Reference Defense

Command the AI to verify the statusDisplay exists before trying to write text to it.

Failure Point #3

Dashboard Documentation

Command the AI to add a Tooltip and a Range (0-100) to the thrust variable.