logo

Topic study hub

Graph-traversal

Official AQA 7517 section 4.3.1.

0

Objectives

5

Flashcards

7

Questions

36 min

Study time

AqaA LevelComputer ScienceFundamentals of algorithms

Choose a revision tool

Start revising Graph-traversal

Syllabus checklist

What you need to know

0 objective pages available

Simple graph-traversal algorithms1 objectives
  • Simple graph-traversal algorithms: Be able to trace breadth-first and depth-first search algorithms and describe typical applications of both. Breadth-first: shortest path for an unweighted graph. Depth-first: Navigating a maze.

Key terms

Breadth-first searchDepth-first search

Exam tips

  • Show the trace in order: Write down each vertex when it is first visited and follow the neighbour order given in the question.

Common mistakes

  • Confusing the two traversal patterns: Remember that breadth-first search explores level by level and is used for shortest paths in unweighted graphs. Depth-first search explores one branch deeply and is used for navigating a maze.

Practice preview

Continue by objective

Objectives are grouped by subtopic so students can jump straight to the exact skill they want to revise.

Related topics

Study nearby topics next