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.
Practise OCR GCSE Computer Science Testing with exam-style questions for GCSE Computer Science. 21 questions, matched to the OCR GCSE Computer Science (J277) specification and written in Component 01 and Component 02 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.