Q1: If I asked if the decree was in box 1, would you walk left?
a) if decree is in 1, and L = Y, then turtle walks left.
b) if decree is in 1, and L = N, then turtle walks left.
c) if decree is NOT in 1 and L = Y, then turtle walks right
d) if decree is NOT in 1 and L = N, then turtle walks right
Comments
a) if decree is in 1, and L = Y, then turtle walks left.
b) if decree is in 1, and L = N, then turtle walks left.
c) if decree is NOT in 1 and L = Y, then turtle walks right
d) if decree is NOT in 1 and L = N, then turtle walks right
Q2: If I asked if the decree was in box 2, would you walk left?
As before, if turtle walks left, then decree is in 2
If turtle walks right both times, then decree is in 3.