Metadata
Technology & Computer Science Grade 9-12 Apply Hard
Metadata
  • Subject

    Technology & Computer Science

  • Education level

    Grade 9-12

  • Cognitive goals

    Apply

  • Difficulty estimate

    Hard

  • Tags

    dijkstra, priority queue, shortest paths, graphs, algorithms, complexity

  • Number of questions

    5

  • Created on

  • Generation source

  • License

    CC0 Public domain

  • Prompt

    Assess students' ability to apply Dijkstra's algorithm using a priority queue (min-heap) to compute shortest paths in weighted graphs with nonnegative edge weights. Tasks should include: executing the algorithm step-by-step on a small sample graph (showing priority queue state, distance updates, and path reconstruction), explaining how decrease-key or equivalent operations are handled, identifying unreachable nodes, and analyzing time and space complexity for adjacency list implementations. Emphasize correctness, tie-breaking decisions, and common implementation pitfalls.
Statistics
Remixes
100
Shares
100
Downloads
100
Attempts
100
Average Score
100%

Mock data used for demo purposes.