Structured programming and subroutines (procedures and functions)

EasyMediumHard
123456789101112131415161718192021222324252627282930313233343536373839404142
Question 15
Easy

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.

[2]

Structured programming and subroutines (procedures and functions) Questions

  1. GCSE
  2. /Computer Science
  3. /Structured programming and subroutines (procedures and functions)