Selecting an answer

7 views (last 30 days)
Sven
Sven on 7 Nov 2011
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 Comments
Andrei Bobrov
Andrei Bobrov on 7 Nov 2011
options{randi(4)} - 25% 25% 25% 25%
Sven
Sven on 7 Nov 2011
This video may help:
http://www.youtube.com/watch?feature=player_embedded&v=evKYF1G_uDI

Sign in to comment.

Answers (1)

LY Cao
LY Cao on 7 Nov 2011
B, have any questions?
  1 Comment
Sven
Sven on 7 Nov 2011
hehe... please show your working? ;)

Sign in to comment.

Categories

Find more on Puzzles in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!