is purple kernel dominant or recessive
In corn, purple kernels (P) are dominant to yellow kernels (p). You have a plant with an unknown genotype that has a phenotype of purple kernels. You perform a testcross and find that all of the offspring are purple.