3Easy
0/1

A program uses the following code to check a user's input:

01 score = int(input("Enter validation score: "))
02 if score < 75:
03     print("Action required: Improvement needed")
04 else:
05     print("Acceptable standard reached")

State the largest integer the user could enter on line 01 to cause the message 'Action required: Improvement needed' to be displayed.

[1]

Input/output Questions

Practise Edexcel GCSE Computer Science Input/output with exam-style questions for GCSE Computer Science. 29 questions covering Accepting and responding to user input, Reading and writing CSV text files, Implementing validation, and Implementing authentication, matched to the Edexcel GCSE Computer Science (1CP2) specification and written in Paper 1 and Paper 2 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.

PreviousNext

Input/output Questions

  1. GCSE
  2. /Computer Science
  3. /Input/output