wu :: forums
« wu :: forums - 25 Attempts to Pass an Unknown Test »

Welcome, Guest. Please Login or Register.
Nov 28th, 2024, 4:26am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   medium
(Moderators: Eigenray, towr, Grimbal, Icarus, william wu, SMQ, ThudnBlunder)
   25 Attempts to Pass an Unknown Test
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: 25 Attempts to Pass an Unknown Test  (Read 1446 times)
Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
25 Attempts to Pass an Unknown Test  
« on: Nov 15th, 2011, 11:53am »
Quote Quote Modify Modify

You are going to take a test consisting of 30 yes/no questions on  a subject you have zero knowledge. To pass the test, you need to get all the answers right in a single attempt.
 
At every attempt, you supply your answers to every question, and the only information you get back is the number of questions answered correctly.
 
What are the chances you pass the test after 25 attempts?
 
I don't know the answer to this problem, but it looks quite interesting and belonging to at least Medium. I apologize if this is an old problem - haven't been around for a long time  Sad
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: 25 Attempts to Pass an Unknown Test  
« Reply #1 on: Nov 15th, 2011, 12:18pm »
Quote Quote Modify Modify

It does sounds somewhat familiar, but if it's been posted before it would be a long while ago and I wouldn't know how to look for it.
Welcome back.
 
 
There's at least a 1 in 64 chance, since you can guarantee 24 correct answers. But you should be able to do much, much better.
I expect you should be able to get all combinations were 9 answers or less are "yes", or 21 or more; which gives you at least a 1 in 23 probability (not accounting your chances on the other cases).
« Last Edit: Nov 15th, 2011, 12:24pm by towr » IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7527
Re: 25 Attempts to Pass an Unknown Test  
« Reply #2 on: Nov 16th, 2011, 7:02am »
Quote Quote Modify Modify

It is kind of a variation of mastermind, isn't it?
 
Is it allowed not to answer a question?
 
If not, all possible submissions are equivalent for the first attempt and you can as well start with an all-yes attempt.
 
If you have a method that starts with some yes and some no, you can convert it to a method starting with all-yes by just reversing your guess in all attempts for all the questions you initially answered by no.
« Last Edit: Nov 16th, 2011, 7:11am by Grimbal » IP Logged
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Re: 25 Attempts to Pass an Unknown Test  
« Reply #3 on: Nov 16th, 2011, 9:12am »
Quote Quote Modify Modify

on Nov 15th, 2011, 12:18pm, towr wrote:
It does sounds somewhat familiar, but if it's been posted before it would be a long while ago and I wouldn't know how to look for it.
Welcome back.

Merely a fleeting visit, I suspect.  Sad
 
Not very long ago.
IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: 25 Attempts to Pass an Unknown Test  
« Reply #4 on: Nov 18th, 2011, 1:11am »
Quote Quote Modify Modify

on Nov 16th, 2011, 9:12am, ThudnBlunder wrote:

Merely a fleeting visit, I suspect.  Sad

Not so fast - see my attempt to revive this thread  Wink
 
Quote:
Not very long ago.

Ah, I suspected Leo is somehow involved, and now I know there is an elegant solution for 25 attempts version!
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board