Question 1
Edexcel Computer Science June 2021 Paper 2GCSE7 marks
On the specification
- (a)
- 6.3 Data types and structures
- (b)
- 6.2 Program constructs6.4 Input and output
- (c)
- 6.5 Operators
Question text
1 A computer program is used to check and record membership applications. The first name, last name and telephone number of people applying for membership are stored as variables. (a) State two other items that need to be stored as variables. (2) 1 2 (b) Full members enjoy free off-peak racket sports and get a 50% discount when booking badminton and squash courts for peak times. A computer program is used to manage the bookings. Complete the table to show an input, a process and an output. Input Process Output Match membership number Membership type with membership type Available – proceed with Booking date and time booking required Not available – return to input If yes apply discount to cost of Peak time Yes/no booking (3) (c) The basic cost of a full membership is £432.00 for a 12-month contract. Most members choose to pay this in monthly instalments. The basic cost of a full membership is adjusted by applying a 5% discount for each consecutive year of membership. Construct a general expression to calculate the monthly cost of a full membership. (2) (Total for Question 1 = 7 marks)