Can't find what you are looking for ?
Google
 



Showing posts with label Logic. Show all posts
Showing posts with label Logic. Show all posts

Friday, October 10, 2014

Joke: The professor and logic

Students secures lower grades in the externals, after looking at the mark sheet he asks professor.

Student : "Can you answer any question ? " .

Professor: "Surely I must. Otherwise I would not be a professor!"

Student: "Great, well then I would like to ask you a question. If you can give me the correct answer, I will accept my mark as is and go. If you however do not know the answer, I want you give me an "A" for the exam. "

Professor: "Okay, it's a deal. So what is the question?"

Student: "What is legal, but not logical, logical, but not legal, and neither logical, nor legal?"

Even after some long and hard consideration, the professor cannot give the student an answer, and therefore changes his exam mark into an "A", as agreed.

Afterwards, the professor calls on his best student and asks him the same question.


He immediately answers: "Sir, you are 63 years old and married to a 35 year old woman, which is legal, but not logical. Your wife has a 25 year old lover, which is logical, but not legal. The fact that you have given your wife's lover an "A", although he really should have failed, is neither legal, nor logical." 

Friday, October 5, 2007

Allowing or preventing a cat from entering the house

In slightly advanced houses that have a cat, the door which allows the cat to enter or depart the house is controlled by an electric circuit, triggered by a magnet in the cat's collar. However, in this modified circuit (details available at this link), the system checks whether the cat is carrying an animal such as a mouse. If it does this, then the cat will let loose the animal inside the house and chase it all around, dirtying the house and acting in generally a very cruel way. So, the circuit is modified to prevent the cat access if it is carrying an animal in its mouth.

Wednesday, September 26, 2007

Puzzle about measuring difference in weights

Q. Ali the thief had managed to break into the Sultan's treasure room. He was looking for a bag containing 1250 diamonds, each weighing 0.8 grams. Unfortunately, the Sultan had filled nine other bags with imitation diamonds. There were 1000 in each bag, each one weighing 1 gram. So all 10 bags weighed exactly 1000 grams and all the bags looked exactly alike. Just as Ali was scratching his head, the Sultan burst in with his guards. As he was a merciful Sultan, he gave Ali a chance to save his life. Here is what he said; "If you can find the bag which contains the real diamonds by using these scales just once, you may keep the diamonds. If not, you will be beheaded. You can take
stones from any of the bags and put them in other bags if you wish but you can only weigh once!" How did Ali save his neck?

Ans: Ali numbered the ten bags from 1 to 10. He then took ten stones from bag 1, twenty stones from bag 2, thirty stones from bag 3 .... likewise till hundred stones from bag 10 and weighed them together. Had all the stones weighed 1 gm in all ten bags, the total weight would have been 550 grams. since one of the bags had real diamonds of lesser weight ( by 0.2 gm each ), Ali had lesser weight than 550 gms. If Ali had the weight measured as 548 gms, bag 1 from which Ali had taken ten stones contained real diamonds. If the weight had been 546 gms, bag 2 had real diamonds etc. Thus he knew which bag contained the real diamonds by the measured weight by measuring only once.

Saturday, September 22, 2007

Some quiz questions - all logic

QUESTIONS THAT U CANT ANSWER(TRY IT OUT)

1. The maker doesn't want it; the buyer doesn't use it; and the user doesn't see it. What is it?

2. A child is born in Boston , Massachusetts to parents who were both born in Boston , Massachusetts . The child is not a United States citizen. How is this possible?

3. Before Mount Everest was discovered, what was the highest mountain on Earth?

4. Clara Clatter was born on December 27th, yet her birthday is always in the summer. How is this possible?

5. Captain Frank and some of the boys were exchanging old war stories. Art Bragg offered one about how his grandfather led a battalion against a German division during World War I. Through brilliant maneuvers, he defeated them and captured valuable territory. After the battle he was presented with a sword bearing the inscription "To Captain Bragg for Bravery, Daring and Leadership. World War I. From the Men of Battalion “Captain Frank looked at Art and said, "You really don't expect anyone to believe that yarn, do you?" What's wrong with the story?

6. What is one thing that all wise men, regardless of their religion or politics, agree is between heaven and earth?

7. In what year did Christmas and New Year's fall in the same year?

8. Why are 1990 American dollar bills worth more than 1989 American dollar bills?

9. A farmer has 17 sheep and all but 9 die. How many are left?

10. How many times can you subtract the number 5 from 25?

11. How could you rearrange the letters in the words "new door" to make one word? Note: There is only one correct answer.

12. Even if they are starving, natives living in the Arctic will never eat a penguin's egg. Why not?

13. Which is correct to say, "The yolk of the egg are white" or “The yolk of the egg is white"?

14. In Okmulgee , Oklahoma , you cannot take a picture of a man with a wooden leg. Why not?

15. There were an electrician and a plumber waiting in line for admission to the International Home Show," One of them was the father of the other's son. How could this be possible?

16. A clerk in the butcher shop is 5' 10" tall. What does he weigh?

*ANSWERS*

1. A coffin.

2. The child was born before 1776.

3. Mount Everest (it just hadn't been discovered).

4. Clara lives in the southern hemisphere.

5. World War I wasn't called "World War I" until World War II.

6. The word "and".

7. They fall in the same year every year. New Year's Day just arrives very early in the year and Christmas arrives very late in the same year.

8. One thousand nine hundred and ninety dollar bills are worth one dollar more than one thousand nine hundred and eighty-nine dollar bills.

9. Nine.

10. Only once, and then you are subtracting it from 20.

11. "One word"

12. Penguins live in the Antarctic.

13. Neither. The yolk of the egg is yellow.

14. You have to take a picture of a man with a camera, not with a wooden leg.

15. They were husband and wife.

16. Meat.

Wednesday, September 19, 2007

Very interesting story and logic

Once upon a time there was a village in which there lived many married
couples. There were certain qualities about this village, though, that
made this village unique:

Whenever a man had an affair with another man's wife, every woman in the
village got to know about the affair, except his own wife. This happened
because the woman who he had slept with talked about their affair with all
the other women in the village, except his wife. Moreover, no one ever
told his wife about the affair.

The strict laws of the village required that if a woman could prove that
her own husband had been unfaithful towards her, then she must kill him
that very day before midnight. Also, every woman was law-abiding,
intelligent, and aware of the intelligence of other women living in that
village.
You and I know that exactly twenty of the men had been unfaithful to their
wives. However, as no woman could prove the guilt of her husband, the
village life proceeded smoothly.

Then, one morning, a wise old man with a long, white beard came to the
village. His magical powers, and honesty was acknowledged by all and his
word was taken as the gospel truth.

The wise old man asked all villagers to gather together in the village
compound and then announced:

"At least one of the men in this village has been unfaithful to his wife."

Questions:

1. What happened next?

2. And what this got to do with stock market crashes?

Answer 1:

After the wise old man has spoken, there shall be 19 peaceful days
followed by a massive slaughter before the midnight of the 20th day when
twenty women will kill their husbands.

Proof:

We will use backward thinking for the proof. Indeed, the very purpose of
this post is to demonstrate the utility of the backward thinking style.

Let's start by assuming that there is only one unfaithful man in the
village - Mr. A. Later, we shall drop this assumption.

Every woman in the village except Mrs. A knows that he is unfaithful.
However, since no one has told her anything, and she remains blissfully
ignorant. But only until the old man speaks the words, "At least one of
the men in this village has been unfaithful to his wife."

The old man's words are news only for Mrs. A, and mean nothing to the
other women. And because she is intelligent, she correctly reasons that if
any man other than her own husband was unfaithful, she would have known
about it. And since she has no such knowledge in her possession, it must
mean that it's her own husband who is unfaithful. And so, before the
midnight of the day the old man spoke, she must execute her husband.

Now, let's assume that there were exactly two unfaithful men in the
village - Mr. A and Mr. B.

The moment the old man speaks the words, "At least one of the men in this
village has been unfaithful to his wife," the village's women population
gets divided as follows:
Every woman other than Mrs. A and Mrs. B knows the whole truth;

Mrs. A knows about philanderer Mr. B, but, as of now, knows nothing about
her own husband's unfaithfulness, so she assumes that there is only one
unfaithful man - Mr. B - who will be executed by Mrs. B that night; and

Mrs. B knows about philanderer Mr. A, but, as of now, knows nothing about
her own husband's unfaithfulness, so she assumes that there is only one
unfaithful man - Mr. A - who will be executed by Mrs. A that night.
As the midnight of day one approaches, Mrs. A is expecting Mrs. B to
execute her husband, and vice versa. But, and this is key, none of them do
what the other one is expecting them to do!

The clock is ticking away and passes midnight and day 2 starts. What
happens now is sudden realization on the part of both Mrs. A and Mrs. B,
that there must be more than one man who is unfaithful. And, since none of
them had prior knowledge about this other unfaithful man, then it must be
their own respective husbands who were unfaithful!

In other words, the inaction of one represents new information for the other.

Therefore, using the principles of inductive logic requiring backward
thinking, both Mrs. A and Mrs. B will execute their respective husbands
before the midnight of day 2.

Now, let's assume that there are exactly three unfaithful men in the
village- Mr. A, Mr. B., and Mr. C. The same procedure can be used to show
that in such a scenario, the wives of these three philandering men will
kill them before the midnight of day 3.

Using the same process, it can be shown that if exactly twenty husbands
are unfaithful, their wives would finally be able to prove it on the 20th
day, which will also be the day of the bloodbath.