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
What is closed box testing?
Explain defect?
What are the emerging trends in the testing and QA arena?
What is test/qa team lead?
how i find swing lenth of probe ?
What is your daily routine in your office?
Mention the difference between data driven testing and retesting?
What is gorilla testing?
How much testing is enough?
Evaluation?
In MSBI also we need to write test cases please tell me because iam new to msbi
Which is not a tool of static code analysis? a.)Ada b.)Borland-delphi c.)Fortan d.)None
What are validation and verification?
Explain what the meaning of code walk through is?
Explain 3 high priority test cases for the performance of MSN search engine.