Results 1 to 21 of 21

Thread: [RESOLVED] Its a challenge

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2009
    Posts
    595

    Resolved [RESOLVED] Its a challenge

    Its a general aptitude exam question that i faced in one of my interviews:

    Two twins have certain peculiar characteristics. One of them always lies on Monday, Wednesday, and Friday. The other always lies on Tuesdays, Thursdays and Saturdays. On the other days they tell the truth.

    You are given a conversation.

    Person A-- today is Sunday my name is Anil
    Person B -- today is Tuesday, my name is Bill
    What day is today?

    Ans: Today is Tuesday

    any explanation for this answer?


  2. #2
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Its a challenge

    They Both tell the truth on Sundays, so it cant be Sunday, or else both of them would have said "Today is Sunday"

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Its a challenge

    Today is actually Thursday.

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2009
    Posts
    595

    Re: Its a challenge

    Quote Originally Posted by dclamp View Post
    They Both tell the truth on Sundays, so it cant be Sunday, or else both of them would have said "Today is Sunday"
    but u did not explained why the answer is tuesday

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2009
    Posts
    595

    Re: Its a challenge

    Quote Originally Posted by penagate View Post
    Today is actually Thursday.
    Not an intelligent answer

  6. #6
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Its a challenge

    Well, I don't know about that. I was trying to demonstrate how you might answer the question using lateral thinking. The question itself, after all, makes no reference to the twins' statements.

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Its a challenge

    If it were Sunday, then B wouldn't have said Tuesday.
    So it is not Sunday, A is lying.
    Which means B is telling the truth.

  8. #8

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2009
    Posts
    595

    Re: Its a challenge



    @mendhak:You may also ask this question to the candidates in an interview

  9. #9
    Fanatic Member namrekka's Avatar
    Join Date
    Feb 2005
    Location
    Netherlands
    Posts
    639

    Re: [RESOLVED] Its a challenge

    Are the twins genetically different or genetically identical?

  10. #10
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: [RESOLVED] Its a challenge

    One of them is telling the truth, since they both can't lie on the same day. That's how you know its Tuesday.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  11. #11
    Fanatic Member stlaural's Avatar
    Join Date
    Sep 2007
    Location
    Quebec, Canada
    Posts
    683

    Re: [RESOLVED] Its a challenge

    I've also been ask this kind of logical question in the past

    Two guys, one always lies, the other always tells the truth.
    Each one of them is guarding a door, one door leads to your death, the other one sets you free.
    You can only ask one question to only one of the guys.
    Based on the answer you get you should be able to know for sure which door is the safe one.
    (Hope these explanations a clear enough)



    Oh and another one :
    A guy stands in front of his King for a crime he commited.
    The King tells him : "If the next thing you tell me is the truth, I'll cut your troat, if its a lie I'll kill you by fire."
    The guy survived, what did he said ?
    Alex
    .NET developer
    "No. Not even in the face of Armageddon. Never compromise." (Walter Kovacs/Rorschach)

    Things to consider before posting.
    Don't forget to rate the posts if they helped and mark thread as resolved when they are.


    .Net Regex Syntax (Scripting) | .Net Regex Language Element | .Net Regex Class | DateTime format | Framework 4.0: what's new
    My fresh new blog : writingthecode, even if I don't post much.

    System: Intel i7 920, Kingston SSDNow V100 64gig, HDD WD Caviar Black 1TB, External WD "My Book" 500GB, XFX Radeon 4890 XT 1GB, 12 GBs Tri-Channel RAM, 1x27" and 1x23" LCDs, Windows 10 x64, ]VS2015, Framework 3.5 and 4.0

  12. #12
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: [RESOLVED] Its a challenge

    For the first one you ask "What door would the other guy tell me to take"
    The lyer would tell you that the truthful guy will tell you to take the door to your death.
    The truthful gut will tell you the lyer will tell you to take the door to your death.
    Just take the door opposite the one the guy tells you to take.

    Waiting in suspense for the second answer......
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  13. #13
    Fanatic Member stlaural's Avatar
    Join Date
    Sep 2007
    Location
    Quebec, Canada
    Posts
    683

    Re: [RESOLVED] Its a challenge

    Yeah you got it

    the other one seems so obvious once you know it.
    good luck.
    Alex
    .NET developer
    "No. Not even in the face of Armageddon. Never compromise." (Walter Kovacs/Rorschach)

    Things to consider before posting.
    Don't forget to rate the posts if they helped and mark thread as resolved when they are.


    .Net Regex Syntax (Scripting) | .Net Regex Language Element | .Net Regex Class | DateTime format | Framework 4.0: what's new
    My fresh new blog : writingthecode, even if I don't post much.

    System: Intel i7 920, Kingston SSDNow V100 64gig, HDD WD Caviar Black 1TB, External WD "My Book" 500GB, XFX Radeon 4890 XT 1GB, 12 GBs Tri-Channel RAM, 1x27" and 1x23" LCDs, Windows 10 x64, ]VS2015, Framework 3.5 and 4.0

  14. #14
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,228

    Re: [RESOLVED] Its a challenge

    For the second puzzle: "I am going to die by fire". That throws a spanner in the works, so the King forgives him.
    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  15. #15
    Fanatic Member stlaural's Avatar
    Join Date
    Sep 2007
    Location
    Quebec, Canada
    Posts
    683

    Re: [RESOLVED] Its a challenge

    that's it!
    Alex
    .NET developer
    "No. Not even in the face of Armageddon. Never compromise." (Walter Kovacs/Rorschach)

    Things to consider before posting.
    Don't forget to rate the posts if they helped and mark thread as resolved when they are.


    .Net Regex Syntax (Scripting) | .Net Regex Language Element | .Net Regex Class | DateTime format | Framework 4.0: what's new
    My fresh new blog : writingthecode, even if I don't post much.

    System: Intel i7 920, Kingston SSDNow V100 64gig, HDD WD Caviar Black 1TB, External WD "My Book" 500GB, XFX Radeon 4890 XT 1GB, 12 GBs Tri-Channel RAM, 1x27" and 1x23" LCDs, Windows 10 x64, ]VS2015, Framework 3.5 and 4.0

  16. #16
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Its a challenge

    Quote Originally Posted by dclamp View Post
    They Both tell the truth on Sundays, so it cant be Sunday, or else both of them would have said "Today is Sunday"
    Quote Originally Posted by mendhak View Post
    If it were Sunday, then B wouldn't have said Tuesday.
    So it is not Sunday, A is lying.
    Which means B is telling the truth.
    We have the same answer!

  17. #17
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,228

    Re: [RESOLVED] Its a challenge

    There's a radio show called cartalk on NPR which has a puzzler section in it. Some of the puzzles are unique.
    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  18. #18
    Fanatic Member demotivater's Avatar
    Join Date
    Jun 2002
    Location
    is everything
    Posts
    627

    Re: [RESOLVED] Its a challenge

    Who would name their kid Anil?
    Here's to us!
    Who's like us?
    Darned few, and they're all dead!

  19. #19
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: [RESOLVED] Its a challenge

    I once knew a kid called Anil Ghoal. Nobody ever made fun of him.
    I use VB 6, VB.Net 2003 and Office 2010



    Code:
    Excel Graphing | Excel Timer | Excel Tips and Tricks | Add controls in Office | Data tables in Excel | Gaussian random number distribution (VB6/VBA,VB.Net) | Coordinates, Vectors and 3D volumes

  20. #20
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,228

    Re: [RESOLVED] Its a challenge

    Quote Originally Posted by demotivater View Post
    Who would name their kid Anil?
    Lots of Hindu people, for one.

    In Sanskrit, it means Air or Wind.
    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  21. #21
    Stack Overflow mod​erator
    Join Date
    May 2008
    Location
    British Columbia, Canada
    Posts
    2,824

    Re: [RESOLVED] Its a challenge

    Someone who named the other twin "Bill"?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width