AQA D2 — Question 7

Exam BoardAQA
ModuleD2 (Decision Mathematics 2)
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicDynamic Programming
TypeDynamic programming shortest/longest path
DifficultyModerate -0.3 This is a standard textbook dynamic programming question requiring systematic backward working through a network to find the longest path. While it requires careful bookkeeping and multiple stages, the algorithm is mechanical and follows a prescribed method with no novel problem-solving or insight needed. The table structure guides students through the process, making it slightly easier than average.
Spec7.05a Critical path analysis: activity on arc networks7.05b Forward and backward pass: earliest/latest times, critical activities

7 The network below shows a system of one-way roads. The number on each edge represents the number of bags for recycling that can be collected by driving along that road. A collector is to drive from \(A\) to \(I\). \includegraphics[max width=\textwidth, alt={}, center]{c18db720-6fe8-4e6c-bd0c-dc51cc341b47-144_867_1644_552_191}
  1. Working backwards from \(\boldsymbol { I }\), use dynamic programming to find the maximum number of bags that can be collected when driving from \(A\) to \(I\). You must complete the table opposite as your solution.
  2. State the route that the collector should take in order to collect the maximum number of bags.
    1. StageStateFromValue
      1GI
      HI
      2

Question 7:
Part (a):
AnswerMarks Guidance
Answer/WorkingMark Guidance
Let Arsene play A with probability \(p\)
Against C: \(p(x+3) + (1-p)(x+1) = 2p + x + 1\)M1 Setting up expected value expressions for each of Jose's strategies
Against D: \(p(1) + (1-p)(3) = 3 - 2p\)
Setting equal: \(2p + x + 1 = 3 - 2p\)M1 Setting the two expressions equal (or using value = 2.5)
\(4p = 2 - x\)
Using value = 2.5: \(3 - 2p = 2.5\)
\(p = \frac{1}{4}\)A1
Arsene plays A with probability \(\frac{1}{4}\), B with probability \(\frac{3}{4}\)A1 Must state both probabilities clearly
Part (b):
AnswerMarks Guidance
Answer/WorkingMark Guidance
Substituting \(p = \frac{1}{4}\) into \(2p + x + 1 = 2.5\)M1 Substituting their value of \(p\) into either expression with the value 2.5
\(\frac{1}{2} + x + 1 = 2.5\)
\(x = 1\)A1
# Question 7:

## Part (a):

| Answer/Working | Mark | Guidance |
|---|---|---|
| Let Arsene play A with probability $p$ | | |
| Against C: $p(x+3) + (1-p)(x+1) = 2p + x + 1$ | M1 | Setting up expected value expressions for each of Jose's strategies |
| Against D: $p(1) + (1-p)(3) = 3 - 2p$ | | |
| Setting equal: $2p + x + 1 = 3 - 2p$ | M1 | Setting the two expressions equal (or using value = 2.5) |
| $4p = 2 - x$ | | |
| Using value = 2.5: $3 - 2p = 2.5$ | | |
| $p = \frac{1}{4}$ | A1 | |
| Arsene plays A with probability $\frac{1}{4}$, B with probability $\frac{3}{4}$ | A1 | Must state both probabilities clearly |

## Part (b):

| Answer/Working | Mark | Guidance |
|---|---|---|
| Substituting $p = \frac{1}{4}$ into $2p + x + 1 = 2.5$ | M1 | Substituting their value of $p$ into either expression with the value 2.5 |
| $\frac{1}{2} + x + 1 = 2.5$ | | |
| $x = 1$ | A1 | |
7 The network below shows a system of one-way roads. The number on each edge represents the number of bags for recycling that can be collected by driving along that road.

A collector is to drive from $A$ to $I$.\\
\includegraphics[max width=\textwidth, alt={}, center]{c18db720-6fe8-4e6c-bd0c-dc51cc341b47-144_867_1644_552_191}
\begin{enumerate}[label=(\alph*)]
\item Working backwards from $\boldsymbol { I }$, use dynamic programming to find the maximum number of bags that can be collected when driving from $A$ to $I$.

You must complete the table opposite as your solution.
\item State the route that the collector should take in order to collect the maximum number of bags.

(a)

\begin{center}
\begin{tabular}{|l|l|l|l|}
\hline
Stage & State & From & Value \\
\hline
1 & G & I &  \\
\hline
 & H & I &  \\
\hline
 &  &  &  \\
\hline
2 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
 &  &  &  \\
\hline
\end{tabular}
\end{center}
\end{enumerate}

\hfill \mbox{\textit{AQA D2  Q7}}
This paper (3 questions)
View full paper