Selecting an answer

Ok here's a brain-teaser type question. It's multiple choice. Enjoy :)
options = {'A','B','C','D};
myAnswer = options{randi(4)};
Now, what is the chance of "myAnswer" being correct for A,B,C,D below?
A) 25%
B) 50%
C) 60%
D) 25%
... and should I get the Statistics Toolbox to help me? :)

5 Kommentare

Walter Roberson
Walter Roberson am 7 Nov. 2011
Cute ;-)
Jan
Jan am 7 Nov. 2011
What do the percentage numbers mean? What is the qualitative difference between A) and D)?
Sven
Sven am 7 Nov. 2011
Sorry Jan, just a puzzle I found - no further info available. I tried thinking it through as a last resort (thinking should always be a last resort)... but met some difficulty.
Andrei Bobrov
Andrei Bobrov am 7 Nov. 2011
options{randi(4)} - 25% 25% 25% 25%
Sven
Sven am 7 Nov. 2011
This video may help:
http://www.youtube.com/watch?feature=player_embedded&v=evKYF1G_uDI

Melden Sie sich an, um zu kommentieren.

Antworten (1)

LY Cao
LY Cao am 7 Nov. 2011

0 Stimmen

B, have any questions?

1 Kommentar

Sven
Sven am 7 Nov. 2011
hehe... please show your working? ;)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Puzzles finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 7 Nov. 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by