Waste less time on Facebook — follow Brilliant.
×

Computer Science Warmups

Computers encrypt digital information and allow people to collaborate across the globe. Computer science studies the theory behind mechanisms like these and the practical details needed to build them. See more

Robot Escape

Robby the Robot is programmed with a series of direction commands; each command causes Robby to either move one step (if a move is possible in that direction) or not move at all (if a move is not possible). At the end of a sequence Robby repeats it from the beginning.

Robby escapes as soon as he steps on the square marked "out". Robby is in the maze shown above with the program indicated. Will Robby be able to get out?

Robby the Robot is programmed with a series of direction commands; each command causes Robby to either move one step (if a move is possible in that direction) or not move at all (if a move is not possible). At the end of a sequence Robby repeats it from the beginning.

Robby escapes as soon as he steps on the square marked "out". Robby is in the maze shown above with the program indicated. Will Robby be able to get out?

Robby is in the same situation as the previous problems. Robby can get out with program shown, except one of the cards is missing. Which type of card goes at the question mark?

Robby is in the same situation as the previous problems. The program is blank; as many direction cards needed of any type needed can be added in. What is the minimum number of cards needed so that Robby can escape?

Robby is in the same situation as the previous problems. The program is blank; as many direction cards needed of any type needed can be added in. Robby can get out with program shown, except one of the cards is missing. Which type of card goes at the question mark?

×

Problem Loading...

Note Loading...

Set Loading...