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 heuristics testing?
Explain what the meaning of code walk through is?
Explain inspection?
What is oo system testing?
What is a user interface?
For the 7 stages of the SDLC (Planning, Analysis, Design, Development, Testing, Implementation, and Maintenance), What are the major inputs and outputs of each stage? What are the primary activities in each stage? Who are the primary "players" involved in each stage (e.g., Tech Arch's BA's, Testers etc.)?
Explain defect?
What is FCOE?
What is stochastic testing?
In the 7 Stages of the SDLC (Planning, System Analysis, System Design, Development, Testing, Implementation, and Maintenance), WHO are the stakeholders of each stage?
What is a database administrator?
. when we preferred spiral model to develop an application? . explain testing methodologies? . explain cyclomatic complexity? .explain difference between stab & driver? . who will conduct integration testing?
What is the bottom-up approach?
What is recovery/error testing?
Mention what the main advantages of statement coverage metric of software testing are?