• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 11 pages
Exam (elaborations)

6689 edexcel gce decision mathematics d1 advanced advanced subsidiary 2

Document preview thumbnail
Preview 2 out of 11 pages

6689 edexcel gce decision mathematics d1 advanced advanced subsidiary 2

Content preview

1. Which of the following is NOT a property of a minimum spanning tree (MST)?
A. It contains all the vertices of the graph.
B. It contains the minimum number of edges to connect all vertices.
C. It may contain cycles.
D. The sum of its edge weights is minimized.
Answer: C) It may contain cycles.
Rationale: A minimum spanning tree (MST) cannot contain cycles by definition, as it is a
connected acyclic graph.

2. Which of the following algorithms is used to find the maximum flow in a network?
A. Ford-Fulkerson Algorithm.
B. Dijkstra’s Algorithm.
C. Kruskal’s Algorithm.
D. Bellman-Ford Algorithm.
Answer: A) Ford-Fulkerson Algorithm.
Rationale: The Ford-Fulkerson algorithm is used to find the maximum flow in a flow
network by augmenting paths from the source to the sink.

3. In a weighted graph, if the edge weights are all equal, what does this imply?
A. The graph is a tree.
B. The graph is bipartite.
C. Any algorithm for finding the shortest path will have the same result.
D. The graph is not connected.
Answer: C) Any algorithm for finding the shortest path will have the same result.
Rationale: If the edge weights are equal, the shortest path will simply depend on the
number of edges in the path, not their weight.

4. What is the main purpose of a directed edge in a graph?
A. To represent a relationship that has no direction.
B. To show the direction of a relationship between two vertices.
C. To connect two vertices without any relationship.
D. To form a loop between two vertices.
Answer: B) To show the direction of a relationship between two vertices.
Rationale: A directed edge indicates that there is a one-way relationship between two
vertices, with a specified direction.

5. Which of the following is a feature of the Bellman-Ford Algorithm?
A. It is used to find the minimum spanning tree.
B. It can handle graphs with negative edge weights.
C. It requires a priority queue.
D. It is faster than Dijkstra’s algorithm.
Answer: B) It can handle graphs with negative edge weights.
Rationale: The Bellman-Ford algorithm can find the shortest paths in a graph even if
some of the edge weights are negative, unlike Dijkstra’s algorithm.

6. What is the time complexity of Kruskal’s algorithm with an adjacency list
representation?
A. O(Elog⁡V)O(E \log V)O(ElogV)

, B. O(V2)O(V^2)O(V2)
C. O(E2)O(E^2)O(E2)
D. O(V+E)O(V + E)O(V+E)
Answer: A) O(Elog⁡V)O(E \log V)O(ElogV)
Rationale: Kruskal's algorithm requires sorting the edges, which takes O(Elog⁡E)O(E
\log E)O(ElogE), and the union-find operations take O(log⁡V)O(\log V)O(logV).
Therefore, the overall time complexity is O(Elog⁡V)O(E \log V)O(ElogV).

7. Which of the following is NOT a valid operation on graphs?
A. Addition of an edge.
B. Deletion of a vertex.
C. Removal of a vertex's edges.
D. Change of the number of edges in a graph.
Answer: D) Change of the number of edges in a graph.
Rationale: The number of edges in a graph is determined by its structure, but the other
options involve operations on the graph that preserve or modify the structure without
fundamentally changing edge count.

8. Which of the following algorithms is based on a greedy strategy?
A. Dijkstra’s Algorithm.
B. Bellman-Ford Algorithm.
C. Floyd-Warshall Algorithm.
D. Ford-Fulkerson Algorithm.
Answer: A) Dijkstra’s Algorithm.
Rationale: Dijkstra’s algorithm is a greedy algorithm because it always selects the
nearest unvisited vertex with the smallest tentative distance.

9. Which of the following best describes a bipartite graph?
A. It contains no cycles.
B. It can be colored using two colors.
C. It has exactly one vertex.
D. It is a tree with two branches.
Answer: B) It can be colored using two colors.
Rationale: A bipartite graph is one where the vertex set can be divided into two disjoint
sets such that every edge connects a vertex from one set to a vertex from the other
set.

10. In the context of graph theory, what does "planar" mean?
A. The graph is weighted.
B. The graph can be drawn on a plane without any edges crossing.
C. The graph is directed.
D. The graph contains a Hamiltonian cycle.
Answer: B) The graph can be drawn on a plane without any edges crossing.
Rationale: A planar graph is one that can be embedded in the plane without any edges
crossing each other.

11. Which algorithm is used to find the shortest path from a single source to all other
vertices in a graph with negative edge weights?
A. Dijkstra’s Algorithm.
B. Bellman-Ford Algorithm.

Document information

Uploaded on
March 27, 2025
Number of pages
11
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.29

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
douglasmugwe82
5.0
(1)
Sold
2
Followers
0
Items
4239
Last sold
11 months ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions