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?
Answer Posted / neha
Here Your question needs to be bit tricky. Ask this question to any of the guards.
"If I ask the other guy, what is the path to Heaven which path he will tell me?"
Whatever path that guard tell you, choose the opposite path - that will be the heaven path.
Explanation:
If the person whom you asked speaks true always then he will point to the hell path, because we asked ' what will the answer of the other guy not his' and as he knows that another guy is a lier and he will show hell path so he also tells us the hell path.
If suppose the person whom you asked is the hell guy and always speaks a lie. Then also he will tell us hell path as he knows another guy will tell us the heaven path but he himself is a lier always so he will tell us hell path always.
So no matter who spoke lie or true. we need to go to opposite direction.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain what the meaning of code walk through is?
What is 'test plan driven' or 'key word driven' method of testing?
What is impact analysis? As a tester how will you do impact analysis in your project?
Mention what the meaning of breath testing is?
Hello! I want to choose a software for verfication and validation. Can some one give me option for choosing software to test?
What is test tools?
What is v- diagram (model)?
When is it ideal that the testing is stopped?
Share 2 high complexity and 2 low complexity test cases for a coke vending (ATM) machine.
What documents will you need to create a test case?
Why is the decision table testing used?
What is error-based testing?
What is a user manual?
What is checksheet?
Explain interface?