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?

(1 point)
Responses

program-based

program-based

text-based

text-based

block-based

block-based

directional

1 answer

Sullivan is using a directional algorithm. This type of algorithm involves moving in specific directions (using arrows in this case) to reach a target location, which aligns with the concept of guiding a mouse from one point to another on a grid.