Tuesday, November 15, 2011

Logic

Abbas, a fresh computer graduate from a world class university goes for an interview in a Software company.
The interviewer is Waleed, a grubby old man. And the first question he asks Abbas, is “Are you good at logic?”.
“Of course” replies Abbas.
“Let me test you” replies Waleed.
“Two men come down a chimney. One comes with a clean face and the other comes out with a dirty face. Which one washes his face?
Abbas stares at Waleed. “Is that a test in Logic?”
Waleed nods.
“The one with the dirty face washes his face”, He answers wearily.
“Wrong. The one with the clean face washes his face. Examine the simple logic. The one with the dirty face looks at the one with the clean face and thinks his face is clean. The one with the clean face looks at the one with the dirty face and thinks his face is dirty. So; the one with the clean face washes his face.”
“Hmm. I never thought of that” says Abbas. “Give me another test”
Waleed again holds up two fingers “Two men come down a chimney. One comes out with a clean face and the other comes out with a dirty face. Which one washes his face?
“We have already established that. The one with the clean face washes his face”
“Wrong. Each one washes his face. Examine the simple logic. The one with the dirty face looks at the one with the clean face and thinks his face is clean. The one with the clean face looks at the one with the dirty face and thinks his face is dirty. So; the one with the clean face washes his face. When the one with the dirty face sees the one with the clean face washing his face, he also washes his face. So each one washes his face”
“I didn’t think of that!” says Abbas. ” It’s shocking to me that I could make an error in logic. Test me again!.”
Waleed holds up two fingers “Two men come down a chimney. One comes out with a clean face and the other comes out with a dirty face. Which one washes his face?
“Each one washes his face”
“Wrong. Neither one washes his face. Examine the simple logic. The one with the dirty face looks at the one with the clean face and thinks his face is clean. The one with the clean face looks at the one with the dirty face and thinks his face is dirty. But when the one with clean face sees that the one with the dirty face doesn’t wash his face, he also doesn’t wash his face so neither one washes his face”.
Abbas is desperate. “I am qualified for this job. Please give me one more test”
He groans when Waleed lifts his two fingers”,Two men come down a chimney. One comes out with a clean face and the other comes out with a dirty face. Which one washes his face?
“Neither one washes his face”
“Wrong. Do you now see, Abbas, why programming knowledge is an insufficient for this job? Tell me, how is it possible for two men to come down the same chimney, and for one to come out with a clean face and the other with a dirty face? Don’t you see?



Enter your email address:

Delivered by FeedBurner

Main site address is http://www.vinodhemdev.blogspot.com Subscribe in a reader For more stories, click on the word Home or click on ONE STORY A DAY

Subscribe to ONE STORY A DAY

We also invite you to send us stories you would like to see published in this blog. You can send us either stories you have written or stories written by others that you have liked. You may rest assured that both you and the author are credited for your submission. Just send a copy of your stories and other pieces to my email address: vinodhemdev@gmail.com

ONE STORY A DAY

↑ Grab this Headline Animator

No comments:

Post a Comment

Comments: