ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Testing  >>  Testing AllOther
 
 


 

 
 Automation Testing interview questions  Automation Testing Interview Questions
 Manual Testing interview questions  Manual Testing Interview Questions
 QA Concepts interview questions  QA Concepts Interview Questions
 Mobile Testing interview questions  Mobile Testing Interview Questions
 Test Cases interview questions  Test Cases Interview Questions
 Test Documents Reporting interview questions  Test Documents Reporting Interview Questions
 Testing AllOther interview questions  Testing AllOther Interview Questions
Question
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?
 Question Submitted By :: Hari
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
Ask anybody : If I ask other guy about hell, what does he 
tell?

Go through the door guy points to...Enjoy
 
Is This Answer Correct ?    2 Yes 0 No
P73_73@yahoo.com
 
  Re: 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
# 2
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 7 No
Venkat
 
 
 
  Re: 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
# 3
Kindly ask correct questiopn and then apply probability. 
Question is "If I ask other guy about hell, what does he 
tell?"
Analise this question and tell me weather it is sufficient 
of not
Thanks 

Pankaj Goyal
p73_73@yahoo.com
 
Is This Answer Correct ?    0 Yes 1 No
P73_73@yahoo.com
 
  Re: 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
# 4
Ask this question to any security guard and the follow the 
way what he is showing if you want to go for heaven or 
follow the opposite to go for hell...
- Which way will he show if I ask the other gate security 
guard "which is the way to hell ?"
 
Is This Answer Correct ?    0 Yes 2 No
Gopal
 
  Re: 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
# 5
i feel venkat was logically correct.....

cheers venkat
 
Is This Answer Correct ?    1 Yes 2 No
Harri
 
  Re: 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
# 6
Venkat: good theory, but if you can only ask 1 question how 
will you get 2 answers? or worse who will you believe that 
says they are from heaven first??  This is a sticky wicket..
 
Is This Answer Correct ?    0 Yes 1 No
Deann
 
  Re: 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
# 7
I assume u have to ask them both the same question. 
So what about asking something like "are you a guard" or
"are you guarding a door" meaning something that is
obviously the same for both of them, then you can tell if
one is lying, and go through the other door.
 
Is This Answer Correct ?    4 Yes 0 No
G Z
 
  Re: 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
# 8
sorry to say venkat ....i dought that u'r answer is 
wrong.....i will prove it 

u'r allowed to answer only one question so 
if u ask "are u from hell" to heaven gaurd and he say "No" 
and u enter ...it will be heaven
if u ask the same question "are u from hell" to hell gaurd 
and he say "No" and u enter it will be hell ....so u'r 
answer is wrong

and i agree with P73_73@yahoo.com answer .....if u want to 
prove u'r thinking out of the box then u can say GZ answer
 
Is This Answer Correct ?    1 Yes 0 No
Maddy
 
  Re: 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
# 9
I feel GZ is right.

ramumcato@yahoo.com
 
Is This Answer Correct ?    3 Yes 0 No
Raam
 
  Re: 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
# 10
ask any of them, "Will heaven guard always tell truth?"
     If he says "yes",he is heaven guard(he is supposed to 
say truth).
     If he says "no", then he is hell guard.(he is supposed 
to say wrong answer.)
 
Is This Answer Correct ?    0 Yes 3 No
Suma
 
  Re: 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
# 11
I am sure GZ is right
 
Is This Answer Correct ?    1 Yes 0 No
Royal Bhaskar
 
  Re: 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
# 12
here the point to be noted that we have to ask only one
question and it may be of any type(because as per the
requirements the type of question is not mentioned)
so firstly go for smoke & sanity test case:
the solution is very simple
that is
ask to any one of the guard the folowing question:
"R U A GUARD?"
now there can be only two possible outcomes(reply):
either yes or no
if u r questioning to the right guard then surely he will
say:yes
and the rong one wll alwys reply with :no

   ..........any coments wll be well accepted 
Rajiv Kumar Jindal 
(Test Engineer,Noida)
 
Is This Answer Correct ?    2 Yes 1 No
Rajiv Jindal
 
  Re: 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
# 13
Rajeev appears to be more correct than GZ. from GZ point of 
view we have to ask one question but restriction is not 
there on number of gurards. one good question can resolve 
the confusion..as he asked.
 
Is This Answer Correct ?    1 Yes 1 No
Saurabh Mishra
 
  Re: 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
# 14
"Whats 1+1?"
the guy from hell would have to tell a lie and the guy from 
heaven the truth??
 
Is This Answer Correct ?    1 Yes 0 No
G0dz1la
 
  Re: 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
# 15
Ask one gaurd that... Are you a gaurd??
If he answered No.He is Hell guy?
so Go to the other door That should be Heaven.
Else 
He say I am Gaurd!
He is a heaven guy. Go with him...
 
Is This Answer Correct ?    1 Yes 0 No
Rayudu
 
  Re: 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
# 16
I think that the hell guy will not have wings and the 
heaven guy maybe has wings.
 
Is This Answer Correct ?    0 Yes 1 No
Nandish
 

 
 
 
Other Testing AllOther Interview Questions
 
  Question Asked @ Answers
 
Is there any test tool that tracks live metrics? Can anyone help me?  1
what is differnete between bug report@bugtracking TCS1
What is different Between Black boxtesting and functional testing... Millennium1
What is the use of ISTQB certification? How many levels are there in the ISTQB? which certification is helpful for Test Engineers? Intrack1
what is ISO?  6
What is difference between Access(DBMS) and RDBMS like SQL Server or Oracle?. Why Access is not used in web based application? Disha-Tech4
write a querry .if 10 records in a table.i want only 1 record and 3 reocrd and 10 record. how to write a querry. HealthTech1
what is difference between system testing and system integration testing? Virtusa2
Hi I have done M.Tech Biotechnology from Anna University,but i did not get Job in my field.so I tried to learn Software testing . If i do ISQTB certifications , i will get job in MNC or not .Please let me know please mail to skirubanandan@lycos.com  2
what is the actual time to stop testing a product.  2
How can you test an application after production and deployed in to the clients system, connecting to the (Client's)server which is located somewhere in the US. I mean how can you connect and test when it is at maintenance Oracle1
what is conventional Testing? and what is unconventional testing? IntraLogic3
What is the difference between Testing and Code review?  1
What is a test plan? can we do without a test plan this was askes in tcs interview pls tell me fast by janaki  5
I have the experience of about 1yrs and 6 months in software testing. Now i must have to shift from this due to unavailablity of projects. But for now I am not able to find any opening in testing with 1+ yrs experience. Plz anybody mail me if anybody finds any openings. Thank you  2
What is TRM? TCS1
What the main use of preparing a traceability matrix? TCS1
Whether networking knowledge is essential for a testing professional?  1
I want a test management system urgently but I don’t have time to search and compare different models. Please suggest some.  3
When a bug is found, what is the first action? TCS1
 
For more Testing AllOther Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com