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

directional

1 answer

Sullivan is using a directional algorithm, as it involves moving the mouse in specific directions (presumably using arrows) to reach the target square with the piece of cheese.