A monitoring program uses the following code to validate the pressure differential in an extraction system:
01 pressure = int(input("Enter pressure differential in Pa: "))
02 if pressure < -45:
03 print("System unstable: Pressure too low")
04 else:
05 print("System pressure within normal parameters")
State the largest integer the user could enter on line 01 to cause the message 'System unstable: Pressure too low' to be displayed.
25 exam-style questions on Edexcel GCSE Computer Science Input/output, covering Accepting and responding to user input, Reading and writing CSV text files, Implementing validation, and Implementing authentication. Each one has a worked solution and a mark scheme showing where the marks go.