Model Question Paper (as circulated)Part B · Q13a4 marksCO3Module 3asked in 2 papers
Question 13a
The Breadth-First Search algorithm has been implemented with the help of a queue. What is a possible order of visiting the nodes of the following graph is
Figure (transcribed): Undirected graph: M–N, N–O, M–R, M–Q, N–Q, Q–P, O–P.
Transcription notes:
- No start vertex is given; the question asks for “a possible order”.
Topics: Depth-first and breadth-first search
Solution not published yet
We only publish answers that have been checked. Study the linked topic meanwhile.
Similar questions
- Nov 2025 Q14a · 6 marksWrite algorithm for graph traversal using BFS. Perform BFS on the given graph from source vertex 0. If multiple choices may be available for the next node choose in ascending order.
- May 2026 (S) Q14a · 6 marksWrite algorithm for graph traversal using DFS. Perform DFS on the given graph from source vertex E.