The correct option is D S={T,H}
When a coin is tossed, we have 2 possible outcomes as head(H) or tail(T).
The sample space S when a coin is tossed can be represented as:
S={H,T}
As we know that the order doesn't matters while writing a sample space.
We can say that:
S={T,H}
∴S={H,T}={T,H}
Therefore, option (a.) and (d.) are the correct answers.