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?

Answers were Sorted based on User's Feedback



There will be two security guards at hell and heaven. hell guy used to speak lie always and we can..

Answer / g z

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.

Is This Answer Correct ?    7 Yes 1 No

There will be two security guards at hell and heaven. hell guy used to speak lie always and we can..

Answer / rajiv jindal

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)

Is This Answer Correct ?    7 Yes 2 No

There will be two security guards at hell and heaven. hell guy used to speak lie always and we can..

Answer / raam

I feel GZ is right.

ramumcato@yahoo.com

Is This Answer Correct ?    3 Yes 0 No

There will be two security guards at hell and heaven. hell guy used to speak lie always and we can..

Answer / p73_73@yahoo.com

Ask anybody : If I ask other guy about hell, what does he
tell?

Go through the door guy points to...Enjoy

Is This Answer Correct ?    4 Yes 2 No

There will be two security guards at hell and heaven. hell guy used to speak lie always and we can..

Answer / maddy

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

Is This Answer Correct ?    2 Yes 0 No

There will be two security guards at hell and heaven. hell guy used to speak lie always and we can..

Answer / royal bhaskar

I am sure GZ is right

Is This Answer Correct ?    1 Yes 0 No

There will be two security guards at hell and heaven. hell guy used to speak lie always and we can..

Answer / g0dz1la

"Whats 1+1?"
the guy from hell would have to tell a lie and the guy from
heaven the truth??

Is This Answer Correct ?    1 Yes 0 No

There will be two security guards at hell and heaven. hell guy used to speak lie always and we can..

Answer / rayudu

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

Is This Answer Correct ?    1 Yes 0 No

There will be two security guards at hell and heaven. hell guy used to speak lie always and we can..

Answer / saurabh mishra

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.

Is This Answer Correct ?    1 Yes 1 No

There will be two security guards at hell and heaven. hell guy used to speak lie always and we can..

Answer / aruba stig

The real answer to this is ,
You ask Either of the Guards this
"If i ask the Other Guy what door he is guarding , what
would he tell me? "

The Heaven Guard , knowing the the other guard always lies
will say " He will say that he's guarding heaven"

The Hell Guard always Lies , So he will say , " He will say
that he's guarding Hell"

that way you can find out who is guarding what

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Testing AllOther Interview Questions

If 2x-y=4 then 6x-3y=?

5 Answers   EA Electronic Arts,


Following questions were asked in amazon interview during written test for the post of Quality assurance engineer. Note. u can use any scripting language for 2nd 3 rd questions. Logic is important. 1.Write test cases for file transfer using bluetooth and IR in mobile… 2. Input = 193 the output should be displayed as 100+90+3. Write code without using inbuilt functions and procedures 3. string = performance and delimiter = r Write a code to display the output as Pe r For Man Ce Without using split function and inbuilt functions 4. please give correct test data for the remainder in the below program and also for the time TIME: DD MM YYYY HH MM SS Reminder: [ ] minutes

1 Answers   Amazon,


why do you choose testing?

2 Answers   Cap Gemini,


How can you eliminate the product risk in your project?

0 Answers  


What are the major differences between stress testing, load testing, volume testing?

0 Answers  






What is data flow analysis?

0 Answers  


What is the formal technical review?

1 Answers   Accenture,


What is technical review?

0 Answers  


Hey friends...mail me interview questions of manual testing.. Give me explanation of Automated Tools quality center on my gmail mca.rachna21@gmail.com quick test profession load runner

0 Answers  


18). explain testing process in your organization? 19). are you participated in test plan preparation? 20). how will you prepare test cases? 21). explain importance of the priority in test case documents? 22). explain test execution process? 23). how much time will you take to write one test case? 24). how many test cases you can execute in a day? 25). explain bug life cycle? explain difference between seveority & priority?

0 Answers  


Explain Quality centre? how companies follow the process?

1 Answers  


If I give some thousand tests to execute in 2 days what do you do?

2 Answers   TCS,


Categories