Lesson Planet
Search educational resources
  • Sign In Try It Free
  • AI Teacher Tools
    • Discover Resources Search reviewed educational resources by keyword, subject, grade, type, and more
    • Curriculum Manager (My Content) Manage saved and uploaded resources and folders To Access the Curriculum Manager Sign In or Join Now
    • Browse Resource Directory Browse educational resources by subject and topic
    • Curriculum Calendar Explore curriculum resources by date
    • Lesson Planning Articles Timely and inspiring teaching ideas that you can apply in your classroom
    • Our Story
    • Frequently Asked Questions
    • Testimonials
    • Contact Us
  • Pricing
  • School Access
    • Your school or district can sign up for Lesson Planet — with no cost to teachers
      Learn More
  • Sign In
  • Try It Free

Hi, what do you want to do?

Create a lesson plan
Create a lesson plan
Generate resources with 80+ AI teacher tools
Generate resources with 80+ AI teacher tools
Search 200,000 instructional videos
Search 200,000 instructional videos
Find a teaching resource
Find a teaching resource
Algorithms Detour - Shortest Path Lesson PlanAlgorithms Detour - Shortest Path Lesson Plan
Publisher
Code.org
Resource Details
Curator Rating
Educator Rating
Not yet Rated
Grade
9th - 12th
Subjects
STEM
3 more...
Resource Type
Lesson Plans
Audience
For Teacher Use
Duration
1 hr
Instructional Strategy
Collaborative Learning
Lesson Plan

Algorithms Detour - Shortest Path

Curated and Reviewed by Lesson Planet
This Algorithms Detour - Shortest Path lesson plan also includes:
  • The Shortest Path Problem (PDF)
  • The Shortest Path Problem (Doc)
  • Intro to the Shortest Path Problem (PDF)
  • Intro to the Shortest Path Problem (Doc)
  • Join to access all included materials

Young programmers investigate the Single Source Shortest Path problem by working in paris to devise their own algorithm. They then progress to using Dijkstra's Algorithm to solve the problem. 

17 Views 13 Downloads

Concepts

algorithms, online communication, communication technology, computer science, problem solving techniques, the internet, technology resources

Instructional Ideas

  • Research Dijkstra's Shortest Path Algorithm and apply it to the paths in the worksheet
  • Have pairs make graph diagrams and swap to find the shortest path

Classroom Considerations

  • Pupils may think that the shortest path is the one with the fewest number of edges involved
  • The 15th in a series of 19 exercises

Pros

  • The lesson plan contains links to the answers on Code.org
  • Contains assessment questions both in the lesson plan on online

Cons

  • The links for Dijkstra's Shortest Path Algorithm lead to the Into to the Shortest Path Problem worksheet

See similar resources:

Lesson Plan

Choose Your Best Way

TryEngineering
Find the best path through town. The lesson teaches future computer programmers about networks and paths in graph theory. They develop a network of their towns to determine the most efficient path to visit each of their homes.
6th - 12th STEM
Lesson Plan

Algorithms Detour - Minimum Spanning Tree

Code.org
This optional lesson introduces the class to the idea of a minimum spanning tree. The activity focuses on determining an algorithm that will find the most efficient path in a network to transfer data. 
9th - 12th STEM
Activity

Ice Roads–Steiner Trees

Computer Science Unplugged
As an introduction to Steiner Trees, class members are challenged to find the shortest paths to connect multiple points. The teacher introduces the problem by showing how to connect three points. Groups then go outside and construct a...
4th - 12th Math
Lesson Plan

How Routers Learn

Code.org
Your routers don't seem to be routing correctly. To figure out why, pupils act like routers, talk to their direct connects in order to determine as much information about the simulated network as possible. As they learn more about...
9th - 12th STEM
Activity

The Muddy City—Minimal Spanning Trees

Computer Science Unplugged
What is the most efficient way to ensure everyone is connected? Individual pupils determine the least expensive route to pave roads in a fictional city. In doing so, they learn to find the minimal spanning tree for the situation. They...
4th - 12th Math
Lesson Plan

Phylogenetics

Computer Science Unplugged
Introduce your class to the concept of creating phylogenetic trees by playing a game of Telephone. Participants create a mixed-up message and through the use of distance matrices, the evolution of the message is recreated. 
4th - 12th Science
Try It Free
© 1999-2026 Learning Explorer, Inc.
Teacher Lesson Plans, Worksheets and Resources

Sign up for the Lesson Planet Monthly Newsletter

Open Educational Resources (OER)

  • Health
  • Language Arts
  • Languages
  • Math
  • Physical Education
  • Science
  • Social Studies
  • Special Education
  • Visual and Performing Arts
View All Lesson Plans

Discover Resources

  • Our Review Process
  • How it Works
  • How to Search
  • Create a Collection

Manage Curriculum

  • Edit a Collection
  • Assign to Students
  • Manage My Content
Contact Us Site Map Privacy Policy Terms of Use