Labels

Showing posts with label logical teaser. Show all posts
Showing posts with label logical teaser. Show all posts

Friday, November 18, 2011

boolos quesion

Three gods A, B, and C are called, in no particular order, True, False, and Random. True always speaks truly, False always speaks falsely, but whether Random speaks truly or falsely is a completely random matter. Your task is to determine the identities of A, B, and C by asking three yes-no questions; each question must be put to exactly one god. The gods understand English, but will answer all questions in their own language, in which the words for yes and no are da and ja, in some order. You do not know which word means which.

it is also provided
  • It could be that some god gets asked more than one question (and hence that some god is not asked any question at all).
  • What the second question is, and to which god it is put, may depend on the answer to the first question. (And of course similarly for the third question.)
  • Whether Random speaks truly or not should be thought of as depending on the flip of a coin hidden in his brain: if the coin comes down heads, he speaks truly; if tails, falsely. 
  • Random will answer da or ja when asked any yes-no question.

Boolos provided his solution in the same article in which he introduced the puzzle. Boolos states that the "first move is to find a god that you can be certain is not Random, and hence is either True or False". There are many different questions that will achieve this result. One strategy is to use complicated logical connectives in your questions (either biconditionals or some equivalent construction).
Boolos' question was to ask A:
Does da mean yes iff you are True if B is Random?
Equivalently:
Are an odd number of the following statements true: you are False, da means yes, B is Random?
It was observed by Roberts (2001) -- and independently by Rabern and Rabern (2008) -- that the puzzle's solution can be simplified by using certain counterfactuals. The key to this solution is that, for any yes/no question Q, asking either True or False the question
If I asked you Q, would you say ja?
results in the answer ja if the truthful answer to Q is yes, and the answer da if the truthful answer to Q is no (Rabern and Rabern (2008) call this result the embedded question lemma). The reason it works can be seen by looking at the eight possible cases.
  • Assume that ja means yes and da means no.
  1. True is asked and responds with ja. Since he is telling the truth, the truthful answer to Q is ja, which means yes.
  2. True is asked and responds with da. Since he is telling the truth, the truthful answer to Q is da, which means no.
  3. False is asked and responds with ja. Since he is lying it follows that if you asked him Q he would instead answer da. He would be lying, so the truthful answer to Q is ja, which means yes.
  4. False is asked and responds with da. Since he is lying it follows that if you asked him Q he would in fact answer ja. He would be lying, so the truthful answer to Q is da, which means no.
  • Assume ja means no and da means yes.
  1. True is asked and responds with ja. Since he is telling the truth, the truthful answer to Q is da, which means yes.
  2. True is asked and responds with da. Since he is telling the truth, the truthful answer to Q is ja, which means no.
  3. False is asked and responds with ja. Since he is lying it follows that if you asked him Q he would in fact answer ja. He would be lying, so the truthful answer to Q is da, which means yes.
  4. False is asked and responds with da. Since he is lying it follows that if you asked him Q he would instead answer da. He would be lying, so the truthful answer to Q is ja, which means no.
The solution below constructs its three questions using the lemma described above.
Q1: Ask god B, "If I asked you 'Is A Random?', would you say ja?". If B answers ja, then either B is Random (and is answering randomly), or B is not Random and the answer indicates that A is indeed Random. Either way, C is not Random. If B answers da, then either B is Random (and is answering randomly), or B is not Random and the answer indicates that A is not Random. Either way, A is not Random.
Q2: Go to the god who was identified as not being Random by the previous question (either A or C), and ask him: "If I asked you 'Are you True?', would you say ja?". Since he is not Random, an answer of ja indicates that he is True and an answer of da indicates that he is False.
Q3: Ask the same god the question: "If I asked you 'Is B Random?', would you say ja?". If the answer is ja then B is Random; if the answer is da then the god you have not yet spoken to is Random. The remaining god can be identified by elimination.

Friday, November 4, 2011

A coin ,a bottle and a cork

If you were to put a coin into an empty bottle and then insert a cork in the bottle's opening, how could you remove the coin without taking out the cork or breaking the bottle?
Hint (scroll over this text): Actually, people solve this riddle everyday. Let's say you're opening a wine bottle, and in the process you break the cork. What's the only thing left to do?ha ha 


Tuesday, September 27, 2011

how many post

A farmer wishes to fence his square field of side 20 m with barb wire. For this, he needs to erect posts every 5 m on the sides of the field. How many posts does he need to buy? Come back tomorrow for the correct answer to this teaser.

why he not collapse !!!!!!!!!!!!!!!!!!!

A bomb goes off. Carnage. One person, only a few feet away, survives! How can this be?

Monday, September 26, 2011

funny animation


find the next term

solve the next term

O , T , T , F , ?

clock mystery


There are two clocks such that one clock gains 1 minute every hour and the other clock loses 1 minute every hour. If they show the correct time now, then after how many hours will they show a difference of 1 hour?








AnswerAfter 30 hours, the first clock will show 30 minutes more than the actual time, while the second clock will show 30 minutes less than the actual time, which totals to a difference of 1 hour.

how many rooms !!!!!!


The manager of a guest house was facing a problem in allotting rooms to guests. If he allotted one room to each guest, then he had one extra guest. However, when he allotted one room to two guests, then he had one empty room. How many rooms and how many guests are we talking about?
Come back tomorrow for the correct answer to this teaser

what should he take !!!!!!

Mohan went to a supermarket and bought an oven, a hat, an aquarium and a map. Apart from these four items, he bought another item. Which of the following items did he buy? A. Fish B. Necklace C. Apple D. Shirt

Sunday, September 25, 2011

christmas in summer !!111

Karan was born on Christmas (25th December) during the summer months. How is this possible?

metronological department

During the monsoons, the Metrological Department noted a pattern in x days. During these x days, it rained for 13 days; and that too, only in the mornings or afternoons. Also, whenever it rained in the morning, the sun came out in the afternoon and when it rained in the afternoon, the sun had come out in the morning. Overall, there were 11 mornings and 12 afternoons when the sun had come out. Assuming that the sun doesn’t come out when it rains and always comes out when it doesn’t rain, what is the value of x? Come back tomorrow for the correct answer to this tease

street lights

If a 50 m long road has streetlights every 5 m on one side, then how many streetlights are there?

chess cheating !!!!!!!!!!!!!!!!!!!!

Two men play five games of chess and each wins an equal number of games. How is this possible?

police department !!!!!!!!!!!!!!

The police are looking for Karan, a thief. Acting on a tip, the police raid a warehouse, where they find a mechanic, an electrician and a plumber. One of them is the thief. Within seconds, the police arrest the plumber. How could they be so sure?

2 times one person born !!!!!!

A man was 50 years old in 2000 but 40 years old in 2010. How is this possible?

how he manage to save his life !!!

A king condemned a man to death. The man had to choose between three rooms – the first was full of burning coal, the second had gladiators with swords and axes, while the third had ferocious leopards and tigers that hadn’t eaten for two years. The man chose a room and lived. How?