Skip to main content

Logic




Bill, a fresh computer graduate from a world-class University, goes for an interview in a software company.


The interviewer is Steve, a grubby old man. And the first question he asks Bill is, 'Are you good at logic?'


'Of course,' replies Bill.


'Let me test you,' replies Steve. 'Two men come down a chimney. One comes with a clean face and the other comes out with a dirty face. Which one would wash his face?'


Bill stares at Steve. 'Is that a test in Logic?' Steve nods.


'The one with the dirty face washes his face', Bill 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 Bill. 'Give me another test.'


Steve 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 one's 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 one's face.'




'I didn't think of that!' says Bill. 'It's shocking to me that I could make an error in logic. Test me again!'




Steve 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.'


Bill is desperate. 'I am qualified for this job. Please give me one more test!'


He groans when Steve 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', Bill replies, 'I have learnt this logic.'


'Wrong, again. Do you now see, Bill, why programming knowledge is 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 the flaw in the premise?'"

Comments

Popular posts from this blog

Salty Coffee

He met her on a party. She was so outstanding, many guys chasing after her, while he so normal, nobody paid attention to him. At the end of the party, he invited her to have coffee with him, she was surprised, but due to being polite, she promised. They sat in a nice coffee shop, he was too nervous to say anything, she felt uncomfortable, she thought, please, let me go home.... suddenly he asked the waiter. "would you please give me some salt? I'd like to put it in my coffee." Everybody stared at him, so strange! His face turned red, but still, he put the salt in his coffee and drank it. She asked him curiously; why you have this hobby? He replied: "when I was a little boy, I was living near the sea, I like playing in the sea, I could feel the taste of the sea, just like the taste of the salty coffee. Now every time I have the salty coffee, I always think of my childhood, think of my hometown, I miss my hometown so much, I miss my parents who are still living ther...

The Language of Steam and Ink

 Every Tuesday at 4:00 PM, the world narrowed down to the size of a chipped marble counter and the scent of roasted beans. Maya stepped into The Ivy Nook , the bells above the door chiming a familiar greeting. Sunlight filtered through the dusty windows, catching the steam rising from the espresso machine in a way that made the whole place feel like a dream sequence. And there he was—Liam. He didn’t ask for her order. He never had to. With a soft smile and a smudge of flour on his forearm that Maya found inexplicably endearing, he began the ritual. The rhythmic hiss of the milk, the steady pour, and then the moment that made Maya’s heart do a clumsy somersault: the doodle. Using a fine-tipped marker, he sketched a tiny, perfect bicycle on the side of her paper cup. He slid the latte toward her. Their fingers brushed—a fleeting, electric contact—and they locked eyes. For a long minute, neither moved. Maya felt a profound sense of belonging. He knows, she thought. He feels the same...

The Little Gardener's Surprise

Once upon a time in a small town, there lived a little girl named Lily who had a magical garden. Lily loved spending her afternoons tending to her flowers, talking to the butterflies, and singing to the plants. One sunny day, as Lily watered her tulips, she noticed a tiny door nestled among the stems.  To her surprise, it swung open, revealing a world of miniature creatures living in harmony with her garden. There were ladybugs in polka-dot houses, fairies weaving dewdrop dresses, and even a wise old snail reading poetry to a cluster of mushrooms.   Lily was overjoyed to discover these magical friends and decided to organize a tiny garden party. She crafted daisy hats for the fairies and set up a banquet of sweet nectar for the butterflies. The ladybugs brought their musical instruments, and the snail recited his favorite poems.   As the sun dipped below the horizon, turning the sky into a canvas of warm hues, Lily and her newfound friends danced under the twin...