Past-paper question · 2017 October-November · Paper 23 · Q1(b)

Question 1(b) 2017 · October-November · Paper 23 · 5 marks

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

Official answer for Question 1

Part (b)

✓
Any five from:

Question 5

✓
•
✓
Prompt for plane
✓
•
✓
Input plane
✓
•
✓
Prompt for another input length of flight along with the input.
✓
•
✓
Attempt at calculation of maximum number of flights in a day
✓
•
✓
Using correct values for maximum number of flights (from calculation or
✓
otherwise)
✓
•
✓
Calculation/determination of cost of a single flight for selected plane and
✓
duration
✓
•
✓
Calculation of income that can be generated for one combination of
✓
plane and flight
✓
•
✓
Output of total possible income for one combination of plane and flight
✓
with message(s)
✓
Algorithm example:
✓
OUTPUT "Please Enter Type of Plane"
✓
OUTPUT "1: 2 Seater"
✓
OUTPUT "2: 4 Seater"
✓
OUTPUT "3: Historic"
✓
INPUT PlaneType
✓
OUTPUT "Please Enter Length of Flight"
✓
INPUT FlightLength
✓
CASE FlightLength of
✓
30: OUTPUT "Maximum number of flights is 10"
✓
60: OUTPUT "Maximum number of flights is 6"
✓
OTHERWISE OUTPUT "Invalid length of flight"
✓
ENDCASE
✓
CASE PlaneType of
✓
1: Price30 Å 100; Price60 Å
✓
150
✓
2: Price30 Å 120; Price60 Å
✓
200
✓
3: Price30 Å 120; Price60 Å
✓
500
✓
OTHERWISE OUTPUT "Invalid type
✓
of plane"
✓
ENDCASE
✓
CASE FlightLength of
✓
30: OUTPUT "Total Possible Income is ", Price30 * 10
✓
60: OUTPUT "Total Possible Income is ", Price60 * 6
✓
ENDCASE

Mark scheme 2210_w17_ms_23.pdf →

Show text version of question

Question 1

Part (b)

Part (b)

Write an algorithm to complete Task 1, using either pseudocode, programming statements

or a flowchart.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Question 5

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

...............................................................................................................................................[5]

Question 6

Topic relevance

Why this question appears here

98% assigned-topic match · Algorithm design and problem-solving

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 2210_w17_qp_23.pdf

Keep practising this topic