We know from [B. Mazur, Modular curves and the Eisenstein ideal, Publ. math. IHES 47 (1977), 33-186] that if $C$ is an elliptic curve of the form ($C:y²=x³+ax+b$ with $a,b∈ℤ$), then $C(ℚ)^{tors}$ (the subgroup of elements of finite order in $C(ℚ)$ and $C(ℚ)$ is the Mordell-Weil group) is one of the following $15$ groups:
(a) $ℤ/nℤ$, with $1≤n≤10$ or $n=12$, or
(b) $ℤ/2mℤ× ℤ/2ℤ$, $1≤m≤4$.
Note that each of these groups occurs infinitely often as the torsion subgroup of an elliptic curve over $ℚ$. My question is: .What is the argument (justification) used to dsitinguish the two cases (a) and (b) (given $C/Q$, how do we tell if we are in one case of (a) or one case of (b))?