Bhavesh's Tryst

Little poems & notes created to break the mudane

Friday, August 24, 2012

 

Logic

 

Subject: Ashok and his interview - Are you good at logic

 

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


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

Of course,' replies Ashok.

Let me test you,' replies Sunder. `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?'

Ashok stares at Sunder. `Is that a test in Logic?' Sunder nods.

The one with the dirty face washes his face', Ashok 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.'

Hmmm, I never thought of that," says Ashok. `Give me another test.'

Sunder 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 Ashok. `It's shocking to me that I could make an error in logic. Test me again!'

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

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

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

Wrong, again. Do you now see, Ashok, 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: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

Archives

June 2006   July 2006   July 2007   October 2007   March 2008   April 2008   September 2008   October 2008   October 2010   November 2010   December 2010   January 2011   February 2011   March 2011   April 2011   May 2011   June 2011   July 2011   August 2011   September 2011   October 2011   November 2011   December 2011   January 2012   February 2012   March 2012   April 2012   May 2012   June 2012   July 2012   August 2012   September 2012   October 2012   November 2012   December 2012   January 2013   February 2013   March 2013   April 2013   May 2013   July 2013   August 2013   September 2013   October 2013   November 2013   December 2013   January 2014   February 2014   March 2014   May 2014   July 2014   August 2014   September 2014   October 2014   November 2014   December 2014   January 2015   September 2015   October 2015   November 2015   February 2016   March 2016   May 2016   June 2016   July 2016   August 2016   September 2016   October 2016   November 2016   December 2016   March 2017   April 2017   May 2017   June 2017   July 2017   August 2017   September 2017   March 2018   April 2018   May 2018   June 2018   July 2018   September 2018   January 2019   March 2019   September 2019  

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]