A programmer writes a script designed to monitor a network connection, but accidentally creates an infinite loop.
SET status TO "active"
WHILE status == "active"
OUTPUT "Monitoring network traffic..."
ENDWHILE
State one action the programmer can take to force this program to stop running when it is executing in an Integrated Development Environment (IDE) or console.
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.