Structured programming and subroutines (procedures and functions)

EasyMediumHard
123456789101112131415161718192021222324252627282930313233343536373839404142
Question 26
Easy

A software engineer is developing control software for an autonomous delivery drone. The program must handle several distinct tasks, including path planning, battery monitoring, and collision avoidance.

Explain one benefit of implementing these tasks as separate subroutines (procedures or functions) rather than writing the entire program as a single monolithic block of code.

[2]

Structured programming and subroutines (procedures and functions) Questions

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