Three gods, A, B, and C, are called, in no particular order, True, False, and Random. True always speaks the truth, False always lies, and Random answers randomly. You can ask three yes-no questions to any combination of gods. What is the minimum number of questions needed to identify all three?
Three questions
Because the Random god makes true/false identification unpredictable, figuring out who is who requires carefully structured questions to isolate the Truth and Falsehood speakers first, which takes at least three queries.
About this riddle
Logic riddles give you a few facts and ask what must be true. List what you know, cross out what cannot be, and see what is left.
Difficulty: Hard. More like this: Logic riddles with answers or try Einstein's Logic Grid for a different kind of puzzle.
More logic riddles
Five houses stand in a row numbered 1 to 5 from left to right. House 1 is Red, and House 5 is Green. The White house is immediately to the left of the Green house. The Blue house is somewhere between the Red house and the Yellow house. What color is House 3?
Tom is older than Bob. Bob is younger than Sam. Sam is older than Tom. Who is the youngest of the three?
A box contains three identical-looking marbles: one is solid lead, one is hollow copper, and one is solid wood. Without cutting them open, using scales, or submerging them in liquid, how can you identify which marble is which using a single flat wooden tabletop?
In a certain non-leap year, January 1st fell on a Tuesday. On what day of the week did October 1st fall in that same year?
A merchant has four weights: 1 lb, 3 lb, 9 lb, and 27 lb. Using a traditional two-pan balance scale, what is the heaviest whole-number weight in pounds that the merchant cannot weigh?
Four people—Leo, Mia, Sam, and Zoe—sit around a circular table facing the center. Leo sits directly across from Sam. Mia sits to the left of Leo. Who sits to the right of Sam?

