An automated deep-sea research probe continuously monitors temperature readings at 5-second5\text{-second}5-second intervals until it detects a thermal vent, defined as a temperature exceeding 45∘C45^\circ\text{C}45∘C. A logical looping construct is required in the onboard microprocessor's firmware to manage this monitoring sequence.
State the most appropriate type of loop to use for this task and justify your choice.
50 exam-style questions on Edexcel GCSE Computer Science Constructs, covering Structural components of programs and Writing programs with control constructs. Each one has a worked solution and a mark scheme showing where the marks go.