Past-paper question · 2022 May-June · Paper 23 · Q1(c)

Question 1(c) 2022 · May-June · Paper 23 · 4 marks

Original past-paper question for 1(C)
Original past-paper question for 1(C)
Reveal official mark-scheme answer Official mark-scheme answer for 1(C)

Official answer for Question 1

Part (c)

✓
One mark per mark point, max four

Question 4

✓
MP1
✓
introduce a (new) variable/array for the number of days for the booking // introduce a (new) variable/array for the
✓
number of days for booking the same room // identify the number of days the same room has been booked by the
✓
same client
✓
MP2
✓
use a conditional/IF statement to check if the length of the booking is 2 to 6 inclusive / 2, 3, 4, 5, or 6 //Use a
✓
CASE statement
✓
MP3
✓
… if it is, get the daily rate for the room booking
✓
MP4
✓
… multiply the number of days for the booking by the room rate
✓
MP5
✓
… multiply the total cost of the booking by 70%/.7// reduce the total cost by 30%
✓
Explanation Task 2
✓
0478/23
✓
Cambridge IGCSE – Mark Scheme
✓
May/June 2022
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 0478_s22_ms_23.pdf →

Show text version of question

Question 1

Part (c)

Question 1

All variables, constants and other identifiers must have meaningful names.

Part (c)

Explain how your program in Task 2 could be altered to allow a 30% discount on bookings for

the same meeting room of two to six days, inclusive.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................

[4]

Question 4

Topic relevance

Why this question appears here

99% assigned-topic match · Programming › Programming concepts

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 0478_s22_qp_23.pdf

Keep practising this topic