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
you are a SQA lead on a project that uses an agile development environment, The lead developer has been instructed to write and initially-failing automated test case, then produce minimum amount of code to pass the test and finally refactor the new code to acceptable standards. based on above, Which type of SQA-focused SDLA is being used?
What is static analyzer?
What is compliance testing ?
Hi..I want testing in worker compensation claims.. if anyone have real exp..can you explain it for me.. thanks
What is depth testing?
Examples where you have worked on your own and as part of a team.
What is a method that attempts to reduce the complexity levels of aging legacy software? 1. Reengineering 2. Regression 3. Restructuring 4. Reusability 5. Reverse engineering
What is oo system testing?
Explain basis path testing?
What are the Difficulties you found while testing your module ? plese give the possible difficulties.
Explain how to test documents in a project that span across the software development lifecycle?
Explain mutation testing?
What are test comparators?
What is the purpose of a test completion criterion?
How should testing be conducted?