Earlier quoted context omitted.
This isn’t quite right. When I personally learnt these things in an undergrad program in math in the US, we learnt monoids. Then we learnt semigroups. Then groups. Then abelian groups. Then vector spaces. Then on the midterm we got questions exactly like the one we are debating here - is this guy a vector space, is that guy a semigroup, is that guy abelian etc. At that point, none of us knew what a ring was, what a f…
You learned cosets and Lagrange's theorem before you learned fields? Did you take a course in abstract algebra before you took analysis? If so that seems a little unconventional to me, but I don't see another explanation since fields are taught in analysis.
Typically, students don't start on an algebra track until after a fair amount of analysis, but there is no real reason for that to be the case. Its a shame too since, as someone who prefers algebra myself, I (totally unfairly) blame analysis for giving math a bad image.