Edexcel IAL · PastPaper.sampleTitle

MetadataPastPaper.sampleTitle

Thinka Jan 2026 (V2) Cambridge International A Level-Style Mock — Mathematics (YMA01)

75 PastPaper.marks90 PastPaper.minutes2026
An original Thinka practice paper modelled on the structure and difficulty of the Jan 2026 (V2) Cambridge International A Level Mathematics (YMA01) paper. Not affiliated with or reproduced from Cambridge.

Single Section

Answer all questions in the spaces provided.
7 PastPaper.question · 74.9 PastPaper.marks
PastPaper.question 1 · Algorithmic & Practical Problems
10.7 PastPaper.marks
A list of numbers is to be sorted into descending order using a bubble sort. The list is: \(14, 8, 22, 19, 15, 27, 11\). (a) Show the state of the list after each of the first three passes. (b) Find the total number of comparisons and swaps performed during the complete bubble sort. (c) The sorted numbers represent the lengths, in cm, of pipes to be cut from stock pipes of length 45 cm. Use the first-fit decreasing bin-packing algorithm to determine how the pipes should be packed into stock pipes.
PastPaper.showAnswers

PastPaper.workedSolution

(a) Initial list: \(14, 8, 22, 19, 15, 27, 11\). For descending order: Pass 1: Compare 14 and 8 (no swap), 8 and 22 (swap), 8 and 19 (swap), 8 and 15 (swap), 8 and 27 (swap), 8 and 11 (swap). List after Pass 1: \(14, 22, 19, 15, 27, 11, 8\). Pass 2: Compare 14 and 22 (swap), 14 and 19 (swap), 14 and 15 (swap), 14 and 27 (swap), 14 and 11 (no swap). List after Pass 2: \(22, 19, 15, 27, 14, 11, 8\). Pass 3: Compare 22 and 19 (no swap), 19 and 15 (no swap), 15 and 27 (swap), 15 and 14 (no swap). List after Pass 3: \(22, 19, 27, 15, 14, 11, 8\). (b) Continuing the passes: Pass 4: Compare 22 and 19 (no swap), 19 and 27 (swap), 19 and 15 (no swap). List: \(22, 27, 19, 15, 14, 11, 8\). Pass 5: Compare 22 and 27 (swap), 22 and 19 (no swap). List: \(27, 22, 19, 15, 14, 11, 8\). Pass 6: Compare 27 and 22 (no swap). List: \(27, 22, 19, 15, 14, 11, 8\). Comparisons in each pass: 6 + 5 + 4 + 3 + 2 + 1 = 21 comparisons. Swaps in each pass: 5 + 4 + 1 + 1 + 1 + 0 = 12 swaps. (c) First-fit decreasing packing with stock of length 45 cm: Sorted list: \(27, 22, 19, 15, 14, 11, 8\). Bin 1: 27 fits. 22 does not fit (27+22=49). 19 does not fit. 15 fits (27+15=42). Remaining space: 3. No other items fit. Bin 2: 22 fits. 19 fits (22+19=41). Remaining space: 4. No other items fit. Bin 3: 14 fits. 11 fits (14+11=25). 8 fits (25+8=33). Remaining space: 12.

PastPaper.markingScheme

(a) M1: First pass completed correctly. A1: Second pass correct. A1: Third pass correct. (b) M1: Clear attempt to count comparisons and swaps for all passes. A1: 21 comparisons. A1: 12 swaps. (c) M1: Sorting the list descending (from part b) and attempting first-fit. A1: Correctly placing 27, 15 in Bin 1 and 22, 19 in Bin 2. A1: Correctly placing 14, 11, 8 in Bin 3.
PastPaper.question 2 · Algorithmic & Practical Problems
10.7 PastPaper.marks
A network has vertices A, B, C, D, E, F, G and weighted edges: \(AB = 5\), \(AC = 6\), \(BC = 3\), \(BD = 4\), \(CD = 4\), \(CE = 9\), \(DE = 3\), \(DF = 6\), \(EG = 5\), \(FG = 4\). (a) Use Dijkstra's algorithm to find the shortest path from A to G. Show all working values, order of labelling, and final labels at each vertex. (b) Write down the shortest path and its length. (c) Find a route of minimum length that starts at A and ends at G, passing through C and D.
PastPaper.showAnswers

PastPaper.workedSolution

(a) Dijkstra's algorithm trace: Label 1 at A: value 0. Working values: B: 5, C: 6. Label 2 at B: value 5. Working values: C: 6, D: 5+4 = 9. Label 3 at C: value 6. Working values: D: 9 (since 6+4=10 is not smaller), E: 6+9 = 15. Label 4 at D: value 9. Working values: E: 9+3 = 12 (replaces 15), F: 9+6 = 15. Label 5 at E: value 12. Working values: G: 12+5 = 17. Label 6 at F: value 15. Working values: G: 17 (since 15+4=19 is not smaller). Label 7 at G: value 17. (b) Shortest path is A -> B -> D -> E -> G with length 17. (c) To find the shortest route passing through C and D: Path must go from A to C, then C to D, then D to G. Shortest A to C is AC of length 6. Shortest C to D is CD of length 4. Shortest D to G is D-E-G of length 3+5 = 8. Total length = 6 + 4 + 8 = 18. Route is A-C-D-E-G.

PastPaper.markingScheme

(a) M1: Start at A and correctly assign first two working values. A1: Correct order of labelling for vertices B, C, D. A1: Correct order of labelling for E, F, G. A1: All final values correct. (b) B1: Correct shortest path. B1: Correct length of 17. (c) M1: Realises the path must be partitioned into A-C, C-D, and D-G. A1: Correct path A-C-D-E-G and minimum length of 18.
PastPaper.question 3 · Algorithmic & Practical Problems
10.7 PastPaper.marks
A network representing paths in a park has vertices P, Q, R, S, T, U, V and edges with weights: \(PQ = 12\), \(PS = 15\), \(QR = 10\), \(QS = 8\), \(RS = 13\), \(RT = 14\), \(ST = 9\), \(SU = 11\), \(TU = 7\), \(TV = 13\), \(UV = 16\). (a) Explain why a route inspection is needed and state the number of times the vertex S will be visited in the optimal route. (b) Find the edges that must be traversed twice and the total length of the shortest inspection route. (c) State, with a reason, whether it is possible to start at P and end at V and traverse every edge at least once.
PastPaper.showAnswers

PastPaper.workedSolution

(a) A route inspection is needed to find a trail of minimum weight that traverses every edge at least once, which is useful for tasks like road-sweeping or security patrols. Degrees of vertices: P: 2, Q: 3, R: 3, S: 5, T: 4, U: 3, V: 2. Odd vertices are Q, R, S, U. In the optimal solution, the repeated edges are QR and SU. The degree of S increases by 1 to become 6. Thus, S is visited 6 / 2 = 3 times. (b) Sum of all edges = 12 + 15 + 10 + 8 + 13 + 14 + 9 + 11 + 7 + 13 + 16 = 128. Pairings of odd vertices (Q, R, S, U): 1) QR and SU: QR (10) + SU (11) = 21. 2) QS and RU: QS (8) + RU via R-T-U (14+7=21) = 29. 3) QU and RS: QU via Q-S-U (8+11=19) + RS (13) = 32. The minimum pairing is QR and SU with sum 21. The edges to repeat are QR and SU. Total length = 128 + 21 = 149. (c) Yes, it is possible. To have a semi-Eulerian path from P to V, P and V must be the only odd vertices in the resulting network. We can pair up the 6 vertices (P, Q, R, S, U, V) so that only P and V have odd degrees in the final graph (e.g. by pairing P with an odd vertex, V with another odd vertex, and pairing the remaining two odd vertices).

PastPaper.markingScheme

(a) B1: Explanation of route inspection. M1: Finding degrees of vertices and identifying S's degree increases from 5 to 6. A1: Deduces 3 visits. (b) M1: Formulates the three pairings of the four odd vertices. A1: Correct pairings and sums (21, 29, 32). A1: Identifies QR and SU as repeated. A1: Total length 149. (c) M1: Deduces condition for starting at P and ending at V. A1: Explains that pairing all 6 vertices makes only P and V odd, hence possible.
PastPaper.question 4 · Algorithmic & Practical Problems
10.7 PastPaper.marks
A company makes two types of metal storage boxes: Standard (\(x\)) and Deluxe (\(y\)). The weekly resource constraints are: Steel: \(3x + 4y \le 180\), Labor: \(3x + 2y \le 120\), Paint: \(x + 2y \le 70\), Minimum Standard: \(x \ge 10\), where \(x\) and \(y\) are non-negative integers. The profit on each Standard box is £15, and on each Deluxe box is £25. (a) Formulate this as a linear programming problem, stating the objective function to be maximized. (b) Represent the constraints graphically, shading the unwanted regions to identify the feasible region \(R\). (c) Find the optimal number of Standard and Deluxe boxes to produce each week, and the maximum weekly profit.
PastPaper.showAnswers

PastPaper.workedSolution

(a) Maximize \(P = 15x + 25y\) subject to: \(3x + 4y \le 180\), \(3x + 2y \le 120\), \(x + 2y \le 70\), \(x \ge 10\), \(y \ge 0\). (b) Draw boundary lines: Line 1: \(3x + 4y = 180\) passes through (0, 45), (60, 0). Line 2: \(3x + 2y = 120\) passes through (0, 60), (40, 0). Line 3: \(x + 2y = 70\) passes through (0, 35), (70, 0). Line 4: \(x = 10\). Feasible region \(R\) is bounded by vertices: (10, 0), (10, 30) [intersection of \(x=10\) and \(x+2y=70\)], (25, 22.5) [intersection of \(x+2y=70\) and \(3x+2y=120\)], (40, 0) [intersection of \(3x+2y=120\) and \(y=0\)]. (c) Objective function: \(P = 15x + 25y\). At non-integer vertex (25, 22.5), \(P = 937.5\). Test nearby integer points: (24, 23): \(3(24)+2(23)=118 \le 120\), \(24+2(23)=70 \le 70\), \(3(24)+4(23)=164 \le 180\) (Feasible). Profit = \(15(24) + 25(23) = 935\). (25, 22): \(3(25)+2(22)=119 \le 120\), \(25+2(22)=69 \le 70\). Profit = \(15(25) + 25(22) = 925\). (22, 24): \(22+48=70 \le 70\). Profit = \(15(22) + 25(24) = 930\). Thus, the maximum profit is £935 when producing 24 Standard and 23 Deluxe boxes.

PastPaper.markingScheme

(a) B1: Correct objective function. B1: All constraints written correctly. (b) M1: Plotting at least two boundary lines correctly. A1: Correctly shading region for \(x \ge 10\) and \(y \ge 0\). A1: Identifying the boundaries of \(R\) correctly. (c) M1: Attempting to test vertices or using objective line method. A1: Testing nearby integer coordinates around (25, 22.5). A1: Correct optimal values (24, 23). A1: Correct maximum profit £935.
PastPaper.question 5 · Algorithmic & Practical Problems
10.7 PastPaper.marks
A manufacturer wants to maximize the weekly profit, \(P\), in pounds, from three types of garden benches: Teak (\(x\)), Mahogany (\(y\)), and Pine (\(z\)). The constraints are: Cutting: \(2x + y + 3z \le 150\), Assembly: \(x + 2y + z \le 120\), Finishing: \(3x + y + 2z \le 180\). The profit function is \(P = 40x + 30y + 35z\). (a) Write down the initial Simplex tableau, introducing slack variables \(s_1, s_2, s_3\). (b) Perform one iteration of the Simplex algorithm, choosing the pivot from the column with the most negative entry in the objective row. State the row operations used. (c) State the values of \(x, y, z, s_1, s_2, s_3\) and \(P\) after this first iteration.
PastPaper.showAnswers

PastPaper.workedSolution

(a) Initial Simplex tableau equations: Row 1 (s1): \(2x + y + 3z + s_1 = 150\). Row 2 (s2): \(x + 2y + z + s_2 = 120\). Row 3 (s3): \(3x + y + 2z + s_3 = 180\). Row 4 (P): \(-40x - 30y - 35z + P = 0\). (b) Pivot column is \(x\) (most negative value is -40). Ratios: Row 1: 150/2 = 75; Row 2: 120/1 = 120; Row 3: 180/3 = 60. Row 3 has the smallest positive ratio, so the pivot is 3 in Row 3. Divide Row 3 by 3 to get New Row 3: \(x + \frac{1}{3}y + \frac{2}{3}z + \frac{1}{3}s_3 = 60\). Row operations to update other rows: New Row 1 = Old Row 1 - 2*(New Row 3) \(\implies \frac{1}{3}y + \frac{5}{3}z + s_1 - \frac{2}{3}s_3 = 30\). New Row 2 = Old Row 2 - (New Row 3) \(\implies \frac{5}{3}y + \frac{1}{3}z + s_2 - \frac{1}{3}s_3 = 60\). New Row 4 = Old Row 4 + 40*(New Row 3) \(\implies -\frac{50}{3}y - \frac{25}{3}z + \frac{40}{3}s_3 + P = 2400\). (c) The basic variables are \(x, s_1, s_2, P\). Non-basic variables are \(y, z, s_3\), which are set to 0. Therefore: \(x = 60\), \(y = 0\), \(z = 0\), \(s_1 = 30\), \(s_2 = 60\), \(s_3 = 0\), \(P = 2400\).

PastPaper.markingScheme

(a) M1: Introducing three slack variables and formulating the objective row. A1: Correct initial tableau representation. (b) M1: Identifying column x as the pivot column and calculating ratios. A1: Identifying the pivot element 3 in Row 3. A1: Correct row operations specified. A1: Correctly updated values in all rows. (c) M1: Knowing how to read basic and non-basic variable values. A1: Correct values for all variables including P.
PastPaper.question 6 · Algorithmic & Practical Problems
10.7 PastPaper.marks
A project consists of 8 activities, A to H. The duration and immediate predecessors of each activity are shown in the table below:

Activity | Duration | Predecessors
A | 5 | -
B | 4 | -
C | 6 | A
D | 3 | A, B
E | 7 | B
F | 4 | C, D
G | 8 | D, E
H | 5 | F, G

(a) Draw the activity network for the project using activity-on-arc, showing any necessary dummy activities. (b) Perform a forward and backward pass to find the earliest and latest event times. (c) State the critical activities and the minimum completion time for the project.
PastPaper.showAnswers

PastPaper.workedSolution

(a) An activity-on-arc network is drawn. We need dummy activities because D depends on both A and B, while C depends only on A and E depends only on B. Let Event 1 be Start, Event 2 be End of A, Event 3 be End of B. Dummy 1 goes from 2 to 4 and Dummy 2 goes from 3 to 4. D starts at 4. Also, F depends on C and D, while G depends on D and E. D goes from 4 to 5. We use dummies from 5 to 6 (start of F, where C also ends) and from 5 to 7 (start of G, where E also ends). (b) Earliest Event Times (EST): Event 1 = 0; Event 2 = 5; Event 3 = 4; Event 4 = max(5,4) = 5; Event 5 = 5+3 = 8; Event 6 = max(5+6, 8) = 11; Event 7 = max(4+7, 8) = 11; Event 8 (start of H) = max(11+4, 11+8) = 19; Event 9 (Finish) = 19+5 = 24. Latest Event Times (LFT): Event 9 = 24; Event 8 = 19; Event 6 = 15; Event 7 = 11; Event 5 = min(15, 11) = 11; Event 4 = 11-3 = 8; Event 3 = min(11-7, 8) = 4; Event 2 = min(15-6, 8) = 8; Event 1 = min(8-5, 4-4) = 0. (c) The critical activities have zero float. B: float = 4 - 0 - 4 = 0 (critical). E: float = 11 - 4 - 7 = 0 (critical). G: float = 19 - 11 - 8 = 0 (critical). H: float = 24 - 19 - 5 = 0 (critical). Critical path: B -> E -> G -> H. Minimum completion time is 24.

PastPaper.markingScheme

(a) M1: Attempting to draw activity-on-arc with at least one dummy. A1: Correctly representing dependencies for C and E. A1: Correctly representing dependencies for D, F, G using dummies. (b) M1: Forward pass completed with at least five correct ESTs. A1: Backward pass completed with at least five correct LFTs. A1: All EST and LFT values correct. (c) M1: Calculation of floats to identify critical activities. A1: Correct critical path B-E-G-H. A1: Correct duration of 24.
PastPaper.question 7 · Algorithmic & Practical Problems
10.7 PastPaper.marks
A project is represented by six activities with the following durations and float times:
- A: Duration 4, Critical (Interval: [0, 4])
- B: Duration 3, Float 2 (Interval: [0, 5])
- C: Duration 5, Critical (Interval: [4, 9])
- D: Duration 2, Float 3 (Interval: [4, 9])
- E: Duration 4, Critical (Interval: [9, 13])
- F: Duration 3, Float 1 (Interval: [9, 13])

(a) Draw a Gantt (cascade) chart for this project, showing the critical activities and floats for the non-critical activities. (b) Determine the minimum number of workers required to complete the project in the minimum completion time, assuming each activity requires exactly one worker. Justify your answer. (c) If each worker is paid £15 per hour only for the hours they are actively working on an activity, find the minimum labor cost to complete the project.
PastPaper.showAnswers

PastPaper.workedSolution

(a) Gantt chart layout: Row 1: A (0-4), C (4-9), E (9-13) are critical. Row 2: B (0-3) with float shaded for (3-5). Row 3: D (4-6) with float shaded for (6-9). Row 4: F (9-12) with float shaded for (12-13). (b) The minimum project completion time is 13 hours. Sum of all activity durations = 4 + 3 + 5 + 2 + 4 + 3 = 21 worker-hours. A single worker can only work a maximum of 13 hours, so 1 worker is insufficient. With 2 workers, we can schedule: Worker 1: A (0-4), C (4-9), E (9-13); Worker 2: B (0-3), D (4-6), F (9-12). All activities are completed within their intervals. Thus, 2 workers are necessary and sufficient. (c) The total labor hours required is the sum of durations of all activities: 21 hours. Labor Cost = 21 hours * £15/hour = £315.

PastPaper.markingScheme

(a) M1: Drawing a Gantt chart layout. A1: Correctly showing critical activities A, C, E. A1: Correctly showing B, D, F with correct floats. (b) M1: Explaining why 1 worker is not enough using total activity time vs completion time. A1: Explaining how 2 workers can handle the schedule. A1: Concluding 2 workers are required. (c) M1: Multiplying total activity duration by the hourly rate. A1: Correct minimum cost £315.

PastPaper.sampleCTATitle

PastPaper.sampleCTADescription

PastPaper.sampleStickyMessage

PastPaper.stickyCtaText