Tier 1
Series 7
7G: The Scout Exam
Capstone Exam
"The AI has generated a "Flight Recorder" that is technically functional but visually chaotic. Identify the **three critical syntax failures** to ensure this script is pilot-ready."
Target Asset for Audit
FRAGILE_CODE_DETECTED
using UnityEngine;
using System.Collections.Generic;
public class FlightRecorder : MonoBehaviour {
// Audit Requirement: Lesson 7A (Exposed Wires)
public List<Vector3> log_data = new List<Vector3>();
void Update() {
// Audit Requirement: Lesson 7C (Magic Number Fog)
if (Time.time > 0.5f) {
RecordPosition();
}
}
void RecordPosition() {
log_data.Add(transform.position);
}
// Audit Requirement: Lesson 7F (Structural Clutter)
// There are 50 more methods below this line with no organization...
}