Following Hardy-Weinberg equilibrium, the allele frequencies of a significantly large population can be computed using the genotype frequencies or vice versa. If we assign the dominant allele frequency as p and the recessive allele frequency as q, it should be established that for a trait with two alleles, p + q = 1.

What is the frequency of the purple allele when in a population of 1000 pea plants that all have purple flowers?

A. 0.75 (or 75%)

B. There's not enough information to calculate

C. 0.1 (or 10%)

D. 0.5 (or 50%)

E. 1.0 (or 100%)