An automated marine drone is used to collect environmental telemetry. The drone's onboard software has a procedure, LogTelemetry(), that appends sensor readings to an external log file.
The procedure LogTelemetry():
Write the procedure LogTelemetry() using either OCR Exam Reference Language, AQA Pseudo-code, or a high-level programming language that you have studied.
95 exam-style questions on OCR GCSE Computer Science Programming fundamentals. Each one has a worked solution and a mark scheme showing where the marks go.