Skip to content

Course home

Sign up

Input/output

EasyMediumHard
123456789101112131415
Question 3

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]
Markscheme

Input/output Questions

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

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.

Question bank