Aspire Faculty ID #18712 · Topic: UGC NET Computer Science Sep 2022 (Paper II) · Just now
UGC NET Computer Science Sep 2022 (Paper II)

There are three boxes. First box has $2$ white, $3$ black and $4$ red balls. Second box has $3$ white, $2$ black and $2$ red balls. Third box has $4$ white, $1$ black and $3$ red balls. A box is chosen at random and $2$ balls are drawn out of which $1$ is white, and $1$ is red. What is the probability that the balls came from first box?

Solution

Let the boxes be $B_1, B_2, B_3$ and event $E$ be drawing $1$ white and $1$ red ball.

Since one box is chosen randomly,

$P(B_1)=P(B_2)=P(B_3)=\frac{1}{3}$

For first box,

$P(E|B_1)=\frac{\binom{2}{1}\binom{4}{1}}{\binom{9}{2}}=\frac{8}{36}=\frac{2}{9}$

For second box,

$P(E|B_2)=\frac{\binom{3}{1}\binom{2}{1}}{\binom{7}{2}}=\frac{6}{21}=\frac{2}{7}$

For third box,

$P(E|B_3)=\frac{\binom{4}{1}\binom{3}{1}}{\binom{8}{2}}=\frac{12}{28}=\frac{3}{7}$

Using Bayes theorem,

$P(B_1|E)=\frac{P(B_1)P(E|B_1)}{P(B_1)P(E|B_1)+P(B_2)P(E|B_2)+P(B_3)P(E|B_3)}$

$P(B_1|E)=\frac{\frac{1}{3}\times\frac{2}{9}}{\frac{1}{3}\times\frac{2}{9}+\frac{1}{3}\times\frac{2}{7}+\frac{1}{3}\times\frac{3}{7}}$

$P(B_1|E)=\frac{\frac{2}{9}}{\frac{2}{9}+\frac{2}{7}+\frac{3}{7}}$

$P(B_1|E)=\frac{\frac{2}{9}}{\frac{59}{63}}=\frac{14}{59}=0.237$

Previous 10 Questions — UGC NET Computer Science Sep 2022 (Paper II)

Nearest first

Next 10 Questions — UGC NET Computer Science Sep 2022 (Paper II)

Ascending by ID
1
Consider a memory system having address spaced at a distance of $m$, $T=$ Bank cycle time and $n$ number of banks, then…
Topic: UGC NET Computer Science Sep 2022 (Paper II)
2
For multiprocessor system, interconnection network - cross bar switch is an example of
Topic: UGC NET Computer Science Sep 2022 (Paper II)
3
The representation of $4$ bit code $1101$ into $7$ bit, even parity Hamming code is
Topic: UGC NET Computer Science Sep 2022 (Paper II)
4
The number of gate inputs, required to realize expression $ABC+A\overline{B}CD+E\overline{F}+AD$ is
Topic: UGC NET Computer Science Sep 2022 (Paper II)
5
Consider a logic gate circuit, with 8 input lines $(D_0,D_1,\ldots,D_7)$ and 3 output lines $(A_0,A_1,A_2)$ specified b…
Topic: UGC NET Computer Science Sep 2022 (Paper II)
6
The total storage capacity of a floppy disk having $80$ tracks and storing $128$ bytes / sector is $163,840$ bytes. How…
Topic: UGC NET Computer Science Sep 2022 (Paper II)
7
In a cache memory, if address has $9$ bits in Tag field and $12$ bits in index field, the size of main memory and cache…
Topic: UGC NET Computer Science Sep 2022 (Paper II)
8
Maximize $z=5x_1+12x_2+4x_3$Subject to $x_1+2x_2+x_3=10$$2x_1-x_2+3x_3=8$$x_1,x_2,x_3\ge 0$its dual problem isMinimize …
Topic: UGC NET Computer Science Sep 2022 (Paper II)
9
The logic expression $(\overline{P}\land Q)\lor(P\land \overline{Q})\lor(P\land Q)$ is equivalent to
Topic: UGC NET Computer Science Sep 2022 (Paper II)
10
The reduced grammar equivalent to the grammar, whose production rules are given below, is$S\to AB\mid CA$$B\to BC\mid A…
Topic: UGC NET Computer Science Sep 2022 (Paper II)
Ask Your Question or Put Your Review.

loading...