Edexcel FD1 Specimen — Question 1 4 marks

Exam BoardEdexcel
ModuleFD1 (Further Decision 1)
SessionSpecimen
Marks4
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicSorting Algorithms
TypeAlgorithm Order and Complexity
DifficultyEasy -1.2 Part (a) requires simple recall of the bubble sort algorithm definition. Part (b) is a straightforward application of quadratic scaling (ratio of squares), requiring only basic proportional reasoning with no conceptual difficulty. This is routine algorithmic complexity work well below average A-level problem-solving demands.
Spec7.03f Worst case complexity: T(n) as function of problem size7.03j Sorting: bubble sort and shuttle sort

  1. A list of \(n\) numbers needs to be sorted into descending order starting at the left-hand end of the list.
    1. Describe how to carry out the first pass of a bubble sort on the numbers in the list.
    Bubble sort is a quadratic order algorithm.
    A computer takes approximately 0.021 seconds to apply a bubble sort to a list of 2000 numbers.
  2. Estimate the time it would take the computer to apply a bubble sort to a list of 50000 numbers. Make your method clear.

\begin{enumerate}
  \item A list of $n$ numbers needs to be sorted into descending order starting at the left-hand end of the list.\\
(a) Describe how to carry out the first pass of a bubble sort on the numbers in the list.
\end{enumerate}

Bubble sort is a quadratic order algorithm.\\
A computer takes approximately 0.021 seconds to apply a bubble sort to a list of 2000 numbers.\\
(b) Estimate the time it would take the computer to apply a bubble sort to a list of 50000 numbers. Make your method clear.\\

\hfill \mbox{\textit{Edexcel FD1  Q1 [4]}}