The correct response is: both mitosis and meiosis.
In the alternation of generations, plants alternate between a diploid sporophyte stage (which undergoes meiosis to produce spores) and a haploid gametophyte stage (which undergoes mitosis to produce gametes).