Edexcel D1 2002 January — Question 2

Exam BoardEdexcel
ModuleD1 (Decision Mathematics 1)
Year2002
SessionJanuary
TopicFixed Point Iteration

2. (i) Use the binary search algorithm to try to locate the name SABINE in the following alphabetical list. Explain each step of the algorithm.
  1. ABLE
  2. BROWN
  3. COOKE
  4. DANIEL
  5. DOUBLE
  6. FEW
  7. OSBORNE
  8. PAUL
  9. SWIFT
  10. TURNER
    (ii) Find the maximum number of iterations of the binary search algorithm needed to locate a name in a list of 1000 names.
A\(B\)C\(D\)\(E\)\(F\)
A-101213209
B10-715117
C127-11183
D131511-278
E20111827-18
\(F\)973818-
The table shows the distances, in metres, between six nodes \(A , B , C , D , E\), and \(F\) of a network.
  1. Use Prim's algorithm, starting at \(A\), to solve the minimum connector problem for this table of distances. Explain your method and indicate the order in which you selected the edges.
  2. Draw your minimum spanning tree and find its total length.
  3. State whether your minimum spanning tree is unique. Justify your answer.
    (ii) A connected network \(N\) has seven vertices.