Tools
[TASK] 5
Which Direction?
Using geospatial logic and considering two processes that run in parallel
IQ tests and similar attempts to define and measure human intelligence, differentiate between different types of logic. So far we’ve looked at verbal logic and mathematical logic. This next puzzle involves using geospatial logic, as well as considering two processes that run in parallel. In coding, keeping track of multiple different components doing different things becomes very important when working with more complex problems. Try the next, visual, puzzle, and see if you can work out how to provide clear logical instructions to your robot team in order to achieve specific goals.
In a warehouse, there are 2 robots that work together. They move in the same direction concurrently, so if one moves North, they both North. The robots will follow any instructions they’re given and will collect any objects they find along the way. They only take instructions by the points of the compass and can only move in 4 directions (N, E, S, W).
For example, if the 2 robots are given the directions: “N, E, S”, then Robot A will collect a ball and Robot B will collect a hat.
Write the directions the robots would need to follow to collect the following objects, remembering that both robots get the same directions, and assuming that for each question they start off in the same (pictured above) positions: