Skip to content

Course home

Sign up

Develop code

EasyMediumHard
12345678910111213141516171819
Question 16

A chemical plant engineer writes a control script designed to monitor a reactor's temperature, but accidentally creates an infinite loop:

SET temperature TO 95
WHILE temperature >= 80
    OUTPUT "Reactor status: Stable..."
ENDWHILE

State one action the engineer can take to force this program to stop running when it is executing in an Integrated Development Environment (IDE) or command line console.

[1]
Markscheme

Develop code Questions

  1. GCSE
  2. /Computer Science
  3. /Develop code

51 exam-style questions on Edexcel GCSE Computer Science Develop code, covering Decomposition and abstraction to solve problems, Read, write, analyse and refine programs, Converting algorithms into programs, Techniques for readable, maintainable code, Identifying and correcting program errors, and Evaluating program fitness and efficiency. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank