logo

AQA A-Level Computer Science practice

Explain one practical application of a shortest path algorithm and describe what the vertices, edges and edge weights could represent in that application.

Try the question first, then check the answer and practise the same topic again.

At a glance

Question

Type

practice

Style

Topic

Optimisation algorithms

Exam-style question

Try this first

Explain one practical application of a shortest path algorithm and describe what the vertices, edges and edge weights could represent in that application.

Answer and explanation

Concise answer

A shortest path algorithm could be used in a navigation system to find a route between two locations.

Why this is correct

This answer identifies a relevant application and maps the graph components to meaningful parts of the application. The edge weights provide the values used when comparing routes.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions