Question
Sullivan is creating a simple algorithm that would move a mouse from the start square of a grid to the square with a piece of cheese in it using arrows. What type of algorithm is Sullivan using?
A. Program-based
B. Text-based
C. Block-based
D. Directional
A. Program-based
B. Text-based
C. Block-based
D. Directional
Answers
GPT-4o mini
Sullivan is likely using a **D. Directional** algorithm. This type of algorithm involves using directions (like arrows) to navigate from one point to another on a grid. The focus is on the movement towards the cheese, which aligns with directional navigation.