The Island of Zombies: On a certain island, some of the residents have been turned into zombies, but they act just like normal people except that they only lie. The humans on the island only tell the truth. This sounds like a knight-knave situation, but the reality is more complicated: the islanders understand English, but they can only speak in their native tongue which has not yet been translated. When you ask them a yes or no question, they respond with “Gha” or “Jal.” One means yes, and the other no, but you don’t know which. You arrive on the island and are immediately captured. The leader of the Island points to a card written in English above his head. It says: “You may ask the leader any one question. If he answers “Gha” then you may visit the island peacefully, if he answers “Jal” then you will be transformed into a zombie and forced to live out your days on the island. What do you ask the leader, given that you don’t know whether he is a human or a zombie and given that you would prefer not to be a zombie? Explain your answer.
I started by thinking of asking, "is the meaning of 'gha' no?" In this case, the zombies would say "gha" which is good, but the humans would say "jal" which is what we don't want.
Are you human and 'Gha' means yes, or are you a zombie and 'Gha' means no?
We want our captor to say 'Gha'. If 'Gha' means yes and our captor is human, we want the answer to our question to be yes. If 'Gha' means no and our captor is human, we want the answer to be no. If 'Gha' means yes and our captor is a zombie, we want the answer to be no, because then the zombie will lie and say 'Gha', which means yes. If 'Gha' means no and our captor is a zombie, we want the answer to be yes, because the zombie will lie and say 'Gha.' The question "Are you human and 'Gha' means yes, or are you a zombie and 'Gha' means no?" will have the desired answer in each situation.