Interview Question

Programmer Interview

If a couple has two children, what is the probability that

  one is a girl and one is a boy?
Tags:
math logic
Answer

Interview Answer

7 Answers

7

1/2

Interview Candidate on Aug 1, 2009
1

1/4

1/2 x 1/2 = 1/4

Anonymous on Sep 30, 2010
8

It's a 1/2.

The first child can be either a boy or a girl, for the second child to be the opposite gender the probability is 1/2.

Or another way

Boy Boy 1/4

Boy Girl ] 1/4 +
Girl Boy ] 1/4 =1/2

Girl Girl 1/4

Anonymous on Oct 20, 2010
0

Why would they need to ask a biological question like that when it comes to game programmer? Unless if it's about your math skills instead of biology skills, what do they care?

Nathan on Apr 27, 2011
2

1/2 anyday.

Jatin Rai on Jul 4, 2011
1

1/2*1/2 + 1/2*1/2 = 1/2
boy & girl or girl & boy

Anonymous on Aug 21, 2012
1

boy + boy
girl + girl
boy+girl or girl +boy
so 3 different posibilities : 1/3

ALFONSO RODRIGUEZ on Mar 7, 2013

Add Answers or Comments

To comment on this, Sign In or Sign Up.