What is the main challenge of the capstone?
- A.Inventing a new pathfinding algorithm
- B.Integrating components you already built so they work together as one system
- C.Building a new robot from parts
- D.Rewriting Dijkstra from scratch
Answer Why?
What single data structure connects loading, pathfinding, detection, and saving?
- A.The distances dictionary
- B.The blocked list — loaded, fed to Dijkstra, appended to on detection, then saved
- C.The visited list
- D.The heading number
Answer Why?
When an obstacle is found partway along a path, why break out of the inner for loop?
- A.To end the program
- B.To stop walking the now-invalid path and let the while loop recompute a fresh one from the current position
- C.To skip the destination
- D.To save the file early
Answer Why?
Which is a classic capstone integration bug to watch for?
- A.Using too few comments
- B.Resetting the blocked list between destinations, so the robot forgets obstacles mid-run
- C.Naming the robot
- D.Printing the path
Answer Why?
In the demo, what evidence shows the robot 'learned'?
- A.It drives faster
- B.Run 2 has fewer reroutes and/or fewer steps than Run 1, because it loaded known obstacles
- C.It makes a sound at each node
- D.The obstacles.txt file is empty
Answer Why?