An autonomous drone's altitude control system behaves unexpectedly during flight tests, despite the code compiling and executing without any system crashes.
Explain what is meant by a logic error in this context, and describe one specific example of a logic error that could cause such an issue in the drone's software.
21 exam-style questions on OCR GCSE Computer Science Testing. Each one has a worked solution and a mark scheme showing where the marks go.