Level 5 — MasteryMendelian Genetics

Mendelian Genetics

75 minutes60 marksprintable — key stays hidden on paper

Time limit: 75 minutes Total marks: 60 Instructions: Answer all questions. Show full reasoning. Use ...... for mathematics. Coding answers may be given in Python (pseudocode acceptable if logically complete).


Question 1 — Cross-domain: Deriving and Proving Ratios (22 marks)

A geneticist studies two independently assorting genes in pea plants:

  • Gene A: purple flowers (A) dominant to white (a)
  • Gene B: tall (B) dominant to short (b)

(a) State Mendel's Law of Independent Assortment and explain the cellular basis (meiosis) that justifies treating the two genes as independent probability events. (4 marks)

(b) Two dihybrid plants (AaBb×AaBbAaBb \times AaBb) are crossed. Using only the product and sum rules (do NOT draw a 16-box Punnett square), derive the probability of obtaining an offspring that is: (i) purple AND tall, (ii) purple AND short, (iii) white AND tall, (iv) white AND short. Show the phenotypic ratio and prove it equals 9:3:3:19:3:3:1. (8 marks)

(c) Prove algebraically that for an AaBb×AaBbAaBb \times AaBb cross, the probability of an offspring being homozygous at both loci (any combination) is 14\tfrac{1}{4}. (4 marks)

(d) A student claims: "In this dihybrid cross, exactly 12\tfrac{1}{2} of the offspring will be heterozygous at at least one locus." Determine whether this claim is true by computing the exact probability. (6 marks)


Question 2 — Coding + Probability: Simulate and Verify (22 marks)

(a) Write a function (Python) punnett_ratio(p1, p2) that takes two parental genotypes for a single gene (each a 2-character string like "Aa"), returns a dictionary mapping each offspring genotype to its fractional probability. (6 marks)

(b) Extend your logic: write pseudocode/function phenotype_ratio that, given a monohybrid cross and knowing the dominant allele is the uppercase letter, returns the phenotype ratio as simplified integers. Demonstrate its output for Aa×AaAa \times Aa. (5 marks)

(c) A test cross is performed between an unknown purple plant and a white (aaaa) plant. In 200200 offspring, 102102 are purple and 9898 are white. Using a χ2\chi^2 goodness-of-fit test against the hypothesis "unknown is AaAa" (expected 1:11:1), compute χ2\chi^2 and state, using the critical value χ0.05,12=3.84\chi^2_{0.05,\,1} = 3.84, whether the data support the AaAa hypothesis. (6 marks)

(d) Explain why a test cross with a homozygous recessive parent lets phenotype ratios directly reveal the genotype of the unknown, whereas a cross with a heterozygote does not. (5 marks)


Question 3 — Pedigree Analysis & Proof (16 marks)

The pedigree below tracks a trait. Squares = males, circles = females, filled = affected.

Generation I:      I-1 (□ unaffected) —— I-2 (○ affected)
                                |
Generation II:  II-1(■ affected) II-2(○ unaffected)—— II-3(□ unaffected)
                                                          |
Generation III:                         III-1(■ affected)  III-2(○ unaffected)

(a) Two unaffected parents (II-2 × II-3) produce an affected son (III-1). Prove that the trait must be recessive, and state the genotypes of II-2 and II-3. (5 marks)

(b) Assuming the trait is autosomal recessive, calculate the probability that III-2 (unaffected) is a carrier (heterozygous). (4 marks)

(c) If III-2's true genotype is unknown and she marries a known carrier (AaAa), use conditional probability (product/sum rules) to calculate the probability their first child is affected. (7 marks)

Answer keyMark scheme & solutions

Question 1

(a) (4 marks)

  • Law of Independent Assortment: Alleles of different genes segregate independently of one another during gamete formation (so the inheritance of one gene does not affect another). (2)
  • Cellular basis: during meiosis I, homologous chromosome pairs align at the metaphase plate in random orientations; genes on different (non-homologous) chromosomes assort independently, making the transmission of alleles at each locus statistically independent — hence the product rule applies. (2)

(b) (8 marks) Each single-gene Aa×AaAa \times Aa cross gives:

  • P(dominant phenotype)=34P(\text{dominant phenotype}) = \tfrac{3}{4}, P(recessive)=14P(\text{recessive}) = \tfrac{1}{4}. (1 for stating both)

By the product rule (independence):

  • (i) purple & tall =34×34=916= \tfrac34 \times \tfrac34 = \tfrac{9}{16} (1)
  • (ii) purple & short =34×14=316= \tfrac34 \times \tfrac14 = \tfrac{3}{16} (1)
  • (iii) white & tall =14×34=316= \tfrac14 \times \tfrac34 = \tfrac{3}{16} (1)
  • (iv) white & short =14×14=116= \tfrac14 \times \tfrac14 = \tfrac{1}{16} (1)

Ratio =916:316:316:116=9:3:3:1= \tfrac{9}{16}:\tfrac{3}{16}:\tfrac{3}{16}:\tfrac{1}{16} = 9:3:3:1. (2 for correct proof) Sum check: 9+3+3+1=169+3+3+1=16 \Rightarrow probabilities sum to 11. (1)

(c) (4 marks) For one locus Aa×AaAa\times Aa: offspring genotypes 14AA,12Aa,14aa\tfrac14 AA, \tfrac12 Aa, \tfrac14 aa. P(homozygous at that locus)=14+14=12P(\text{homozygous at that locus}) = \tfrac14 + \tfrac14 = \tfrac12. (2) By independence, homozygous at both loci =12×12=14= \tfrac12 \times \tfrac12 = \tfrac14. (2)

(d) (6 marks) "Heterozygous at at least one locus" is the complement of "homozygous at both loci."

  • P(homozygous at both)=14P(\text{homozygous at both}) = \tfrac14 (from part c). (2)
  • P(het at ≥1 locus)=114=34P(\text{het at ≥1 locus}) = 1 - \tfrac14 = \tfrac34. (3)
  • The claim of 12\tfrac12 is FALSE; correct value is 34\tfrac34. (1)

Question 2

(a) (6 marks)

from fractions import Fraction
 
def punnett_ratio(p1, p2):
    counts = {}
    for a in p1:
        for b in p2:
            geno = ''.join(sorted([a, b], key=str.lower))
            counts[geno] = counts.get(geno, 0) + 1
    total = sum(counts.values())        # = 4
    return {g: Fraction(c, total) for g, c in counts.items()}
  • Iterate over allele combinations (each parent contributes 1 of 2 gametes → 4 equally likely). (2)
  • Canonicalise genotype ordering (e.g. "aA""Aa"). (2)
  • Return fractions summing to 1. (2) Example: punnett_ratio("Aa","Aa"){'AA':1/4, 'Aa':1/2, 'aa':1/4}.

(b) (5 marks)

from math import gcd
def phenotype_ratio(p1, p2):
    genos = punnett_ratio(p1, p2)        # fractions
    dom, rec = 0, 0
    for g, prob in genos.items():
        if any(ch.isupper() for ch in g):   # at least one dominant allele
            dom += prob
        else:
            rec += prob
    # convert to integer ratio over denom 4
    d, r = int(dom*4), int(rec*4)
    g = gcd(d, r)
    return (d//g, r//g)
  • Classify each genotype: dominant phenotype if any uppercase allele present. (2)
  • Sum probabilities and reduce. (2)
  • Output for Aa×AaAa\times Aa: dominant =34=\tfrac34, recessive=14=\tfrac14 → ratio (3,1)(3,1). (1)

(c) (6 marks) Expected under 1:11:1 for N=200N=200: E=100E=100 purple, 100100 white. (1) χ2=(OE)2E=(102100)2100+(98100)2100=4100+4100=0.08\chi^2 = \sum \frac{(O-E)^2}{E} = \frac{(102-100)^2}{100} + \frac{(98-100)^2}{100} = \frac{4}{100}+\frac{4}{100}=0.08 (3) Since 0.08<3.840.08 < 3.84 (df=1=1), we fail to reject the null. (1) The data are consistent with the unknown being AaAa (test cross ratio 1:11:1). (1)

(d) (5 marks)

  • The recessive parent (aaaa) can only donate a recessive allele, so every offspring's phenotype is determined solely by the allele from the unknown parent. (2)
  • Thus offspring phenotypes are a direct 1:1 map to the unknown's gametes: all-dominant offspring ⇒ unknown is AAAA; a 1:11:1 ratio ⇒ unknown is AaAa. (2)
  • A heterozygous test partner (AaAa) contributes dominant alleles too, masking the recessive contribution — dominant offspring could arise from either parent's dominant allele, so the ratio no longer uniquely reveals the unknown genotype. (1)

Question 3

(a) (5 marks)

  • II-2 and II-3 are both unaffected yet produce affected III-1. (1)
  • If the trait were dominant, at least one parent would have to carry (and thus express) the dominant allele — contradiction, since both are unaffected. (2)
  • Therefore the trait is recessive; the affected child is aaaa, receiving one aa from each parent, so both II-2 and II-3 must carry aa while being unaffected ⇒ genotype AaAa (carriers). (2)

(b) (4 marks) III-2 is unaffected, parents both AaAa. Offspring of Aa×AaAa\times Aa: 14AA:12Aa:14aa\tfrac14 AA:\tfrac12 Aa:\tfrac14 aa. (1) Conditioning on "unaffected" (not aaaa): eligible outcomes AA(14)AA(\tfrac14) and Aa(12)Aa(\tfrac12), total 34\tfrac34. (1) P(Aaunaffected)=1/23/4=23P(Aa\mid \text{unaffected}) = \frac{1/2}{3/4} = \frac{2}{3} (2)

(c) (7 marks) III-2 partner is AaAa. Child affected (aaaa) requires an aa allele from each parent.

  • P(III-2 is Aa)=23P(\text{III-2 is }Aa)=\tfrac23; if AaAa, she passes aa with prob 12\tfrac12. If AAAA (prob 13\tfrac13), she passes aa with prob 00. (2)
  • Partner (AaAa) passes aa with prob 12\tfrac12. (1)
  • P(affected)=P(III-2 passes a)×P(partner passes a)P(\text{affected}) = P(\text{III-2 passes }a)\times P(\text{partner passes }a) =(2312+130)×12=13×12=16= \left(\tfrac23\cdot\tfrac12 + \tfrac13\cdot 0\right)\times \tfrac12 = \tfrac13 \times \tfrac12 = \tfrac{1}{6} (3)
  • Answer: 16\dfrac{1}{6}. (1)
[
  {"claim":"9:3:3:1 dihybrid probabilities sum to 1", "code":"p=[Rational(9,16),Rational(3,16),Rational(3,16),Rational(1,16)]; result = sum(p)==1"},
  {"claim":"P(het at >=1 locus)=3/4 in AaBb x AaBb", "code":"p_hom_both=Rational(1,2)*Rational(1,2); result = 1-p_hom_both==Rational(3,4)"},
  {"claim":"Chi-square for 102:98 vs 100:100 equals 0.08", "code":"chi=Rational((102-100)**2,100)+Rational((98-100)**2,100); result = chi==Rational(8,100)"},
  {"claim":"P(first child affected)=1/6", "code":"p=(Rational(2,3)*Rational(1,2)+Rational(1,3)*0)*Rational(1,2); result = p==Rational(1,6)"},
  {"claim":"P(III-2 carrier | unaffected)=2/3", "code":"result = (Rational(1,2)/Rational(3,4))==Rational(2,3)"}
]