Quote:"Do all plant species have a male and a female form?"
No. In fact many, if not most, naturally occuring flowering plants are bisexual - that is they have male and female parts in the same flower on the same tree. Some of these plant species have special receptors in their stigma (the female receptive part) which won't allow pollen from the same flower or even the same individual to prevent it from self-pollinating. Other plant species time it so that even though they have male parts (filament and anther, collectively called stamen) in the same flower as the female parts (ovary, style and stigma, collectively called carpel) they produce and are receptive to pollen at different times. Other plants find self-pollination acceptable and don't have any barriers towards it. And yes there are plants out there which are dioecious (male and female flowers on different plants) or even monoecious (separate male and female flowers on the same tree).
Quote:"for the varieties of plants that do produce male and female forms, what determines this?"
This is largely genetic.
Quote:"but not all plants produce flowers do they?"
No, only flowering plants (Angiosperms) produce flowers. Conifers (Gymnosperms) reproduce by cones and ferns (Pteridiophytes) and other primitive plants reproduce by spores. For the ferns and other primitive plants reproduction is asexual.