Suppose Mimi wants to reach a city but does not know the way. There are two people, A and B: A always lies and B always tells the truth. Mimi asks A…

Suppose Mimi wants to reach a city but does not know the way. There are two people, A and B: A always lies and B always tells the truth. Mimi asks A the way. A replies, "The city is near the lake and the right way goes to the city." She then asks B the same question. B replies, "The city is near the lake and the right way goes to the city." After hearing that, A says, "Don't believe B, he tells lies." B also says, "Don't believe A, he tells lies." How will Mimi go to the city? Solve using a truth table.

From the BUET MSC (CSE) October 2017 – Written exam, question 13 of 20.

More from this paper