7.7k views
0 votes
T12. A GIFT BEHIND TREES Robby the Robot wants to go get his gift. But there are trees in the way. Robby can move in one of the four cardinal directions (North, South, East, West). Because he is a robot, he has to plan his movements before he makes any moves. A) NENNEENWWNNESE C) NENSEENNWWNENEE * CARPOOL EX Question/ Challenge Which of the following plans will allow Robby to get his gift without hitting any trees? * B) NENESEENWNWWNNEEE D) NENSEENWNWWNNEEE​

T12. A GIFT BEHIND TREES Robby the Robot wants to go get his gift. But there are trees-example-1
User Brasskazoo
by
7.6k points

1 Answer

6 votes

Plan B (NENESEENWNWWNNEEE) allows Robby to reach his gift without hitting any trees.

How to determine direction?

A. NENNEENWWNNESE:

This plan results in Robby hitting two trees: one after going south twice and one after going east twice.

B. NENESEENWNWWNNEEE:

This plan allows Robby to reach the gift without hitting any trees. He moves north twice, east once, north once, east twice, south once, west twice, north twice, and finally east once to reach the gift.

C. NENSEENNWWNENEE:

This plan results in Robby hitting one tree after going north twice.

D. NENSEENWNWWNNEEE:

This is the same plan as option C and results in Robby hitting one tree after going north twice.

Therefore, the only plan that allows Robby to get his gift without hitting any trees is B. NENESEENWNWWNNEEE.

User Ronald
by
7.1k points