Skip to content
Tutorials Center
My learning

Topics

Lesson 38 of 40 ยท Projects and Practice

Practice Set: Genetics

Practice DNA base pairing, transcription, translation, Punnett squares, sex-linked crosses and a chi-squared test, with worked answers and code to check your work.

Use this set to practice the genetics chapters: DNA structure, transcription, translation and mutations, monohybrid and dihybrid crosses and sex linkage. Solve on paper first.

Part A: DNA to protein

Problem 1. A DNA template strand reads 3' TACGCCTTTACT 5'. Write the mRNA, then translate it. Codons you need: AUG = Met, CGG = Arg, AAA = Lys, UGA = stop.

Answer. Pair each template base with its RNA partner (Tโ†’A, Aโ†’U, Cโ†’G, Gโ†’C). The template TACGCCTTTACT gives the mRNA 5' AUGCGGAAAUGA 3'. Codons: AUG (Met), CGG (Arg), AAA (Lys), UGA (stop). The peptide is Met-Arg-Lys.

Problem 2. DNA is 28% thymine. What percentages are A, C and G?

A = T = 28%. A + T = 56%, leaving 44%, so C = G = 22%.

Problem 3. A gene has 1,500 base pairs of coding sequence (including the stop codon). How many amino acids are in the protein?

1,500 / 3 = 500 codons, minus the stop codon, so 499 amino acids (counting the start methionine).

Python Check Part A

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Part B: crosses

Problem 4. In pea plants, purple flowers (P) are dominant over white (p). Cross Pp ร— Pp. What fraction of offspring are white?

1/4.

Problem 5. A purple-flowered plant is test crossed with a white plant. Half the offspring are white. What is the genotype of the purple parent?

Pp.

Problem 6. A man with normal vision and a woman who is a carrier of red-green color blindness (X-linked recessive) have children. What is the chance that a son is color blind? What is the chance that a daughter is color blind?

Son: 1/2. Daughter: 0 (she receives her father's normal X), though half the daughters are carriers.

Problem 7. RrYy ร— RrYy. What fraction of offspring are round and green (R_yy)?

P(round) = 3/4 and P(green) = 1/4, so 3/16.

Python Check Part B

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Part C: do the data fit the ratio? The chi-squared test

Suppose you cross Tt ร— Tt pea plants and get 78 tall and 22 dwarf offspring. The expected ratio is 3 : 1, so for 100 plants you expect 75 tall and 25 dwarf. Do the results fit?

The chi-squared statistic is

ฯ‡ยฒ = sum of (observed - expected)ยฒ / expected

Here: (78 - 75)ยฒ/75 + (22 - 25)ยฒ/25 = 0.12 + 0.36 = 0.48.

With two categories there is 2 - 1 = 1 degree of freedom. The critical value at the 5% level for 1 degree of freedom is 3.84. Because 0.48 is smaller than 3.84, the difference could be due to chance, so we do not reject the 3 : 1 ratio. (This does not prove the ratio, only that the data are consistent with it.)

Python Chi-squared test for 3:1

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Part D: think about it

  • Why can a silent mutation have no effect on the protein?
  • Explain why a deletion of one base is usually more harmful than a deletion of three.
  • A colorblind girl's father is color blind. What can you say about her mother?

Hints. The genetic code is redundant. One base shifts the reading frame; three bases remove one codon. The girl is XbXb, so she received an Xb from each parent: her mother is a carrier or color blind herself.

Check your understanding

Quick check ยท 3 questions

of 3 answered You scored / 3 ยท perfect!

  1. 1. A DNA template reads 3' TAC 5'. Which anticodon on tRNA pairs with the resulting codon?

    The template TAC gives mRNA codon AUG. The tRNA anticodon is complementary: UAC.
  2. 2. In a chi-squared test with a p-value of 0.40, what do we conclude?

    A large p-value means the observed difference could easily arise by chance, so the ratio is not rejected.
  3. 3. What fraction of offspring of Aa x aa are aa?

    Half the gametes of Aa carry a, and aa gives only a, so half the offspring are aa.

Summary

  • Always check which DNA strand you are given before transcribing.
  • A coding sequence of n bases codes for n / 3 codons, including the stop.
  • Punnett squares and the product rule give expected ratios; the chi-squared test compares them with real counts.
  • Sex-linked crosses: sons receive their X from the mother.

Next: Project: A Genetics Simulator