Homework 1

1. A nucleotide symbol is selected at random from a DNA sequence file. If the probability that either a G or C will be selected is 0.2, what is the probability that either an A or a T will be selected? (2)

Ans:
Method 1:
P(A)=P(T),P(G)=P(C),
P(G)=P(C)=0.2,
P(A)=P(T)=(1-0.2×2)=0.3

Method 2:
P(A/T)=1–P(C/G)=1-0.2=0.8

Both are right.

2. If the probability that student A will fail a certain test is 0.4, the probability that student B will fail is 0.2, and the probability that both will fail is 0.1, what is the probability that at least one of the two will fail? What is the probability that exactly one will fail? (2)

Ans:
P(A)=0.4,P(B)=0.2, P(A&B)=0.1
P(at least one)=P(A)+P(B)-P(A&B)=0.4+0.2-0.1=0.5
P(only one)=P(at least one)-P(A&B)=0.5-0.1=0.4

3. Consider the 3rd base position in the high-affinity DNA-binding sites for Protein X. Suppose the numbers of As, Cs, and Gs found in this position are equal, but the number of Ts is twice the number of As (and twice the Cs and twice the number of Gs). If a particular high-affinity binding site for Protein X is selected at random from a list of all such binding sites, what is the probability that it will contain a T in the 3rd position? (2)

Ans:
P(T)=2P(A)=2P(C)=2P(G)
P(T)=0.4

4. Suppose a given DNA vector is 50% AT and 50% GC. If a nucleotide is chosen at random from the vector three times, what is the probability that no G or C will be chosen? (2)

Ans:
P(A or T)=0.5
P=0.5×0.5×0.5=0.125

5. If two fair dice are rolled, what is the probability that the sum of the two numbers that appear will be even? (3)

Ans: 
P(even)=0.5,P(odd)=0.5
P(sum is even)=P(both are odd) + P(both are even)=0.5×0.5+0.5×0.5=0.5

6. Suppose a given amino acid site within a family of proteins can contain any one of six different amino acids, while the adjacent sites can contain any one of four amino acids. How many different combinations of amino acids can members of this protein family have? (4)

Ans:
N=4×6×4=96

7. If six six-sided dice are rolled, what is the probability that each of the six numbers will appear exactly once? (5)

Ans:
P(1)=P(2)=..=P(6)=1/6
P=6!/(6^6)=5/324=0.0154