All papers

Further Maths B (MEI) · OCR H635 · Modelling with Algorithms (optional - choose any two of Y411/Y412/Y413/Y414) · November 2021

OCR GCE AS Level Further Maths B (MEI) Modelling with Algorithms (optional - choose any two of Y411/Y412/Y413/Y414) November 2021 question paper Y413

1h 15m 60 marks

OCR H635 · Unit Y413

6 questions
Report a problem
What is wrong?

Goes to whoever maintains the question split. No account needed and nothing is published on this page.

Question 1

Figure for question 1
(a)

Complete the table in the Printed Answer Booklet to show the immediate predecessors for

each activity.

[2]

Answer
Mark scheme for question 1(a)
(b)(i)

Carry out a forward pass and a backward pass through the activity network, showing the

early event time and the late event time at each vertex of the network.

[3]

Answer
Mark scheme for question 1(b)(i)
(b)(ii)

State the critical activities of the project.

[1]

Answer
Mark scheme for question 1(b)(ii)
(c)

Calculate the total float for activity E.

[1]

Answer
Mark scheme for question 1(c)

Question 2

The list below shows the sizes of eleven items.

15 4 23 16 2 12 14 11 20 13 22

(a)

Show the result of applying the first fit algorithm to pack items with the sizes listed above

into bins that have a capacity of 40.

[2]

Answer
Mark scheme for question 2(a)
(b)

Apply the quick sort algorithm to sort the list of numbers above into descending order.

You should use the first value as the pivot for each sublist.

[3]

Answer
Mark scheme for question 2(b)
(c)

Show the result of applying the first fit decreasing algorithm to pack items with the sizes

listed above into bins that have a capacity of 40.

[2]

Answer
Mark scheme for question 2(c)
(d)

By considering the answers to parts (a) and (c) explain why first fit is an example of a

heuristic algorithm.

[1]

Answer
Mark scheme for question 2(d)
(e)

The quick sort algorithm is to be used to sort a different list of eight numbers into descending order. After one pass through the list the quick sort algorithm produces the following list

18 22 17 19 14 11 4 13

State, with a reason, which number was used as a pivot for the first pass.

[1]

Answer
Mark scheme for question 2(e)

Question 3

Figure for question 3
(a)

Explain why the simplex algorithm cannot be applied to the initial tableau in Fig. 3.1 to solve

the LP problem.

[1]

Answer
Mark scheme for question 3(a)
(b)

The tableau in Fig. 3.1 is reformulated so the simplex method can be used to solve the LP problem.

The simplex method is applied to the reformulated problem. After two iterations a computer produces the tableau in Fig. 3.2.

Figure for question 3

Perform a third iteration of the simplex method.

[3]

Answer
Mark scheme for question 3(b)
(c)

Explain how the answer to part (b) shows that the solution obtained after the third iteration is

optimal.

[1]

Answer
Mark scheme for question 3(c)
(d)(i)

State the optimal values of x, y and z.

[1]

Answer
Mark scheme for question 3(d)(i)
(d)(ii)

State the corresponding minimum value of P for the original LP problem.

[1]

Answer
Mark scheme for question 3(d)(ii)

Question 4

The flow chart shows an algorithm that produces a numerical approximation for the integral

Question 4, shown as an image
Figure for question 4
(a)

Work through the algorithm using the inputs a = 1, b = 3 and n = 4. Record the exact values

of c and d every time they change.

[3]

Answer
Mark scheme for question 4(a)
(b)
Question 4, shown as an image

[1]

Answer
Mark scheme for question 4(b)
(c)

By considering the percentage difference between the exact value of the integral given in part (b) and the approximation found in part (a), comment on the accuracy of the algorithm in this

case.

[2]

Answer
Mark scheme for question 4(c)
(d)

Explain how to adapt the algorithm to produce a numerical approximation for the integral

Question 4, shown as an image

[1]

Answer
Mark scheme for question 4(d)

Question 5

Figure for question 5
(a)

Explain why

• two of the constraint equations are equal to 1,

• five of the constraint equations are equal to 0.

[2]

Answer
Mark scheme for question 5(a)
(b)

Using the vertices given in the Printed Answer Booklet draw a directed network with 13 arcs to represent the information given in the formulation above. Two of the arcs are directed and the rest are undirected. The arcs from A and the arcs to G may be regarded as being

undirected.

[2]

Answer
Mark scheme for question 5(b)
(c)(i)

Apply Dijkstra’s algorithm to the network drawn in part (b), to find the length of the

shortest path from A to G.

[5]

Answer
Mark scheme for question 5(c)(i)
(c)(ii)

Write down the shortest path from A to G.

[1]

Answer
Mark scheme for question 5(c)(ii)
(d)

An eighth vertex, X, is added to the network. The table in Fig. 5.1 shows the corresponding weights between each pair of vertices for which there is a connecting arc.

Figure for question 5

It is given that x is a positive integer and all arcs from vertex X are undirected.

State what changes need to be made to the original LP formulation when X is included as an

eighth vertex in the network.

[3]

Answer
Mark scheme for question 5(d)
(e)

For a certain value of x, the complete LP for the network with eight vertices was run in an LP solver and the output is shown in the table in Fig. 5.2.

Figure for question 5

State the maximum value of x that is consistent with this solution.

[1]

Answer
Mark scheme for question 5(e)
(f)

A computer takes 0.018 seconds to solve a shortest path problem on a network with eight vertices using Dijkstra’s algorithm.

Approximately how long will it take the computer to solve a shortest path problem on a

network with eight hundred vertices using Dijkstra’s algorithm?

[2]

Answer
Mark scheme for question 5(f)

Question 6

An incomplete initial tableau for a two-stage simplex solution for a maximisation integer linear programming (ILP) problem, in x, y and z where x, y, z ⩾ 0, is shown below.

QPxyzs1s2s3s4s5a1a2RHS
01-3-2-100000000
00211100000029
00112010000042
0001100-1001016
00401000100028
004010000-10128
(a)

Formulate the information given in the tableau as an ILP problem by

• stating the objective function for the original ILP problem,

• listing the constraints in terms of x, y and z only.

[4]

Answer
Mark scheme for question 6(a)
(b)

In the Printed Answer Booklet, complete the top row of the initial tableau for the ILP

problem.

[2]

Answer
Mark scheme for question 6(b)
(c)

Use a 2-D graphical method, with axes representing x and y, to determine

• the maximum value of P,

• the corresponding integer values of x, y and z.

[8]

Answer
Mark scheme for question 6(c)

The paper as printed

667439-question-paper-modelling-with-algorithms

667438-question-paper-modelling-with-algorithms-answer-book

Spotted a mistake on this page?Report a problem