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.
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
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
and the rong one wll alwys reply with :no
..........any coments wll be well accepted
Rajiv Kumar Jindal
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
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.
I have completed B.E.Electronics in may,1998.Completed one
year computer course at NIIT in 1999....In 2000, I joined
as electronics trainee in a small organisation. I continued
in that job and resigned in 2005....... Till now I didnot
get job. I have done software testing course in hyd. I want
to show this 2+ years gap as exp.and want to get job. how?
Can you give some projects with details in web as well as
in client/server technology. I will practice them as if it
were real project. How can I get job in testing field? I am
new to this field. I have no exp.in this field.... Any
consultencies please...how to proceed .....