An engineer is designing the flight control software for an autonomous delivery drone. Rather than writing a single monolithic block of code, they implement the obstacle detection, altitude adjustment, and battery monitoring routines as separate, self-contained subroutines.
Explain one advantage of using structured programming techniques, such as subroutines, in this specific development context.
131 exam-style questions on AQA GCSE Computer Science Structured programming and subroutines (procedures and functions). Each one has a worked solution and a mark scheme showing where the marks go.