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 / venkat
Lets apply probability.
Hell-- The guard always lies..
Suppose you ask him " Are you from Hell? he wud definitely
answer "NO" as he always lies. If you ask him " Are you
from heaven?" He wud say "Yes".
Heaven-- The guard always speaks truth.
Suppose if you ask him "Are you from Hell?" He wud say "NO".
If you ask him "Are you from heaven?He wud say "Yes".
As you are supposed to answere only one question...
If the guard's answer is NO, then it is Hell
If the guard's answer is Yes then it is Heaven
| Is This Answer Correct ? | 1 Yes | 16 No |
Post New Answer View All Answers
What is Functional, Non-Functional, and Regression used for (i.e. the purpose of each)?
What can static analysis not find?
What makes an inspection different from other review types?
Explain good design?
What is heuristics testing?
During the testing of a module tester, 'x' found a bug and assigned it to a developer. But developer rejects the same, saying that it's not a bug. What 'x' should do?
Which is the current formal world-wide recognized documentation standard?
What's Stress Testing?
What are the benefits of independent testing?
What is test development?
What is benchmark?
Explain structural testing?
Explain verification?
Explain test plan?
What is difference between Agile and V model? Explain