There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
Lets apply probability.
Hell-- The guard always lies..
Suppose you ask him " Are you from Hell? he wud definitely
answer "NO" as he always lies. If you ask him " Are you
from heaven?" He wud say "Yes".
Heaven-- The guard always speaks truth.
Suppose if you ask him "Are you from Hell?" He wud say "NO".
If you ask him "Are you from heaven?He wud say "Yes".
As you are supposed to answere only one question...
If the guard's answer is NO, then it is Hell
If the guard's answer is Yes then it is Heaven
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
Kindly ask correct questiopn and then apply probability.
Question is "If I ask other guy about hell, what does he
tell?"
Analise this question and tell me weather it is sufficient
of not
Thanks
Pankaj Goyal
p73_73@yahoo.com
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
Ask this question to any security guard and the follow the
way what he is showing if you want to go for heaven or
follow the opposite to go for hell...
- Which way will he show if I ask the other gate security
guard "which is the way to hell ?"
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
Venkat: good theory, but if you can only ask 1 question how
will you get 2 answers? or worse who will you believe that
says they are from heaven first?? This is a sticky wicket..
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
I assume u have to ask them both the same question.
So what about asking something like "are you a guard" or
"are you guarding a door" meaning something that is
obviously the same for both of them, then you can tell if
one is lying, and go through the other door.
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
sorry to say venkat ....i dought that u'r answer is
wrong.....i will prove it
u'r allowed to answer only one question so
if u ask "are u from hell" to heaven gaurd and he say "No"
and u enter ...it will be heaven
if u ask the same question "are u from hell" to hell gaurd
and he say "No" and u enter it will be hell ....so u'r
answer is wrong
and i agree with P73_73@yahoo.com answer .....if u want to
prove u'r thinking out of the box then u can say GZ answer
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
ask any of them, "Will heaven guard always tell truth?"
If he says "yes",he is heaven guard(he is supposed to
say truth).
If he says "no", then he is hell guard.(he is supposed
to say wrong answer.)
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
here the point to be noted that we have to ask only one
question and it may be of any type(because as per the
requirements the type of question is not mentioned)
so firstly go for smoke & sanity test case:
the solution is very simple
that is
ask to any one of the guard the folowing question:
"R U A GUARD?"
now there can be only two possible outcomes(reply):
either yes or no
if u r questioning to the right guard then surely he will
say:yes
and the rong one wll alwys reply with :no
..........any coments wll be well accepted
Rajiv Kumar Jindal
(Test Engineer,Noida)
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
Rajeev appears to be more correct than GZ. from GZ point of
view we have to ask one question but restriction is not
there on number of gurards. one good question can resolve
the confusion..as he asked.
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
Ask one gaurd that... Are you a gaurd??
If he answered No.He is Hell guy?
so Go to the other door That should be Heaven.
Else
He say I am Gaurd!
He is a heaven guy. Go with him...
Re: There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
Hi
I have done M.Tech Biotechnology from Anna University,but i
did not get Job in my field.so I tried to learn Software
testing . If i do ISQTB certifications , i will get job in
MNC or not .Please let me know
please mail to skirubanandan@lycos.com
How can you test an application after production and
deployed in to the clients system, connecting to the
(Client's)server which is located somewhere in the US.
I mean how can you connect and test when it is at
maintenance
I have the experience of about 1yrs and 6 months in
software testing. Now i must have to shift from this due
to unavailablity of projects. But for now I am not able to
find any opening in testing with 1+ yrs experience. Plz
anybody mail me if anybody finds any openings. Thank you