Skip to content

Course home

Constructs

Constructs

EasyMedium
1234
Question 2

A programmer is writing a Python program to manage a membership system.

A user enters a member's name and their loyalty points balance when the program executes.

The program should display the message 'Upgrade available for ' followed by the member's name specifically when the loyalty points balance is greater than 500.

An incomplete version of the code is shown below:

name = input("Enter member name: ")
points = int(input("Enter loyalty points: "))

# Complete the code below

Amend the code to complete the program as specified.

[4]
Markscheme

Constructs Questions

  1. IGCSE
  2. /Computer Science
  3. /Constructs

18 exam-style questions on Edexcel IGCSE Computer Science Constructs. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank